LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub dual boot (https://www.linuxquestions.org/questions/linux-newbie-8/grub-dual-boot-145583/)

aikempshall 02-13-2004 04:49 AM

Grub dual boot
 
My machine looks like this - a bit of a mess I know.

/dev/hde1 Windows 95
/dev/hde2 Linux swap (set up for Redhat 9)
/dev/hde3 /home (for Redhat 9)

/dev/hda1 Mandrake 9.2 (includes /home /boot )

/dev/hdc1 /boot (for Redhat 9)
/dev/hdc2 / (for Redhat 9)

I have grub installed controlled by menu.lst from Mandrake see below. With it I can boot into Mandrake and Windows. When I try Redhat Grub almost immediately displays the line -

kernel (hd2,0)/boot/vmlinuz-2.4.20-28.9 root=/dev/hdc2 devfs=mount acpi=ht resume=/dev/hda5 splash=silent vga=788

then Error 15: File not found.

I can't see what file it's not found. I can boot into Redhat with a floppy boot disk. Can anyone help? Thanks

The contents of menu.lst

timeout 10
color black/cyan yellow/cyan
i18n (hd1,0)/boot/grub/messages
keytable (hd1,0)/boot/uk.klt
altconfigfile (hd1,0)/boot/grub/menu.once
default 0

title mandrake
kernel (hd1,0)/boot/vmlinuz root=/dev/hda1 devfs=mount acpi=ht resume=/dev/hda5 splash=silent vga=788
initrd (hd1,0)/boot/initrd.img

title linux-nonfb
kernel (hd1,0)/boot/vmlinuz root=/dev/hda1 devfs=mount acpi=ht resume=/dev/hda5
initrd (hd1,0)/boot/initrd.img

title failsafe
kernel (hd1,0)/boot/vmlinuz root=/dev/hda1 failsafe devfs=nomount acpi=ht resume=/dev/hda5
initrd (hd1,0)/boot/initrd.img

title redhat
kernel (hd2,0)/boot/vmlinuz-2.4.20-28.9 root=/dev/hdc2 devfs=mount acpi=ht resume=/dev/hda5 splash=silent vga=788
initrd (hd2,0)/boot/initrd-2.4.20-28.9.img

title windows
root (hd0,0)
chainloader +1

title floppy
root (fd0)
chainloader +1

b0uncer 02-13-2004 04:53 AM

well...as a first step, check out that every file that's listed in RedHat's section actually is where Grub tries to search :) if some of them is missing, that's the problem....vmlinuz, initrd and the splash image (silent) should be found in order to boot normally :) so load up Mandrake or something and do a search.

aikempshall 02-13-2004 05:21 AM

Thanks for the quick response. The problem was with the line

kernel (hd2,0)/boot/vmlinuz-2.4.20-28.9 root=/dev/hdc2 devfs=mount acpi=ht resume=/dev/hda5 splash=silent vga=788
was that it should have been

kernel (hd2,0)/vmlinuz-2.4.20-28.9 root=/dev/hdc2 devfs=mount acpi=ht resume=/dev/hda5 splash=silent vga=788

as boot is in it's own partition (hd2,0) it shouldn't include /boot in its path.

Similarly with next line.

Thanks for your help


All times are GMT -5. The time now is 09:53 PM.