I've got an 80 GB hard drive that I've had SUSE 9.1 installed on all by its lonesome. I decided to install the new Mandrake 10.1 beta on the drive as well and now can't login to SUSE any longer. During the Mandrake install, I said not to install a bootloader but it not only installed LILO but in the MBR as well, overwriting SUSE's grub. OK, no problem. I'll just add an entry for SUSE in Mandrake's lilo.conf, boot back into SUSE, and reinstall SUSE's grub back to the MBR. No go. I get a : "Kernel panic: VFS : Unable to mount root fs on hda1" error. This is my /etc/lilo.conf: default="linux" boot=/dev/hda map=/boot/map keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hda8 initrd=/boot/initrd.img append="devfs=mount acpi=ht resume=/dev/hda7 splash=silent" vga=788 read-only image=/boot/vmlinuz label="linux-nonfb" root=/dev/hda8 initrd=/boot/initrd.img append="devfs=mount acpi=ht resume=/dev/hda7" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hda8 initrd=/boot/initrd.img append="failsafe acpi=ht resume=/dev/hda7 devfs=nomount" read-only image=/mnt/SUSE/boot/vmlinuz label=SUSE root=/dev/hda1 read-only image=/mnt/Fedora/boot/vmlinuz-2.6.7-1.478 label=FedoraCore3 root=/dev/hda3 read-only I can boot into Fedora using the above, but not SUSE. I had previously had to full /mnt/SUSE/boot/vmlinuz-2.6.5-25cvs20040728163444-default path there as well with the same result. This is my /etc/fstab file showing the mount points I created: /dev/hda8 / reiserfs notail 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda9 /home reiserfs notail 1 2 /dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0 /dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0 none /proc proc defaults 0 0 /dev/hda7 swap swap defaults 0 0 /dev/hda1 /mnt/SUSE reiserfs defaults 1 2 /dev/hda3 /mnt/Fedora ext3 defaults 1 2 /dev/hda4 /mnt/mepis reiserfs defaults 1 2 Can someone help me out with this? Thanks.
Trey Sizemore wrote:
I've got an 80 GB hard drive that I've had SUSE 9.1 installed on all by its lonesome. I decided to install the new Mandrake 10.1 beta on the drive as well and now can't login to SUSE any longer. During the Mandrake install, I said not to install a bootloader but it not only installed LILO but in the MBR as well, overwriting SUSE's grub.
OK, no problem. I'll just add an entry for SUSE in Mandrake's lilo.conf, boot back into SUSE, and reinstall SUSE's grub back to the MBR. No go.
I get a : "Kernel panic: VFS : Unable to mount root fs on hda1" error.
This is my /etc/lilo.conf:
<snip> Do you have the original initrd.img from when SuSE *did* boot? If so, I'd suggest putting that in your SUSE section of lilo.conf. Just a thought. hth, Ken
On Tue, 2004-08-10 at 10:43 -0700, Ken Hughes wrote: <snip>
Do you have the original initrd.img from when SuSE *did* boot? If so, I'd suggest putting that in your SUSE section of lilo.conf. Just a thought.
hth,
Ken
So you mean /mnt/SUSE/boot/initrd-2.6.5-25cvs20040728163444-default? If so, what is the syntax for this in lilo.conf? init=/mnt/SUSE/boot/initrd-2.6.5-25cvs20040728163444-default? Thanks.
Trey Sizemore wrote:
So you mean /mnt/SUSE/boot/initrd-2.6.5-25cvs20040728163444-default? If so, what is the syntax for this in lilo.conf? init=/mnt/SUSE/boot/initrd-2.6.5-25cvs20040728163444-default?
Thanks.
SuSE usually creates a symlink of /boot/initrd to the default one, but if not I'd change your posted lilo.conf to show the following: image=/mnt/SUSE/boot/vmlinuz label=SUSE root=/dev/hda1 initrd=/mnt/SUSE/boot/initrd-2.6.5-25cvs20040728163444-default read-only run lilo and reboot. Ken
On Tue, 10 Aug 2004 12:13:24 -0700, "Ken Hughes"
SuSE usually creates a symlink of /boot/initrd to the default one, but if not I'd change your posted lilo.conf to show the following:
image=/mnt/SUSE/boot/vmlinuz label=SUSE root=/dev/hda1 initrd=/mnt/SUSE/boot/initrd-2.6.5-25cvs20040728163444-default read-only
run lilo and reboot.
Ken
That did it. Thanks, Ken. -- Trey Sizemore trey@fastmail.fm
participants (2)
-
Ken Hughes
-
Trey Sizemore