You are not logged in.

#1 2011-12-23 20:44:15

diederick76
Member
Registered: 2010-02-14
Posts: 169

Unable to determine major/minor number of root device -- revisited

I have the same error message when I boot my machine, but what is described here doesn't help me. When I boot the machine from its hard disk, it complains about being unable to determine major/minor number of root device '/dev/mapper/VolGroup00-lvolroot'. The recovery shell's sh can't access tty, so job control is turned of and I get a ramfs prompt that won't let me type anything in.

All this started after I followed the instructions on the Arch home page telling me to do a

# pacman -S filesystem --force

I only have one volume group: VolGroup00. I contains 3 volumes, lvolroot (contains my system's /root), lvolhome and lvolswap. Everything is on just one hard drive.

Steps I've taken, after reading this thread:
I booted my machine using the Arch CD-ROM. Then I did:

# modprobe dm-mod
# vgchange -ay

Just to check if the root partition had problems:

# fsck.ext4 /dev/VolGroup00/lvolroot
e2fsck 1.41.11 (14-Mar-2010)
/dev/VolGroup00/lvolroot: clean, 250787/2097152 files, 6164545/8388608 blocks (check in 2 mounts)

Chroot into the root partition, upgrade and reinstall kernel:

# mount -t ext4 /dev/VolGroup00/lvolroot /mnt
# mount -o bind /dev /mnt/dev
# mount -o bind /proc /mnt/proc
# chroot /mnt/ /bin/bash
# /etc/rc.d/network start
# pacman -Syu
# pacman -Sf linux

The last statement went through all the hooks, including lvm2, without problems. Still, the problem persists and I can't boot. I also tried removing the autodetect hook and rebuilding the image using mkinitcpio -p linux, but that didn't help either.

Can someone please tell me what I'm missing here?

Last edited by diederick76 (2011-12-23 20:59:50)

Offline

#2 2011-12-23 22:21:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Unable to determine major/minor number of root device -- revisited

I split this from the original thread.  With the update to filesystem, I think we are dealing with a new problem.
See https://bbs.archlinux.org/viewtopic.php … 0#p1031870


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2011-12-24 17:44:13

diederick76
Member
Registered: 2010-02-14
Posts: 169

Re: Unable to determine major/minor number of root device -- revisited

Using

# dmsetup info

I found that the major/minor numbers of my root device are 254, 0. Is there a way to tell the lvm2 hook that those are in fact the numbers it is looking for?

Thanks for any help!

Offline

Board footer

Powered by FluxBB