Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Gentoo Linux Help
Reload this Page [SOLVED] declaring hard drives on live usb
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Gentoo Linux Help For help and discussion related to Gentoo Linux

Closed Thread
 
Thread Tools Display Modes
Old 03-27-2008   #1 (permalink)
TorianIronfist
Just Joined!
 
Join Date: Mar 2008
Posts: 2
[SOLVED] declaring hard drives on live usb

I have been trying to create I live version of gentoo which I can run off an external Hard Drive. I have been reasonably succesful using genkernel being able to account for different hardware. Unfortunatly, I have been unable to come up with a way to declare the drive and root fs without running into problems. The hard drive is declared differently in /dev depending on which machine I plug it into, sometimes sda sometimes sdb sometimes hda etc.. Therefore I do not know what to enter into the fstab so that gentoo knows where to boot it from each time. As it stands when I boot, i get an error from grub saying it can't find root, but gives me a prompt to enter its location. After that gentoo loads fine until it gets to the section where it checks the root filesystem for errors. Then it checks the fstab and if what I had entered is different from the entry on this machine it gives me an error and reboots.

If anyone has any ideas how I could fix this or even a way to enter it upon booting that would be amazing.
TorianIronfist is offline  
Old 03-27-2008   #2 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,280
Have you tried LABEL or UUID ?
Jonathan183 is offline  
Old 03-27-2008   #3 (permalink)
TorianIronfist
Just Joined!
 
Join Date: Mar 2008
Posts: 2
No, I didn't know you could do that.
That looks like it will work perfectly

Thanks a lot.

TorianIronfist is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 07:35 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0