From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OyJZs-0007lu-JR for garchives@archives.gentoo.org; Wed, 22 Sep 2010 07:17:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12862E0A61; Wed, 22 Sep 2010 07:16:48 +0000 (UTC) Received: from smtpq3.gn.mail.iss.as9143.net (smtpq3.gn.mail.iss.as9143.net [212.54.34.166]) by pigeon.gentoo.org (Postfix) with ESMTP id C50BBE0A61 for ; Wed, 22 Sep 2010 07:16:47 +0000 (UTC) Received: from [212.54.34.135] (helo=smtp4.gn.mail.iss.as9143.net) by smtpq3.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OyJZP-0006sk-D9 for gentoo-user@lists.gentoo.org; Wed, 22 Sep 2010 09:16:47 +0200 Received: from 53532a97.cable.casema.nl ([83.83.42.151] helo=data.antarean.org) by smtp4.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OyJZO-0008Qh-TW for gentoo-user@lists.gentoo.org; Wed, 22 Sep 2010 09:16:46 +0200 Received: from localhost (localhost [127.0.0.1]) by data.antarean.org (Postfix) with ESMTP id B33C39B5 for ; Wed, 22 Sep 2010 09:18:22 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from data.antarean.org ([127.0.0.1]) by localhost (data.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZLsgounwmAZe for ; Wed, 22 Sep 2010 09:18:22 +0200 (CEST) Received: from eve.localnet (eve.lan.antarean.org [10.20.13.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPS id 4FCF440 for ; Wed, 22 Sep 2010 09:18:22 +0200 (CEST) From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Booting Gentoo from USB stick Date: Wed, 22 Sep 2010 09:16:45 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.30-gentoo-r5; KDE/4.4.5; x86_64; ; ) References: <4C89BD8B.4020306@gmail.com> <201009210926.35850.joost@antarean.org> <4C9987E2.60709@gmail.com> In-Reply-To: <4C9987E2.60709@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201009220916.45517.joost@antarean.org> X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1OyJZO-0008Qh-TW X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=0.001, vereist 5, autolearn=not spam, BAYES_50 0.00) X-ZiggoSMTP-MailScanner-From: joost@antarean.org X-Spam-Status: No X-Archives-Salt: 705ba207-0684-45c0-9b93-d9ffc6f2760c X-Archives-Hash: 6e9acf18c95eb779e24a3d010efe954a On Wednesday 22 September 2010 06:36:50 Jake Moe wrote: > 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