You are not logged in.
Pages: 1
Topic closed
Hello,
When I try to boot, I get the following:
:: Loading Initramfs
:: Starting udevd...
done.
Waiting 10 seconds for device /dev/mapper/lvpool-d2 ...
ERROR: Unable to determine major/minor number of root device '/dev/mapper/lvpool-d2'
Here is what the Arch section of my menu.lst looks like (mostly stolen from working Fedora install):
title Arch Linux (201005)
root (hd0,0)
kernel /vmlinuz26 ro root=/dev/mapper/lvpool-d2 rd_LUKS_UUID=luks-e6156b20-4e02-45e7-ae88-f46e8288b83e rd_LVM_LV=lvpool/d2 rd_LVM_LV=lvpool/swap rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /kernel26.img
UUID is /dev/sda3, which is encrypted and contains logical volum group 'lvpool'. When booting Fedora, after prompting for my password it proceeds to mount root, swap, /home, etc. and boots up.
Any clue what's wrong?
Thanks,
01011010
Last edited by .:B:. (2010-10-15 22:56:34)
Offline
Each OS has it's own main partition with /boot(you can seperate them, though), I don't think you can have two on one partition.
To "add" Arch to your GRUB, you need to edit your /boot/grub/menu.lst in the fedora partition, I guess. You can see all your partitions of a disk, by doing
# fdisk -l /dev/sd?, where /dev/sd? is your hard drive. (It could be /dev/hda or /dev/sdb as well)
UPDATE: I saw your update, and I don't know much about booting with LVM and/or with encryption. ![]()
Last edited by sie (2010-10-15 17:15:24)
a & ☭
Offline
I copied the files from Arch's /boot to Fedora's /boot, and added those lines above (changed the d1 to d2 for Arch root) to Fedora's menu.lst, resulting in that error.
Do I need to do anything to Arch's /boot directory or menu.lst? Is GRUB supposed to prompt for password automatically?
Also, Fedora's /boot appears to be linked to my boot partition, dev/sda1. Should Arch's /boot be linked similarly?
Thanks,
01011010
Last edited by 01011010 (2010-10-15 20:18:27)
Offline
Does /dev/mapper/lvpool-d2 even exist on your system?
Seriously:
# fdisk -lOffline
Does /dev/mapper/lvpool-d2 even exist on your system?
Lvpool-d2 is a logical volume group. Here is what I get for fdisking /d2 though:
# fdisk -l /dev/lvpool/d2
Disk /dev/lvpool/d2: xxxx MB, xxxx bytes
...etc, etc...
Disk identifier: 0x00000000Disk /dev/lvpool/d2 doesn't contain a valid partition table
# fdisk -l produces /dev/dm-0 through 5, along with the usual /dev/sda1 through 3. I can, however, mount /dev/lvpool/d2 and browse Arch's files just fine.
sda1 = /boot
sda2 = win7
sda3 = dm-crypt (containing logical group 'lvpool')
Lvpool contains all of my logical volumes (Arch's and Fedora's /, swap, /home, etc.).
Thanks,
01011010
Last edited by 01011010 (2010-10-15 21:25:42)
Offline
Okay
Let's see...
* Make sure you have "USELVM" set to "yes" in /etc/rc.conf
* Make sure you have "lvm2" inside of the HOOKS array in /etc/mkinitcpio.conf. If it is not present, add it and run:
# mkinitcpio -p kernel26Offline
Okay
Let's see...
* Make sure you have "USELVM" set to "yes" in /etc/rc.conf
* Make sure you have "lvm2" inside of the HOOKS array in /etc/mkinitcpio.conf. If it is not present, add it and run:# mkinitcpio -p kernel26
Changes made. Unfortunately, GRUB isn't even asking for my password, so Arch's volume (which contains those files) is yet to be read.
After selecting Fedora from the GRUB menu, a fancy Fedora themed screen (http://blog.lynxworks.eu/http://blog.ly … 00x167.png) appears with a pw box in the middle, prompting for password entry. Upon trying to boot Arch though, I get sent straight to the aforementioned error and dropped to recovery shell.
Thanks,
01011010
Last edited by 01011010 (2010-10-15 22:22:47)
Offline
itsbrad212 wrote:Okay
Let's see...
* Make sure you have "USELVM" set to "yes" in /etc/rc.conf
* Make sure you have "lvm2" inside of the HOOKS array in /etc/mkinitcpio.conf. If it is not present, add it and run:# mkinitcpio -p kernel26Changes made. Unfortunately, GRUB isn't even asking for my password, so Arch's volume (which contains those files) is yet to be read.
After selecting Fedora from the GRUB menu, a fancy Fedora themed screen (http://blog.lynxworks.eu/http://blog.ly … 00x167.png) appears with a pw box in the middle, prompting for password entry. Upon trying to boot Arch though, I get sent straight to the aforementioned error and dropped to recovery shell.
Thanks,
01011010
Try removing "autodetect" from the HOOKS array and rebuilding it again with the mkinitcpio command above.
Offline
I can't run mkinitcpio from Fedora; I get a "command not found". Is there another way to go about this?
Thanks,
01011010
Offline
I can't run mkinitcpio from Fedora; I get a "command not found". Is there another way to go about this?
Thanks,
01011010
Boot into fedora, mount the disk at some location (for this I'll use /mnt/arch/). Then do the following:
# chroot /mnt/arch /bin/bash (or whatever shell you use on Arch)Offline
There is a bug in 2.6.35 that can yield this type of error (I ran into it myself). If you can manage to chroot into your Arch installation, then run a pacman update, reboot, and all should be well.
I took out the 'GRUB:' from your topic title. This has nothing to do with GRUB, as you can see from the output you pasted yourself - the kernel gets booted, so you're way past the bootloader. It only adds confusion.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Boot into fedora, mount the disk at some location (for this I'll use /mnt/arch/). Then do the following:
# chroot /mnt/arch /bin/bash (or whatever shell you use on Arch)
Here's what I'm getting after following your instructions for mkinitcpio and copying the files over to Fedora's /boot:
:: Loading Initramfs
:: Starting udevd...
done.
No volume groups found
No volume groups found
Waiting 10 seconds for device /dev/mapper/lvpool-d2 ...
ERROR: Unable to determine major/minor number of root device '/dev/mapper/lvpool-d2'
Same as before, but with the additional twin lines ('No volume groups found') in the middle.
Any idea where 'lvm2' should go in the sequence? I've tried putting it both fore and aft of udev in HOOKS="base udev pata scsi sata filesystems".
Thanks,
01011010
Last edited by 01011010 (2010-10-15 23:44:37)
Offline
itsbrad212 wrote:Boot into fedora, mount the disk at some location (for this I'll use /mnt/arch/). Then do the following:
# chroot /mnt/arch /bin/bash (or whatever shell you use on Arch)Here's what I'm getting after following your instructions for mkinitcpio and copying the files over to Fedora's /boot:
:: Loading Initramfs
:: Starting udevd...
done.
No volume groups found
No volume groups found
Waiting 10 seconds for device /dev/mapper/lvpool-d2 ...
ERROR: Unable to determine major/minor number of root device '/dev/mapper/lvpool-d2'Same as before, but with the additional twin lines ('No volume groups found') in the middle.
Any idea where 'lvm2' should go in the sequence? I've tried putting it both fore and aft of udev in HOOKS="base udev pata scsi sata filesystems".
Thanks,
01011010
The order of the hooks shouldn't matter too much.
Did you try both with and without "autodetect"? The reason I recommended to try it out is because I have seen cases where removing autodetect solved problems similar to your.
Last edited by cesura (2010-10-15 23:52:26)
Offline
The order of the hooks shouldn't matter too much.
Did you try both with and without "autodetect"? The reason I recommended to try it out is because I have seen cases where removing autodetect solved problems similar to your.
I've tried both with and without autodetect, but there is no difference.
I guess I'm going to reinstall Arch and let it configure things. I've gotten Arch to boot on this laptop before, but WMs don't work (a video issue, I'm assuming). I'll just back up my Fedora /boot and hopefully have better success using Fedora as the 'add-on'.
Thanks all, I've learned quite a bit today about a variety things.
01011010
Offline
Sorry, have not really read through what have been said so please ignore if not helpful.
I have had similar problems (similar error message) before on my arch virtual machine. Running the fallback option at the grub boot screen allowed me to boot in. I merely re-run mkinitcpio and everything was OK.
Offline
itsbrad212 wrote:The order of the hooks shouldn't matter too much.
Did you try both with and without "autodetect"? The reason I recommended to try it out is because I have seen cases where removing autodetect solved problems similar to your.
I've tried both with and without autodetect, but there is no difference.
I guess I'm going to reinstall Arch and let it configure things. I've gotten Arch to boot on this laptop before, but WMs don't work (a video issue, I'm assuming). I'll just back up my Fedora /boot and hopefully have better success using Fedora as the 'add-on'.
Thanks all, I've learned quite a bit today about a variety things.
01011010
You could at least try my suggestion before you fix things the Windows way... I don't mind my posts getting ignored, but if it can fix your problem (and since this is a pretty specific error and not a generic one, I'm rather sure it will), then we're both happy.
Also, your opening post doesn't mention the volume group(s) not being found, while your last output does - so it looks like the problem is actually worsening instead of getting solved (no flame intended itsbrad212).
Check this link: https://bugzilla.kernel.org/show_bug.cgi?id=16606
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Also, your opening post doesn't mention the volume group(s) not being found, while your last output does - so it looks like the problem is actually worsening instead of getting solved (no flame intended itsbrad212).
Sorry 'bout that.
I wasn't aware of the kernel bug.
Although I think there is an extra required step in there that sets the volume group you would like to use to active. I can't recall off-hand what it is, but a simple Google search should bring some results up.
Offline
I don't know a thing about volume groups, so I can't say. And you shouldn't apologise either, it's the OP who needs to look at the post
. Kernel bugzilla seems to time out at the moment though...
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
What heleped me on this one was:
pacman -Sf kernel26Offline
I closed and split this thread because I think we are dealing with a new problem with old symptopms. Please see https://bbs.archlinux.org/viewtopic.php … 6#p1031836
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
Pages: 1
Topic closed