On Sat, Jan 17, 2004 at 05:02:58PM -0800, Dennis Kaplan wrote: > > On Saturday 17 January 2004 03:42 pm, Kevin Mark wrote: > > On Sat, Jan 17, 2004 at 12:39:34PM -0800, Dennis Kaplan wrote: > > > Hello everybody, > > > > > > Sorry for using caps I did it to disdingush between the code > > > > > > THIS IS WHAT MY LILO LOOKS RIGHT NOW. > > > > > > boot=/dev/hdb > > > vga=791 > > > timeout=50 > > > append = "hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi > > > hdg=scsi hdh=scsi apm=power-off nomce" > > > > > > prompt > > > delay = 50 > > > root=/dev/hdb1 > > > > > > image=/boot/vmlinuz-2.4.22-xfs > > > label=Linux.org > > > read-only > > > initrd=/boot/initrd.gz > > > > > > > > System.map -> System.map-2.4.22-xfs > > > System.map-2.4.22-xfs > > > System.map-2.6.0-1-686 > > > boot.0340 > > > config-2.4.22-xfs > > > config-2.6.0-1-686 > > > debian.bmp -> /usr/share/lilo/contrib/debian.bmp > > > debianlilo.bmp -> /usr/share/lilo/contrib/debianlilo.bmp > > > initrd.gz > > > initrd.img-2.6.0-1-686 > > > map > > > sarge.bmp -> /usr/share/lilo/contrib/sarge.bmp > > > sid.bmp -> /usr/share/lilo/contrib/sid.bmp > > > vmlinuz -> vmlinuz-2.4.22-xfs > > > vmlinuz-2.4.22-xfs > > > vmlinuz-2.6.0-1-686 > > > > > > > > > Could someone please explain this to me? > > > You been keep saying that you need to see my lilo.conf. What you see above is > all I have in my lilo.conf. > Yes you are right I have a Knoppix install but I am not using the xfs file > system. > What is the difference between a initrd.img and a initrd.gz. > > Most importend, how do I fix this to be compatible with the Debian standard. > Hi Dennis, I guess I got a little dazed there. Here is mine:
debian:~# ls -l /vmlinuz lrwxrwxrwx 1 root root 28 2003-10-29 19:34 /vmlinuz -> boot/vmlinuz-2.4.21-5-586tsc debian:~# ls -l /vmlinuz.old lrwxrwxrwx 1 root root 27 2003-10-09 05:46 /vmlinuz.old -> /boot/vmlinuz-2.4.20.030801 debian:~# ls -l /initrd.img lrwxrwxrwx 1 root root 31 2003-10-29 19:34 /initrd.img -> boot/initrd.img-2.4.21-5-586tsc ----- /vmlinuz points to my current kernel, ----- /vmlinuz.old point to the last one ----- /initrd.img point to the current kernel's inird ----- the old one does have an initd -- so no /initrd.img.old debian:~# cat /etc/lilo.conf boot=/dev/hda root=/dev/hda1 compact # To use the new LILO boot menu, add the following bitmap=/usr/share/lilo/contrib/sid.bmp bmp-colors=1,,0,2,,0 bmp-table=120p,173p,1,15,17 bmp-timer=254p,432p,1,0,0 install=/boot/boot-bmp.b map=/boot/map timeout=150 vga=normal delay=20 default=Linux append="devfs=off hdd=ide-scsi ignore=hdd idebus=66" image=/vmlinuz initrd=/boot/initrd.img-2.4.21-5-586tsc label = Linux image=/vmlinuz.old label = Linux.old read-only debian:~# ls -l /boot/ total 11879 -rw-r--r-- 1 root root 512 2003-07-12 19:06 boot.0200 -rw-r--r-- 1 root root 512 2003-06-22 20:36 boot.0300 -rw-r--r-- 1 root root 512 2003-07-13 15:18 boot.0301 -rw-r--r-- 1 root root 512 2003-07-25 15:24 boot.0340 -rw-r--r-- 1 root root 512 2003-07-25 15:18 boot.0800 lrwxrwxrwx 1 root root 11 2003-06-22 20:34 boot.b -> boot-menu.b -rw-r--r-- 1 root root 25950 2003-08-01 18:50 config-2.4.20.030801 -rw-r--r-- 1 root root 41729 2003-08-24 00:17 config-2.4.21-5-586tsc lrwxrwxrwx 1 root root 34 2003-12-24 05:23 debian.bmp -> /usr/share/lilo/contrib/debian.bmp lrwxrwxrwx 1 root root 38 2003-12-24 05:23 debianlilo.bmp -> /usr/share/lilo/contrib/debianlilo.bmp -rw-r--r-- 1 root root 3375104 2003-10-29 19:32 initrd.img-2.4.21-5-586tsc -rw------- 1 root root 42496 2003-12-30 15:40 map lrwxrwxrwx 1 root root 33 2003-12-24 05:23 sarge.bmp -> /usr/share/lilo/contrib/sarge.bmp lrwxrwxrwx 1 root root 31 2003-12-24 05:23 sid.bmp -> /usr/share/lilo/contrib/sid.bmp -rw-r--r-- 1 root root 564401 2003-08-01 21:55 System.map-2.4.20.030801 -rw-r--r-- 1 root root 463680 2003-08-24 20:17 System.map-2.4.21-5-586tsc lrwxrwxrwx 1 root root 8 2004-01-03 15:24 vmlinuz -> /vmlinuz -rw-r--r-- 1 root root 1227425 2003-08-01 21:55 vmlinuz-2.4.20.030801 -rw-r--r-- 1 root root 722497 2003-08-24 20:17 vmlinuz-2.4.21-5-586tsc ---------------------------------------------------------------------------- if the lilo.conf points to the right file, it will work. in this case, /vmlinuz is the debian standard IIRC. but if you edit lilo to point to /this/is/my/vmlinuz and that is where your kernel is, it will also work. I think I may have edited my lilo to suite my needs and may have made it non-statndard. As for initrd.img and initrd.gz, I assume that initrd.gz is simply a gzip'ed version. I assume if you specify the gz version, it will be ungziped. BUT always make sure the OLD kernel stanza works OR make a boot disk before updating kernels, so as to avoid utter disaster. x-) man mkboot HTH -Kev
signature.asc
Description: Digital signature