On Wed, Sep 04, 2002 at 12:36:01AM +1000, Russell wrote: > Hi, > > How do you stop make-kpkg deleting the 2nd last kernel? > I want lilo to show a list of more than two entries to > boot from. When you run make-kpkg, you could add the "--append-to-version=-xxx" option to give /lib/modules/2.x.x-xxx a unique name. manually make symlink in / to point to kernel, e.g., /vmlinuz-2.4.18-k6: symbolic link to boot/vmlinuz-2.4.18-k6 put entries for each kernel you want in your list in /etc/lilo.conf like: image=/vmlinuz-2.4.18-k6 label=2.4.18-k6 read-only initrd=/boot/initrd.img-2.4.18-k6 #if you need initrd append="devfs=mount hdc=ide-scsi" #whatever you need image=/vmlinuz-2.4.17-xu label=2.4.17-xu read-only append="devfs=mount hdc=ide-scsi" #whatever you need -- Jerome
Attachment:
pgpas1OEtuLIa.pgp
Description: PGP signature