Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    4

    [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.

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    Have you tried LABEL or UUID ?

  3. #3
    Just Joined!
    Join Date
    Mar 2008
    Posts
    4
    No, I didn't know you could do that.
    That looks like it will work perfectly

    Thanks a lot.


  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •