Switching grub to lilo... will this work?
Hi everyone,Will the following work if I issue /sbin/lilo as I am going to switch from grub to lilo for a server I just upgraded remotely from Red Hat Linux 7.3 to 9?
Here is the working /etc/grub.conf file:
Code:
# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/hda3 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Linux (2.4.20-19.9) root (hd0,0) kernel /vmlinuz-2.4.20-19.9 ro root=LABEL=/ initrd /initrd-2.4.20-19.9.img title Red Hat Linux (2.4.20-19.7) root (hd0,0) kernel /vmlinuz-2.4.20-19.7 ro root=/dev/hda3 initrd /initrd-2.4.20-19.7.img title Red Hat Linux (2.4.20-18.7) root (hd0,0) kernel /vmlinuz-2.4.20-18.7 ro root=/dev/hda3 initrd /initrd-2.4.20-18.7.img title Red Hat Linux (2.4.20-13.7) root (hd0,0) kernel /vmlinuz-2.4.20-13.7 ro root=/dev/hda3 initrd /initrd-2.4.20-13.7.img
Code:
prompt timeout=50 default=linux boot=/dev/hda map=/boot/map install=/boot/boot.b message=/boot/message lba32 image=/boot/vmlinuz-2.4.20-19.9 label=2.4.20-19.9 read-only initrd=/boot/initrd-2.4.20-19.9.img append="root=LABEL=/" image=/boot/vmlinuz label=linux read-only root=/dev/hda3 image=/boot/vmlinuz-2.4.20-19.9 label=linux-up root=/dev/hda3 read-only initrd=/boot/initrd-2.4.20-19.9.img
Code:
total 19073 drwxr-xr-x 4 root root 2048 Aug 5 14:20 . drwxr-xr-x 21 root root 4096 Aug 5 14:46 .. -rw-r--r-- 1 root root 5824 Jan 24 2003 boot.b -rw-r--r-- 1 root root 612 Jan 24 2003 chain.b -rw-r--r-- 1 root root 44753 May 12 10:34 config-2.4.20-13.7 -rw-r--r-- 1 root root 44764 May 29 05:56 config-2.4.20-18.7 -rw-r--r-- 1 root root 44753 Jul 15 10:56 config-2.4.20-19.7 -rw-r--r-- 1 root root 44753 Jul 15 14:29 config-2.4.20-19.9 drwxr-xr-x 2 root root 1024 Aug 5 14:23 grub -rw-r--r-- 1 root root 122320 May 17 10:31 initrd-2.4.20-13.7.img -rw-r--r-- 1 root root 123756 Jun 5 12:20 initrd-2.4.20-18.7.img -rw-r--r-- 1 root root 122337 Jul 21 15:01 initrd-2.4.20-19.7.img -rw-r--r-- 1 root root 149744 Aug 5 14:20 initrd-2.4.20-19.9.img -rw-r--r-- 1 root root 473 Jan 15 2003 kernel.h drwx------ 2 root root 12288 Jan 15 2003 lost+found -rw-r--r-- 1 root root 23108 Feb 24 17:51 message -rw-r--r-- 1 root root 21282 Feb 24 17:51 message.ja lrwxrwxrwx 1 root root 23 Aug 5 14:20 module-info -> module-info-2.4.20-19.9 -rw-r--r-- 1 root root 15438 May 12 10:34 module-info-2.4.20-13.7 -rw-r--r-- 1 root root 15438 May 29 05:56 module-info-2.4.20-18.7 -rw-r--r-- 1 root root 15438 Jul 15 10:56 module-info-2.4.20-19.7 -rw-r--r-- 1 root root 15438 Jul 15 14:29 module-info-2.4.20-19.9 -rw-r--r-- 1 root root 640 Jan 24 2003 os2_d.b lrwxrwxrwx 1 root root 22 Aug 5 14:20 System.map -> System.map-2.4.20-19.9 -rw-r--r-- 1 root root 505095 May 12 10:34 System.map-2.4.20-13.7 -rw-r--r-- 1 root root 505327 May 29 05:56 System.map-2.4.20-18.7 -rw-r--r-- 1 root root 505471 Jul 15 10:56 System.map-2.4.20-19.7 -rw-r--r-- 1 root root 522578 Jul 15 14:29 System.map-2.4.20-19.9 -rw-r--r-- 1 root root 2993101 May 12 10:34 vmlinux-2.4.20-13.7 -rw-r--r-- 1 root root 2993373 May 29 05:56 vmlinux-2.4.20-18.7 -rw-r--r-- 1 root root 2989435 Jul 15 10:56 vmlinux-2.4.20-19.7 -rw-r--r-- 1 root root 3212677 Jul 15 14:29 vmlinux-2.4.20-19.9 lrwxrwxrwx 1 root root 19 Aug 5 14:20 vmlinuz -> vmlinuz-2.4.20-19.9 -rw-r--r-- 1 root root 1073021 May 12 10:34 vmlinuz-2.4.20-13.7 -rw-r--r-- 1 root root 1073013 May 29 05:56 vmlinuz-2.4.20-18.7 -rw-r--r-- 1 root root 1073440 Jul 15 10:56 vmlinuz-2.4.20-19.7 -rw-r--r-- 1 root root 1133130 Jul 15 14:29 vmlinuz-2.4.20-19.9
Thanks for anyone who give advice

Kindest regards,
Choon