LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-16-2008, 04:18 PM   #1
linuxlover1
Member
 
Registered: Jun 2003
Location: UK
Posts: 54

Rep: Reputation: 15
Problem with GRUB


Hello to all,

I have an internal hard drive with openSuse 11 installed, and GRUB is the boot loader written on MBR
So, i installed Fedora 9, on my external 500GB HD, and i put fedora's GRUB on the external HD.
Now i want to have the option from the GRUB that is installed on MBR to load Fedora 9 too, not only openSuse but i cant manage to do that.

Also when i change the boot sequence from bios to boot the external HD, Fedora's Grub shows up, but with no options, it shows me only the grub's console.

Here is the Grub.conf for the MBR
Code:
# Modified by YaST2. Last modification on Thu Oct 16 23:42:54 EEST 2008
default 0
timeout 8
gfxmenu (hd0,6)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.0 - 2.6.25.16-0.1 (default)
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.25.16-0.1-default root=/dev/disk/by-id/scsi-SATA_ST3160815AS_9RA4S9EZ-part7 resume=/dev/sda5 splash=silent showopts vga=0x317
    initrd /boot/initrd-2.6.25.16-0.1-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.0 - 2.6.25.16-0.1
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.25.16-0.1-default root=/dev/disk/by-id/scsi-SATA_ST3160815AS_9RA4S9EZ-part7 showopts ide=nodma apm=off acpi=off noresume edd=off x11failsafe vga=0x317
    initrd /boot/initrd-2.6.25.16-0.1-default

###Don't change this comment - YaST2 identifier: Original name: xen###
title Xen -- openSUSE 11.0 - 2.6.25.16-0.1
    root (hd0,6)
    kernel /boot/xen.gz 
    module /boot/vmlinuz-2.6.25.16-0.1-xen root=/dev/disk/by-id/scsi-SATA_ST3160815AS_9RA4S9EZ-part7 resume=/dev/sda5 splash=silent showopts vga=0x317
    module /boot/initrd-2.6.25.16-0.1-xen

###Don't change this comment - YaST2 identifier: Original name: linux-2.6.25.16-0.1-debug###
title Debug -- openSUSE 11.0 - 2.6.25.16-0.1
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.25.16-0.1-debug root=/dev/disk/by-id/scsi-SATA_ST3160815AS_9RA4S9EZ-part7 resume=/dev/sda5 splash=silent showopts vga=0x317
    initrd /boot/initrd-2.6.25.16-0.1-debug

###Don't change this comment - YaST2 identifier: Original name: xen-xen###
title XEN
    root (hd0,6)
    kernel /boot/xen.gz 
    module /boot/vmlinuz-xen root=/dev/disk/by-id/scsi-SATA_ST3160815AS_9RA4S9EZ-part7 resume=/dev/sda5 splash=silent showopts vga=0x317
    module /boot/initrd-xen

## i added this line, but its not working (cant find kernel image)
title Fedora 9 x86
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.25-14.fc9.x86_64 root=/dev/disk/by-id/usb-ST350084_1A_061000032D5D-0:0-part1
    initrd /boot/initrd-2.6.25-14.fc9.x86_64.img
And here is Fedora's grub on External HD
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sdb
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.25-14.fc9.x86_64)
    root (hd0,0)
    kernel /vmlinuz-2.6.25-14.fc9.x86_64 ro root=UUID=8e4c7607-b9c3-4b4f-b9d5-934eeaea5f0e rhgb quiet
    initrd /initrd-2.6.25-14.fc9.x86_64.img
title Other
    rootnoverify (hd1,0)
    chainloader +1
Yast Partitioner gave me this info:
The /boot partition on external HD is /dev/sdc1

Can anyone help me ??
Thanks a lot !!
 
Old 10-16-2008, 06:39 PM   #2
ophirg
Member
 
Registered: Jan 2008
Location: Israel
Distribution: Kubuntu 13.10
Posts: 134

Rep: Reputation: 34
Code:
title Fedora (2.6.25-14.fc9.x86_64)
    root (hd0,0)      <===========================
    kernel /vmlinuz-2.6.25-14.fc9.x86_64 ro root=UUID=8e4c7607-b9c3-4b4f-b9d5-934eeaea5f0e rhgb quiet
    initrd /initrd-2.6.25-14.fc9.x86_64.img
think the problem is here.
root shouldn't be hd0,0. it should be the root partition in the usb drive.
anyways, why edit the grub config file?
you have yast in opensuse. go to "system"->"bool loader"
it's much safer and convenient.
 
Old 10-16-2008, 08:26 PM   #3
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
If you put grub in the Fedora root you will have to chainload it. The one named 'title Other' should boot it. If not it would help if you could use a 'live cd' and give us your fdisk -l. Also the live cd is a great grub repair tool.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 06:40 AM
installing GRUB 2, grub-install problem r00tb33r Linux - Software 1 02-26-2007 09:42 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:41 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