LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-07-2004, 02:57 PM   #1
degraffenried13
Member
 
Registered: Sep 2003
Posts: 228

Rep: Reputation: 30
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?
 
Old 12-07-2004, 03:44 PM   #2
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
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
 
Old 12-07-2004, 04:58 PM   #3
degraffenried13
Member
 
Registered: Sep 2003
Posts: 228

Original Poster
Rep: Reputation: 30
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?
 
Old 12-08-2004, 09:14 AM   #4
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

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

Regards,

Samsara
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dual boot grub problems with redhat sfzombie13 Linux - General 5 07-17-2005 10:55 PM
Problems with GRUB on XP/FC2 dual-boot Ziklen Linux - Newbie 27 08-26-2004 12:40 AM
Fedora 2 & GRUB Dual Boot Problems with XP Farmer-Senship Linux - Newbie 1 08-21-2004 12:26 AM
winXP / FC 2.4 GRUB Dual boot problems again jjisnow Linux - Newbie 4 03-23-2004 09:30 AM
Problems booting with GRUB on RH 7.3/ Win XP Dual Boot pasta4u2 Linux - Newbie 8 10-07-2002 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration