On Sat, 14 Jul 2007 13:28:00 +0100, Mike Williams wrote:

> On Friday 13 July 2007 20:19:33 Hendrik Boom wrote:
>> A few months ago I tried installing gentoo.  It mostly succeedes, but I
>> was unable to boot the new system.
>>
>> When I boot, it fails as follows:
>> >> Activating mdev
>> >> Determining root device
>>
>> !! Block device /dev/mapper/lovesong-gentoo is not a valid block device
>> !! The root block device is unspecified or not detected
>> Please specify a device to boot, or "shell" for a shell
>> boot() ::
> 
> Have you looked at:
> http://gentoo-wiki.com/HOWTO_Install_Gentoo_on_an_LVM2_root_partition
> ?
> 
> In all the noise, and seemingly outdated info, I picked out the use of 
> the "proper" LVM path (/dev/VG/LV), and the dolvm2 kernel option.

Very interesting.  It gets further with the dolvm2 pernel option (I
specified udev first for good measure, as indicated in the howto, and it
got further.  However, it still fails to handle
/dev/mapper/lovesong-gentoo properly.  fsck complains about it, and I get
to type "shell" for a shell.  There I find that
/dev/mapper/lovesong-mapper does not exost (as testified by ls), but that
it is nonetheless mounted on / (as testified by mount).

This suggests that (a) it was mounted, and (b) something else was mounted
over the path to /dev/mapper/lovesong-mapper afterward.  So something is
clearly finding /dev/lovesong/mapper, and then making it inaccessible.

By the way, I didn't find a /dev/VG/ directory either.

Here's a hand-transcribed screen dump extract:

Let's explore the strangeness.

Finaluizizing udev configuration ...                [ok]
Mounting devpts at /dev/pts ...                [ok]
Checking root filesystem ...
fsck.ext3: No such file or directory while trying to open
/dev/mapper/lovesong-gentoo
/dev/mapper/lovesong-gentoo:
The superblock could not he rad 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 <device>

 * Filesystem couldn't be fixed :(               [ !! ]
Give root password for maintenance
(or type Control-D to continue):
(none) ~ # ls /dev/mapper/
control
(none) ~ #l mount
/dev/mapper/lovesong-gentoo on / type ext2 (rw,noatime)
/dev/hda6 on /boot type ext2 (rw,noatime)
(none) ~ # ls /
bin   dev  fooo  lib    mnt  proc  root  sys  tmp  var
boot etc home lost+found opt realboot sbin tboot usr
(none) ~ # ls /dev/mapper/lovesong-gentoo
ls: cannot access /dev/mapper/lovesong-gentoo: No such file or directory
(none) ~ # 

-- hendrik

>
> --
> Mike Williams

-- 
[EMAIL PROTECTED] mailing list

Reply via email to