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 1Ou0TS-0007CB-VQ for garchives@archives.gentoo.org; Fri, 10 Sep 2010 10:04:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9AE83E0778 for ; Fri, 10 Sep 2010 10:04:50 +0000 (UTC) Received: from smtpq3.tb.mail.iss.as9143.net (smtpq3.tb.mail.iss.as9143.net [212.54.42.166]) by pigeon.gentoo.org (Postfix) with ESMTP id 00345E05AF for ; Fri, 10 Sep 2010 09:05:15 +0000 (UTC) Received: from [212.54.42.136] (helo=smtp5.tb.mail.iss.as9143.net) by smtpq3.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OtzXn-0000Bu-At for gentoo-user@lists.gentoo.org; Fri, 10 Sep 2010 11:05:15 +0200 Received: from 53532a97.cable.casema.nl ([83.83.42.151] helo=data.antarean.org) by smtp5.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OtzXm-0000sF-Q8 for gentoo-user@lists.gentoo.org; Fri, 10 Sep 2010 11:05:14 +0200 Received: from localhost (localhost [127.0.0.1]) by data.antarean.org (Postfix) with ESMTP id 633B29BC for ; Fri, 10 Sep 2010 11:06:02 +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 6UXRM97k5etP for ; Fri, 10 Sep 2010 11:06:02 +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 D3A6F71A for ; Fri, 10 Sep 2010 11:06:01 +0200 (CEST) From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Booting Gentoo from USB stick Date: Fri, 10 Sep 2010 11:05:12 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.30-gentoo-r5; KDE/4.4.5; x86_64; ; ) References: <4C89BD8B.4020306@gmail.com> <4C89EFB2.3080903@gmail.com> In-Reply-To: <4C89EFB2.3080903@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: <201009101105.13162.joost@antarean.org> X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1OtzXm-0000sF-Q8 X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=-0.031, vereist 5, BAYES_40 -0.18, TW_EV 0.08, TW_VP 0.08) X-ZiggoSMTP-MailScanner-From: joost@antarean.org X-Spam-Status: No X-Archives-Salt: a461ab14-9548-4f47-9551-3e83a6390894 X-Archives-Hash: 6660e6553e4ab5352200ebcf5ce2d7ac On Friday 10 September 2010 10:43:30 Jake Moe wrote: > On 10/09/2010 5:27 PM, Maciej Grela wrote: > > 2010/9/10 Jake Moe: > >> Hello all, > >> > >> I've been thinking about creating a Gentoo USB stick for install and > >> rescue purposes (and, of course, just to see if I could). I've mostly > >> followed the Gentoo handbook (I used a single 4GB partition for the > >> whole system, and no swap). I've used genkernel for the kernel (so I > >> can have a multi-system capable kernel). I've gotten GRUB installed > >> and working. My problem comes in after what I believe is the init > >> process: > >> > >> > >> Gentoo Linux; http://www.gentoo.org > >> > >> Copyright 1999-2009 Gentoo Foundation; Distributed under the GPLv2 > >> > >> Press I to enter interactive boot mode > >> > >> * Mounting proc at /proc ... > >> [ > >> > >> ok ] > >> > >> * Mounting sysfs at /sys ... > >> [ > >> > >> ok ] > >> > >> * Mounting /dev ... > >> [ > >> > >> ok ] > >> > >> * Starting udevd ... > >> [ > >> > >> ok ] > >> > >> * Populating /dev with existing devices through uevents ... > >> [ > >> > >> ok ] > >> > >> * Waiting for uevents to be processed ... > >> [ > >> > >> ok ] > >> > >> * Mounting devpts at /dev/pts ... > >> [ > >> > >> ok ] > >> > >> * Checking root filesystem ... > >> > >> fsck.ext2: No such file or directory while trying to open /dev/sda1 > >> /dev/sda1: > >> The superblock could not be read or does not describe a correct ext2 > >> filesystem. If the device is valid and it really contains an ext2 > >> filesystem (and not swap or ufs or something else), then the superblock > >> > >> is corrupt, and you might try running e2fsck with an alternate superblock: > >> e2fsck -b 8193 > >> > >> * Filesystem couldn't be fixed :( > >> [ > >> > >> !! ] > >> Give root password for maintenance > >> (or type Control-D to continue): > >> > >> > >> If I give the root password, I can find no /dev/sda1. However, mount > >> shows /dev/sda1 on /, and there *is* a /sys/block/sda folders, with a > >> sda1 folder in that as well. It's almost like it had /dev/sda1, but > >> then lost it somehow. > >> > >> Does anyone have any idea what's going on here? Any help would be > >> appreciated. > > > > Have you seen http://www.sysresccd.org/Main_Page ? It's based on > > Gentoo, you could check what they did to boot from a usb stick. > > > > Br, > > Maciej Grela > > Excellent, thanks for that, I hadn't found it in my previous searches. > I'll have a look there. > > Jake Moe Had a similar issue a while ago when I was playing around with this myself. Take a look at the linux boot parameters. The 'theoretical' part is: You need to let the kernel initialize the USB-stick before trying to access it. (This can take some time) There is a delay-option, just can't remember the proper name off-hand. -- Joost