You are not logged in.
Pages: 1
I wonder if it is possible to install arch on lvm on a usb key. I tried to do so. And it seemed I had installed it successfully. I am quite sure I've done everything right following the "LVM" and "Installing Arch Linux on a USB key" wiki. But when I boot from the usb (it can boot), it still failed to find the root which lies in an logical volume. In the error message, it first told me:
the root device does not exit, attempting to create it;
but failed and unable to detect or create the root device
then thrown me into the ramfs recovery shell.
In this shell, I can not find the device (which is a logical volume containing the root) I specified in the grub menu.lst under /dev/mapper.
Any idea?
Arch, the Portal of Linux
Offline
Do you have all the required hooks in your mkinitcpio.conf?
Offline
Do you have all the required hooks in your mkinitcpio.conf?
Thanks for the reply. Yes, for sure, see below
HOOKS="base udev usb autodetect pata scsi sata lvm2 filesystems"
Arch, the Portal of Linux
Offline
I have the same problem.
In my case, I had to rescue my system. I added a USB drive to the VG and moved the LVs.
For the information, here are my hooks (quite similar to plmday's):
HOOKS="base udev usb v86d autodetect pata scsi sata lvm2 filesystems"
I use a LVM root (including /boot) and GRUB2 to boot the system.
I have the exact same error as plmday. What's interesting is that in the rescue shell, I just have to type
/bin/lvm vgchange -ay
to detect the LVs and the boot processes normally after leaving the shell,
Offline
[deleted]
Last edited by limyreth (2019-09-09 13:05:45)
Offline
Pages: 1