Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-23-2009, 02:12 PM   #1
Registered: Mar 2008
Posts: 52

Rep: Reputation: 15
root=UUID or root=LABEL not working

I am having trouble booting from the kernel on my hd to load linux from my usb hd. I have installed everything and it works using the internal hd kernel booting from grub passing the root=/dev/sdb6 to the kernel.

I want to pass something other than /dev/sdb6 so that if I plug in another drive it still boots the correct one. I have tries root=UUID=<my uuid numbers...> and root=LABEL=MYLABEL and root=/dev/disk/by-uuid/<my uuid...> and root=/dev/disk/by-label/<MYLABEL...> all don't work.
is there something in the kernel that needs to be configured so it works. Or maybe in initramfs etc..

Old 02-23-2009, 03:43 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I'd go with the initramfs-idea. You'll need to build an initial ramdisk that
has usb and scsi drivers present (just a wild guess).

Old 02-23-2009, 04:01 PM   #3
Registered: Nov 2003
Distribution: slackware 14
Posts: 542

Rep: Reputation: 33
Try quoting the argument to root=

Last edited by urka58; 02-23-2009 at 04:02 PM.
Old 02-23-2009, 06:41 PM   #4
Registered: Mar 2008
Posts: 52

Original Poster
Rep: Reputation: 15
also does not work.
Old 02-23-2009, 07:37 PM   #5
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,100

Rep: Reputation: 2253Reputation: 2253Reputation: 2253Reputation: 2253Reputation: 2253Reputation: 2253Reputation: 2253Reputation: 2253Reputation: 2253Reputation: 2253Reputation: 2253
The initramfs must contain logic to resolve the UUID and/or label to a device node prior to the pivot_root


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
kernel root=LABEL handling Maze the Kid Linux - General 4 08-27-2009 03:31 PM
mkinitrd and root=LABEL not working slackuser46 Slackware 61 12-08-2008 03:35 AM
root=UUID= parameter in GRUB? kushalkoolwal Ubuntu 4 05-18-2008 01:52 AM
Grub.conf = how to change to root=LABEL=\ Eileen Fedora 6 05-18-2006 02:31 PM
compile 2.6.7 kernel and root=LABEL=/ not work? robert.china Fedora 3 07-06-2004 05:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:28 AM.

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