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 1Oty24-0003jQ-Fc for garchives@archives.gentoo.org; Fri, 10 Sep 2010 07:28:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DE7BE0768; Fri, 10 Sep 2010 07:27:26 +0000 (UTC) Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com [209.85.216.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 60647E0768 for ; Fri, 10 Sep 2010 07:27:26 +0000 (UTC) Received: by qwe5 with SMTP id 5so1320694qwe.40 for ; Fri, 10 Sep 2010 00:27:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ABl2c+n/pQ02FZ01LsMPdYwMzSPV+fm0ZCg81rR9bp8=; b=usXgC3vNoAQQeosP5QdTlJdyOC5NT4zkqRnar4KTLQRiRoD9PP6Z3kCvEllQ58z4V8 KQTbhM5MNlriCvphnCe5MXUbt90MO6P/P3d+LlDMGM22O8tJbdKVEZwhFWRc8syG1WwI hSJ5nAUAHeAlRH0EHTEVSxr4UgOZc9JmC4/Fs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=upMsp4BclCCEvSXsLXzYGjKmHSDWs459mD5gkmIKuOdvlTwec2SdKeSWJRUCV/imwI 2letxPdeuf+UxRCZtWHd5Ak2QmbPn6kblIBDPX8YqMda84l13UTTA2pgU6POqpLkGWBN Dp0sRhjhcU6i1b4lnePV0w+fmluKreKa0SyMM= 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 Received: by 10.224.88.70 with SMTP id z6mr111610qal.23.1284103645896; Fri, 10 Sep 2010 00:27:25 -0700 (PDT) Received: by 10.229.251.66 with HTTP; Fri, 10 Sep 2010 00:27:25 -0700 (PDT) In-Reply-To: <4C89BD8B.4020306@gmail.com> References: <4C89BD8B.4020306@gmail.com> Date: Fri, 10 Sep 2010 09:27:25 +0200 Message-ID: Subject: Re: [gentoo-user] Booting Gentoo from USB stick From: Maciej Grela To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 47438ea6-243d-4e4f-ac69-71beb2c429ff X-Archives-Hash: 824e5a3b8ea72979426638c55885e7f8 2010/9/10 Jake Moe : > =C2=A0Hello all, > > I've been thinking about creating a Gentoo USB stick for install and resc= ue > purposes (and, of course, just to see if I could). =C2=A0I've mostly foll= owed the > Gentoo handbook (I used a single 4GB partition for the whole system, and = no > swap). =C2=A0I've used genkernel for the kernel (so I can have a multi-sy= stem > capable kernel). =C2=A0I've gotten GRUB installed and working. =C2=A0My p= roblem comes > in after what I believe is the init process: > > > Gentoo Linux; http://www.gentoo.org > =C2=A0Copyright 1999-2009 Gentoo Foundation; Distributed under the GPLv2 > > Press I to enter interactive boot mode > > =C2=A0* Mounting proc at /proc ... =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [ > ok ] > =C2=A0* Mounting sysfs at /sys ... =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [ > ok ] > =C2=A0* Mounting /dev ... =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[ > ok ] > =C2=A0* Starting udevd ... =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [ > ok ] > =C2=A0* Populating /dev with existing devices through uevents ... =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[ > ok ] > =C2=A0* Waiting for uevents to be processed ... =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0[ > ok ] > =C2=A0* Mounting devpts at /dev/pts ... =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[ > ok ] > =C2=A0* 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. =C2=A0If 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= : > =C2=A0 =C2=A0e2fsck -b 8193 > > =C2=A0* Filesystem couldn't be fixed :( =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[ > !! ] > Give root password for maintenance > (or type Control-D to continue): > > > If I give the root password, I can find no /dev/sda1. =C2=A0However, moun= t shows > /dev/sda1 on /, and there *is* a /sys/block/sda folders, with a sda1 fold= er > in that as well. =C2=A0It's almost like it had /dev/sda1, but then lost i= t > somehow. > > Does anyone have any idea what's going on here? =C2=A0Any 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