LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-26-2006, 12:59 PM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Rep: Reputation: 52
Very strange boot event in FC5


Hi everybody,

A couple of days ago, I posted a thread because I could boot FC5 because I had the wrong boot commands in GRUB. Well, I finally got the system to boot, but it simply boots into my existing FC4 installation, which is i386, using the x86_64 kernel from FC5. You can imagine what a disaster that is! I cannot figure out how in the world it is able to boot FC4 when it is on a completely different drive and FC5 is on its own partition as a new install. The setup is this:

FC4 - sdb1 (hd1), occupies the entire dirve.

FC5 - sda4 (hd0,3) with sda2 (slackware), sda1 (WinXP), and sda3 (Linux swap)

The grub entry for FC4 is:

title Fedora Core (2.6.14-1.1656_FC4
root (hd1,0)
kernel /boot/vmlinuz-2.6.14-1.1656_FC4 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.14-1.1656_FC4.img

The entry for FC5 is:

title Fedora Core 5 (2.6.15.1)
root (hd0,3)
kernel /bootvmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5.img

As you can see, they are not even on the same drive. I used a dedicated partition for FC5 and the installation went well. I did not install a new bootloader or upgrade my existing GRUB config and simply added the above to boot FC5.

Does anyone have a clue what could be going on? If possible, could someone share with me what their GRUB config file shows for booting FC5 x86_64?

Many thanks for any help received,

Bob
 
Old 03-26-2006, 01:07 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
you have root=LABEL=/ there twice. The point of using Ext2 partition labels is that you tag an indentification string to a partition, so that you do not need to care about where that partition is, so moving the drives around it will still find the right device. As such these labels must be unique (do you see where i'm heading... ) and in this case yours are not. So in each case it is picking the right option, picking the right kernel, but choosing the same root filesystem. either use the actual block device references there, or, using a rescue mode boot or something, change the label for the partitions, infact you would probably do best to change both of them, rather than just one, to get full clarity of what label is for what.

Last edited by acid_kewpie; 03-26-2006 at 01:08 PM.
 
Old 03-26-2006, 01:11 PM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Original Poster
Rep: Reputation: 52
Thank you acid kewpie, that makes perfectly good sense. If I were to change to root=LABEL=/dev/sda4, am I on the right track?

Thanks again,

Bob
 
Old 03-26-2006, 01:17 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
no, just root=/dev/sda1 the LABEL= implies that the system needs to search all parititions for the right label. you can see the lines in more sense in /etc/fstab, and x=y=z just looks dumb and confusing.
 
Old 03-26-2006, 01:34 PM   #5
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Original Poster
Rep: Reputation: 52
Thank you again, acid kewkie. Followed your suggestion and immediately booted into FC5. A great learning experience for me. I have more than just the ability to boot into FC5.

Thanks again,

Bob
 
Old 03-26-2006, 01:36 PM   #6
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Original Poster
Rep: Reputation: 52
BTW, my apologies for misspelling your user name.

Thanks

Bob
 
Old 03-26-2006, 02:10 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
You dare misspell my name? How dare you... may many sad things fall upon your door, including birds pecking the lids off of your milk bottles to get the cream, even though that hasn't happened for years and years it seems, just like white dog poo. fear me!

[Hey... i'm in Coventry... what else is there to do??]
 
Old 03-26-2006, 02:46 PM   #8
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Original Poster
Rep: Reputation: 52
I know Coventry, lived in Sutton Coldfield when I first moved to the UK. Live on the south coast now, near S-oton. A little adjustment for a south Alabama country boy, but it was a good move.

Thanks again for your help. You certainly seem to have all down pretty pat.

Bob
 
  


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
Boot failure after upgrading FC5 TR3 to FC5 Official Release fsb1284 Fedora 3 03-25-2006 09:12 AM
I can boot after upgrade from fc4 to fc5 yumener Fedora 2 03-24-2006 09:28 AM
FC5-test3 --> FC5-release - Anyone tried it? GL1800 Fedora 5 03-22-2006 04:16 PM
Boot failure, No volume groups found (FC5) carrerasg Fedora - Installation 0 02-22-2006 01:44 PM
VERY strange C# event handling problem, please read. jwn7 Programming 2 10-20-2005 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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