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