Gentoo Archives: gentoo-user

From: Jake Moe <jakesaddress@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Booting Gentoo from USB stick
Date: Fri, 10 Sep 2010 05:09:49
Message-Id: 4C89BD8B.4020306@gmail.com
1 Hello all,
2
3 I've been thinking about creating a Gentoo USB stick for install and
4 rescue purposes (and, of course, just to see if I could). I've mostly
5 followed the Gentoo handbook (I used a single 4GB partition for the
6 whole system, and no swap). I've used genkernel for the kernel (so I
7 can have a multi-system capable kernel). I've gotten GRUB installed and
8 working. My problem comes in after what I believe is the init process:
9
10
11 Gentoo Linux; http://www.gentoo.org
12 Copyright 1999-2009 Gentoo Foundation; Distributed under the GPLv2
13
14 Press I to enter interactive boot mode
15
16 * Mounting proc at /proc
17 ... [ ok ]
18 * Mounting sysfs at /sys
19 ... [ ok ]
20 * Mounting /dev
21 ... [ ok ]
22 * Starting udevd
23 ... [ ok ]
24 * Populating /dev with existing devices through uevents
25 ... [ ok ]
26 * Waiting for uevents to be processed
27 ... [ ok ]
28 * Mounting devpts at /dev/pts
29 ... [ ok ]
30 * Checking root filesystem ...
31 fsck.ext2: No such file or directory while trying to open /dev/sda1
32 /dev/sda1:
33 The superblock could not be read or does not describe a correct ext2
34 filesystem. If the device is valid and it really contains an ext2
35 filesystem (and not swap or ufs or something else), then the superblock
36 is corrupt, and you might try running e2fsck with an alternate superblock:
37 e2fsck -b 8193 <device>
38
39 * Filesystem couldn't be fixed
40 :( [ !! ]
41 Give root password for maintenance
42 (or type Control-D to continue):
43
44
45 If I give the root password, I can find no /dev/sda1. However, mount
46 shows /dev/sda1 on /, and there *is* a /sys/block/sda folders, with a
47 sda1 folder in that as well. It's almost like it had /dev/sda1, but
48 then lost it somehow.
49
50 Does anyone have any idea what's going on here? Any help would be
51 appreciated.
52
53 Jake Moe

Replies

Subject Author
Re: [gentoo-user] Booting Gentoo from USB stick Maciej Grela <maciej.grela@×××××.com>
Re: [gentoo-user] Booting Gentoo from USB stick Al <oss.elmar@××××××××××.com>