You are not logged in.
Arch64
Just ran a full upgrade ( -Syu).
/boot has it's own ext2 partition
/home /var etc are managed with LVM on the reminder of the disk
(there are 3 other disks that are mounted on different points under /home/user_name. They are not part of the LVM).
After upgrading, the LVM system will not load, What I'm getting after GRUB is :
:: Starting udev...
done
:: Running Hook [udev]
:: Triggering events,,,done.
Waiting 10 seconds for device /dev/mapper/VolGroup0-lvRoot ...
ERROR: device '/dev/mapper/VolGroup0-lvRoot' not found. Skipping fsck.
ERROR: Unable to find root device '/dev/mapper/VolGroup0-lvRoot'.
Any ideas ?
Thanks
Ben
Last edited by ben-arch (2012-04-24 17:37:23)
Offline
Shouldn't you have a "Running Hook [LVM2]"?
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Well, up till this morning there WAS one off course a everything was booting OK.
Edit :
Problem is that I haven't added "lvm2" hook to mkinitcpio.conf.
Now that I have added it I understand that I have to run "mkinitcpio -p linux" in /boot to regenerate the kernel.
Problem is - how to do it ?
I've tried booting with Arch install media, then mounted my original /boot.
Entered it and ran "mkinitcpio -p linux"
What I'm getting is :
Preset linux does not exist. Exiting
And of course I can't mount my original root as it is inside the said LVM :-(
Ideas any1 ?
Thanks
Last edited by ben-arch (2012-04-24 16:50:47)
Offline
Try using "mkinitcpio -k /boot/<yourkernel>"
PS: also make sure you mount your root partition since your mkinicpio.conf will need to be read from there.
Burninate!
Offline
Thank @Gcool.
As I've edited my previous comment,I can't mounth my original root as it is INSIDE the LVM and I can't find a way to mount it with the installation media.
Ideas ?
Offline
If you load the "dm-mod" module and use vgscan + vgchange -ay to activate the volumes; you should be able to access/mount your lvm partitions from within the live environment.
Burninate!
Offline
Thanks @Gcool
Offline