You are not logged in.
I successfully installed Archlinux on my first computer, using LVM on two internal Hard Drives.
I'm trying to do exactly the same on my second computer, but I got a problem: the LVM volume is not found at boot, so that the root partition can't be mounted and the boot fails.
The only difference is that, on my second computer, the second hard drive is connected through USB.
Some hints: my second computer boots perfectly with LVM and Ubuntu. Archlinux needs to be configured adequately.
I tried to add rootdelay=30 in menu.lst, but it changes nothing. Of course, in /etc/rc.conf I have USELVM="yes" and in /etc/mkinitcpio.conf I have HOOKS="base udev autodetect pata scsi sata keymap lvm2 filesystems"
Thank you for helping me to keep Archlinux on my second computer!
Last edited by Achille (2008-06-29 21:59:09)
Offline
Hold on, are you saying you put / and /boot in LVM? If so, you can't do that.
Did you install the LVM2 package in Core? Also, what does your /etc/lvm/lvm.conf look like?
Last edited by Berticus (2008-06-22 14:24:54)
Offline
Thank for your helping me to solve this problem!
Of course, I have a separate partition for /boot, NOT in LVM. The LVM2 package is installed. And the /etc/lvm/lvm.conf hasn't been modified.
My guess is lvm tries to activate the volume (without success) before the usb device has been detected. A pause is needed before lvm tries to activate the volume.
Offline
I finally solved my problem!
In the file /etc/mkinitcpio.conf, I modified the MODULES loaded:
MODULES="pata_acpi ata_generic ata_piix usbcore usb_storage uhci_hcd ehci_hcd sg scsi_mod sd_mod dm_mod"
I also add in the file /lib/initcpio/hooks/lvm2 the line /bin/sleep 10
...
/bin/sleep 10
msg "Scanning logical volumes..."
...
And finally, I ran the command:
mkinitcpio -p kernel26
Offline