LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Grub dual boot problems (https://www.linuxquestions.org/questions/linux-general-1/grub-dual-boot-problems-263725/)

degraffenried13 12-07-2004 02:57 PM

Grub dual boot problems
 
I managed to get everything installed and it looks like I didn't erase anything, which is good, but now I am having boot loader troubles. My previous instillation was RedHat 9, and I just installed Suse 9.1. I am using the grub boot loader, which resides in the /boot/grub on the suse's partitions. I couldn't get them both to share the same root for some reason. I may re-install and try that later. But anyway, here is my menu.1st file:

# Modified by YaST2. Last modification on Tue Dec 7 02:13:11 2004


color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,4)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Suse
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 vga=0x314 splash=silent desktop resume=/dev/hda3 showopts
initrd (hd0,4)/boot/initrd

##RedHat##
title RedHat
kernel (hd0,0)/vmlinux-2.4.20-8 root=/dev/hda1 hdc=ide=scsi
##ro root=LABEL=/ hdc=ide=scsi
initrd (hd0,0)/initrd-2.4.20-8.img

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
root (fd0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3
initrd (hd0,4)/boot/initrd

As you can see the first loader menu is the Suse, which works fine. The second is my writing for Redhat. I get the error (Error 13: not an executable). I have mounted and looked at /vmlin** on my /dev/hda1, and it is there.

Any suggestions?

Samsara 12-07-2004 03:44 PM

Re: Grub dual boot problems
 
Quote:

Originally posted by degraffenried13
##RedHat##
title RedHat
kernel (hd0,0)/vmlinux-2.4.20-8 root=/dev/hda1 hdc=ide=scsi

kernel (hd0,0)/vmlinuz-2.4.20-8 root=/dev/hda1 hdc=ide=scsi

degraffenried13 12-07-2004 04:58 PM

That seemed to fix it, just a syntax error, but now I get:

kernel panic: no init found
try passing init= option to kernel

When I look at my files, I see the initrd-kernelVersion.img, but no initrd file. Is this the problem? Did it somehow get deleted when installing Suse?

If so how can I create this file. If not how can I rescue this?

Samsara 12-08-2004 09:14 AM

Boot into SUSE, mount the RedHat partition, and copy the needed /boot/grub/menu.lst aka grub.conf entry from RedHat. Simple.

Regards,

Samsara


All times are GMT -5. The time now is 05:36 PM.