public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Booting Gentoo from USB stick
Date: Wed, 22 Sep 2010 09:16:45 +0200	[thread overview]
Message-ID: <201009220916.45517.joost@antarean.org> (raw)
In-Reply-To: <4C9987E2.60709@gmail.com>

On Wednesday 22 September 2010 06:36:50 Jake Moe wrote:

<snipped>

> Well, now that I've managed to get it booting, the only problem is that
> I can't seem to get the disk label working right.  In GRUB's menu.lst,
> if I use root=LABEL=UsbRoot, it doesn't work (kernel panic, label not
> found, but sda1 is listed as available), but if I use root=/dev/sda1, it
> works.  However, later in the boot process, it mounts / using
> LABEL=UsbRoot in fstab just fine.  Is that a problem with GRUB?  Or the
> kernel?  Or am I doing something else wrong?

I think someone mentioned earlier in this thread that "label" support for boot 
requires an initrd (ramdisk) to work. This could be what you're running into?

> And for future reference, while looking into various things for this, I
> found these in the Gentoo Wiki:
> USB Portable Install - http://en.gentoo-wiki.com/wiki/USB_Portable_Install
> Portable USB Gentoo - http://en.gentoo-wiki.com/wiki/Portable_USB_Gentoo
>
> Unfortunately, both use genkernel instead of manually configured
> kernels, so that part doesn't help, but one mentions the option
> "scandelay=2" to add to the kernel boot line in GRUB to introduce the
> delay genkernel needed to see the USB device; would have been good to
> know that last week when I was trying genkernel.  :-P

That is something I noticed for a few Howto's, genkernel is used quite often, 
but I actually haven't seen the need for it myself yet.

But I am glad to hear you managed to get it working.
Did you try trimming down your kernel a bit more to see what the minimum 
required is? :)

--
Joost



  parent reply	other threads:[~2010-09-22  7:17 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10  5:09 [gentoo-user] Booting Gentoo from USB stick Jake Moe
2010-09-10  7:27 ` Maciej Grela
2010-09-10  8:43   ` Jake Moe
2010-09-10  9:05     ` J. Roeleveld
2010-09-10 11:29       ` David Relson
2010-09-14 18:28         ` YoYo Siska
2010-09-14 22:34           ` Jake Moe
2010-09-15 10:10             ` YoYo Siska
2010-09-15 22:03               ` Jake Moe
2010-09-15 22:18                 ` Al
2010-09-15 22:43                   ` Jake Moe
2010-09-15 23:04                     ` Al
2010-09-16  0:21                       ` Jake Moe
2010-09-16 11:08                         ` Al
2010-09-15 22:26                 ` Dale
2010-09-15 22:34                   ` Jake Moe
2010-09-16  6:22                     ` J. Roeleveld
2010-09-16 10:01                       ` Jake Moe
2010-09-16 11:30                         ` J. Roeleveld
2010-09-21  5:35                           ` Jake Moe
2010-09-21  7:26                             ` J. Roeleveld
2010-09-22  4:36                               ` Jake Moe
2010-09-22  7:02                                 ` Al
2010-09-22  8:57                                   ` Jake Moe
2010-09-22  7:16                                 ` J. Roeleveld [this message]
2010-09-22  9:13                                   ` Jake Moe
2010-09-22 11:23                                     ` J. Roeleveld
2010-09-10 10:51 ` Al

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=201009220916.45517.joost@antarean.org \
    --to=joost@antarean.org \
    --cc=gentoo-user@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