reid_geo
Group: Members
Posts: 20
Joined: Sep. 2004 |
|
Posted: Oct. 31 2004,06:25 |
|
Quote (AwPhuch @ Oct. 31 2004,00:16) | Quote (reid_geo @ Oct. 30 2004,21:11) | So what finally worked was to use some of the lilo.conf.anaconda entries from the Fedora2 installation, AND add a line to fstab that mounts the Fedora boot partition. Lilo.conf entries needed to be modified to account for the location of the Fedora boot images (/mnt/fedora/vmlinuz-2.6.8....)
Thanks to all for the suggestions. I would still would rather use GRUB... |
I agree...I wonder if you could install grub and get it to work?
So what did your lilo.conf finally look like?
Brian AwPhuch |
Here is the whole mess - first /etc/fstab, then the relevant parts of lilo.conf.
My method was to mount the Fedora2 Core partition via the command line as well as /etc/fstab, and then use those partitions in lilo.conf to define a new OS/kernel section.
I was then able to successfully run lilo to update the boot loader conffiguration.
/dev/hda /dev/hda1 Fedora /boot /dev/hda2 Fedora / /dev/hda3 swap /dev/hda4 DSL 0.83
# /etc/fstab: filesystem table. # # filesystem mountpoint type options dump pass /dev/hda4 / ext2 defaults,errors=remount-ro 0 1 proc /proc proc defaults 0 0 /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0 # partitions found by dsl #/dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0 #/dev/hda2 /mnt/hda2 ext3 noauto,users,exec 0 0 #/dev/hda4 /mnt/hda4 ext2 noauto,users,exec 0 0 /dev/hda1 /mnt/fedora ext2 defaults,errors=remount-ro 0 1 # Added by KNOPPIX /dev/hda2 /mnt/hda2 ext3 noauto,users,exec 0 0 # Added by KNOPPIX /dev/hda3 none swap defaults 0 0
********************************************************** #lilo.conf
default=Linux
image=/boot/linux24 label=Linux read-only # restricted # alias=1
image=/vmlinuz.old label=LinuxOLD read-only optional # restricted # alias=2
image=/mnt/fedora/vmlinuz-2.6.8-1.521 root=/dev/hda1 label=Fedora2 initrd=/mnt/fedora/initrd-2.6.8-1.521.img read-only append="rhgb root=LABEL=/"
|