Unix Technical Forum

Gentoo on USB-HDD

This is a discussion on Gentoo on USB-HDD within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hello, I'm trying to install Gentoo on my USB HDD. I did the installation process as if the USB ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 11:06 AM
Timo Johansson
 
Posts: n/a
Default Gentoo on USB-HDD

Hello,

I'm trying to install Gentoo on my USB HDD.

I did the installation process as if the USB HDD was an normal Harddisk.

My USB-HDD is /dev/sda.
I mounted /dev/sda5 as / and installed LILO to /dev/sda.

When booting the first time from my USB-HDD, the startup process
interrupts with an error message "Unable to mount root-FS".
The settings in /etc/lilo.conf are definitely correct.

The problem seems to be, that at the point in the startup-procedure when
the Kernel (?) tries to find the root partition, the USB-HDD-partition
/dev/sda5 is not accessible yet?!

Did I miss to include anything into the kernel? (UHCI is already is
included) Did I miss anything else?

BTW: Sorry, english is not my native language... ;-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 11:06 AM
Sybren Stuvel
 
Posts: n/a
Default Re: Gentoo on USB-HDD

Timo Johansson enlightened us with:
> Did I miss to include anything into the kernel? (UHCI is already is
> included) Did I miss anything else?


Perhaps you missed usb-storage and SCSI disk support?

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 11:06 AM
Timo Johansson
 
Posts: n/a
Default Re: Gentoo on USB-HDD

Hi Sybren, thanks for your reply!

Sybren Stuvel schrieb:
> Timo Johansson enlightened us with:
>
>>Did I miss to include anything into the kernel? (UHCI is already is
>>included) Did I miss anything else?

>
>
> Perhaps you missed usb-storage and SCSI disk support?


No, these are included...!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 11:06 AM
Lee Miller
 
Posts: n/a
Default Re: Gentoo on USB-HDD

On Fri, 17 Jun 2005 17:33:28 +0200, Timo Johansson wrote:

> Hello,
>
> I'm trying to install Gentoo on my USB HDD.
>
> I did the installation process as if the USB HDD was an normal Harddisk.
>
> My USB-HDD is /dev/sda.
> I mounted /dev/sda5 as / and installed LILO to /dev/sda.
>
> When booting the first time from my USB-HDD, the startup process
> interrupts with an error message "Unable to mount root-FS".
> The settings in /etc/lilo.conf are definitely correct.
>
> The problem seems to be, that at the point in the startup-procedure when
> the Kernel (?) tries to find the root partition, the USB-HDD-partition
> /dev/sda5 is not accessible yet?!
>
> Did I miss to include anything into the kernel? (UHCI is already is
> included) Did I miss anything else?
>
> BTW: Sorry, english is not my native language... ;-)


From what I've seen in setting up my USB-HDD the drive is not available
until after the coldplug service is started. I'm not sure if this is due
to the way I have my kernel configured or if it normal behavior on all
systems. I ran into other issues having my drive connected at boot time
(my mp3 player requires multiple LUNs but if my Seagate USB-HDD is
powered on at boot time it shows up with multiple LUNs and performance is
severely degraded) so I just use auto-fs and keep system partitions on my
IDE drive and data only on my USB-HDD.

I know it's not much help, but thought it might give you some place to
start looking.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 11:06 AM
Dieter Verfaillie
 
Posts: n/a
Default Re: Gentoo on USB-HDD

On Fri, 17 Jun 2005 17:33:28 +0200, Timo Johansson wrote:

> Hello,
>
> I'm trying to install Gentoo on my USB HDD.


There's a howto here: http://www.simonf.com/usb/.
There are no specific instructions for gentoo but for FC3,
FC4, debian, etc). I havn't tried it, though it's on my TODO list.

hope it helps,
Dieter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 11:06 AM
Jack Miller
 
Posts: n/a
Default Re: Gentoo on USB-HDD

Timo Johansson wrote:

> Hi Sybren, thanks for your reply!
>
> Sybren Stuvel schrieb:
>> Timo Johansson enlightened us with:
>>
>>>Did I miss to include anything into the kernel? (UHCI is already is
>>>included) Did I miss anything else?

>>
>>
>> Perhaps you missed usb-storage and SCSI disk support?

>
> No, these are included...!


Have you tried building an initrd with those drivers in it, just in case?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 11:06 AM
Jerry McBride
 
Posts: n/a
Default Re: Gentoo on USB-HDD

Timo Johansson wrote:

> Hi Sybren, thanks for your reply!
>
> Sybren Stuvel schrieb:
>> Timo Johansson enlightened us with:
>>
>>>Did I miss to include anything into the kernel? (UHCI is already is
>>>included) Did I miss anything else?

>>
>>
>> Perhaps you missed usb-storage and SCSI disk support?

>
> No, these are included...!


"Included" as in compiled into the kernel and not modules?

--

************************************************** ****************************
Registered Linux User Number 185956
FSF Associate Member number 2340 since 05/20/2004
Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
9:08pm up 8 days, 5:41, 1 user, load average: 0.05, 0.06, 0.00
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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 On
Pingbacks are On
Refbacks are On
Forum Jump


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


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com