LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-02-2008, 05:37 PM   #1
pppaaarrrkkk
Member
 
Registered: Jun 2005
Location: Aylesbury UK
Distribution: Red Hat enterprise linux 6
Posts: 101

Rep: Reputation: 15
GRUB no boot for Fedora 9


I have the in my menu.lst. The first is for Fedora 6 which boots okay. The second I added myself for Fedora 9 and it doesn't work. There is an error saying that the file does not exist. I know that /boot/vmlinuz and /boot/initrd are correct, so I think I must have made a mistake with root=/dev/hda8. Any suggestions please ?


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda7.
title Fedora Core (2.6.18-1.2798.fc6) (on /dev/hda7)
root (hd0,6)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-1.2798.fc6.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda8.
title Fedora 9
root (hd0,7)
kernel /boot/vmlinuz-2.6.25-14.fc9.x86_64 root=/dev/hda8
initrd /boot/initrd-2.6.25-14.fc9.x86_64.img
savedefault
boot
 
Old 07-02-2008, 05:46 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Are you certain that the F9 entries are correct? If you are, it may be similar to an issue I had with F9 that there seems to be something in the way the installer formats the ext3 partition that older grubs seem to have a problem with.

What I would suggest is that you install grub on /dev/hda8, and chainload that grub installation, so something like

from FC6,

Code:
# mount /dev/hda8 /mnt
# grub-install --root-directory=/mnt /dev/hda8
In grub.lst

Code:
title Fedora 9
    rootnoverify (hd0,7)
    chainloader +1
    boot
LikeI said, make sure your current setup looks OK before you try this (although to be honest, I've decided this is a better way to go for my multiboot systems since grub gets updated on each partition when a new kernel gets installed)

Last edited by billymayday; 07-02-2008 at 05:47 PM.
 
Old 07-02-2008, 05:50 PM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Indeed the filenames are correct. Has /boot its own partition? If so, you have to strip out the leading /boot from the path. Also try to specify root by its UUID (this is the default on Fedora 9). Look at /etc/fstab and see the UUID of the / partition, then substitute root=/dev/hda8 with
Code:
root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
putting the proper number. For example an entry on Fedora 9 x86_64 looks like:
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=6f85d91d-0afe-4d5f-98b0-7902a233e12d rhgb quiet
        initrd /initrd-2.6.25-14.fc9.x86_64.img
 
Old 07-02-2008, 05:55 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I assume that there should be a correct grub entry you could just pick up in /boot/grub/menu.lst on /dev/hda8
 
Old 07-05-2008, 06:24 PM   #5
pppaaarrrkkk
Member
 
Registered: Jun 2005
Location: Aylesbury UK
Distribution: Red Hat enterprise linux 6
Posts: 101

Original Poster
Rep: Reputation: 15
Thanks for replies.

I played about a bit, and happened to put :

ro root=/dev/sda8


instead of :

roo=/dev/hda8

I think maybe it's just that Fedora 9 uses ./sda instead of ./hda

So far it's worked (although only booted once).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
GRUB, Fedora, and First Boot... halfbrazilian Fedora 2 09-19-2007 07:05 AM
Grub Issue /Fedora / Can still boot neozero62 Linux - General 5 08-03-2007 06:50 PM
grub doesn't boot fedora 7 creon Linux - Newbie 19 06-10-2007 03:35 PM
Unable To Boot To Fedora When Grub Installed in /boot Partition FedoraNewbie Linux - Newbie 4 09-26-2006 04:46 AM
Fedora 3 Won't Boot with GRUB Rick Zollner Red Hat 6 12-13-2004 11:59 AM


All times are GMT -5. The time now is 12:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration