public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jason <gentoo@lakedaemon.net>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] boot Gentoo from USB key
Date: Wed, 30 Apr 2008 08:35:47 -0400	[thread overview]
Message-ID: <481867A3.3070904@lakedaemon.net> (raw)
In-Reply-To: <1209537833.6170.62.camel@ws2912.agr.st.com>

Raffaele BELARDI wrote:
...
> The kernel starts to load, but panics because it is unable to find the
> root partition. When it stops it shows the available partitions, these
> include all the hard disk partitions but no USB key partition. In fact,
> if I omit the 'root' parameter from the grub shell the boot works fine
> but it uses the hard disk root partition instead of the USB one.

You may want to look at specifying root by it's UUID.  This will prevent 
issues like the USB drive being /dev/sdg on one machine, /dev/sdb on 
another, and on reboot it all changing because the drives were detected 
in a different order.

>>From the log on the screen the USB controller seems correctly detected,
> so I don't understand why it is not finding the root. While writing this
> one idea comes to my mind, maybe it is failing because I attach the key
> to a SDC/MMC/USB card reader? This evening I'll try to plug it into a
> different USB slot.

In the past, instead of 'rootdelay=', I add a wait to the init script, eg:

while [ ! -e /dev/disk/by-uuid/1234-abcd-45gf-0659 ]
do
	sleep 0.1
done


hth,

Jason.
-- 
gentoo-amd64@lists.gentoo.org mailing list



  parent reply	other threads:[~2008-04-30 12:35 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30  6:43 [gentoo-amd64] boot Gentoo from USB key Raffaele BELARDI
2008-04-30  6:49 ` Kyle Liddell
2008-04-30  6:56 ` Branko Badrljica
2008-04-30  7:44   ` Raffaele BELARDI
2008-05-05  8:40     ` Raffaele BELARDI
2008-04-30 10:47 ` [gentoo-amd64] " Duncan
2008-04-30 12:35 ` Jason [this message]
2008-04-30 14:29   ` [gentoo-amd64] " Branko Badrljica
2008-04-30 14:47     ` Jason
2008-04-30 15:05       ` Branko Badrljica
2008-04-30 15:40         ` Jason
2008-04-30 15:55           ` Branko Badrljica
2008-05-05  8:53           ` Raffaele BELARDI
2008-04-30 17:39 ` Hernan Lopez
2008-04-30 17:58   ` Branko Badrljica
2008-05-01  7:26     ` Branko Badrljica
2008-04-30 18:03 ` Drake Donahue
2008-04-30 18:21   ` Drake Donahue
2008-05-02 11:22 ` [gentoo-amd64] " Duncan
2008-05-02 15:33   ` Drake Donahue
2008-05-05  8:38     ` Raffaele BELARDI
2008-05-06 13:18       ` Raffaele BELARDI
2008-05-06 17:08         ` Duncan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=481867A3.3070904@lakedaemon.net \
    --to=gentoo@lakedaemon.net \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox