You are not logged in.

#1 2012-08-08 08:27:33

AlmostSurelyRob
Member
From: UK
Registered: 2012-03-17
Posts: 77

[SOLVED] GRUB2+GPT+LVM: unable to boot after upgrade

Dear All,

I have recently upgraded an Arch computer. The update was successful but the computer no longer boots. I can get to Grub 2 menu but after selecting a system I get:

error: no such device: ad4103fa-d940-48ca-8506-301d8081d467
Loading Linux core repo kernel ....
error: no such partition.
Loading initial ramdisk ...
error: you need to load the kernel first.

I recall that both dev-mapper and grub-bios were changed in my upgrade. I must confess I am completely lost. I have found a couple of posts but none of them seem to resemble my situation:
https://bbs.archlinux.org/viewtopic.php?id=101753
https://bbs.archlinux.org/viewtopic.php?id=121620

My other computer running Arch was ok on the same upgrade but the other one does not have GRUB2+LVM+softRAID, so I thought this is the issue. I booted with USB stick and run lvdisplay - I can still see all of my partitions intact, but I am not sure how to mount them a simple mount /dev/Raid0Volume/lvroot does not work

mount /dev/Raid0Volume/lvroot /mnt
mount: special device /dev/Raid0Volume/lvroot does not exist

Please let me know if you can provide any assistance on this matter.

Last edited by AlmostSurelyRob (2012-08-08 23:18:02)

Offline

#2 2012-08-08 08:30:27

tr!x0r
Member
From: Belgium
Registered: 2010-12-31
Posts: 55
Website

Re: [SOLVED] GRUB2+GPT+LVM: unable to boot after upgrade

If you live boot, you have to enable them, "vgchange -a y" puts them in an active state.
This will allow you to mount them and check if everything is OK, or chroot and repair your grub.


Remember, when using Linux, you're the one in control
http://www.linux-answered.com

Offline

#3 2012-08-08 14:54:19

AlmostSurelyRob
Member
From: UK
Registered: 2012-03-17
Posts: 77

Re: [SOLVED] GRUB2+GPT+LVM: unable to boot after upgrade

Thanks. That helped a lot. I mounted my LVs and reinstalled grub. After that I started getting the following error:

/sbin/lvm: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

After looking around at Arch Forum a bit I have found this post:
https://bbs.archlinux.org/viewtopic.php?id=142628
The solution given there worked for me i.e. live boot, chroot and then run

mkinitcpio -p linux

Last edited by AlmostSurelyRob (2012-08-08 23:19:59)

Offline

#4 2012-08-08 16:15:32

tr!x0r
Member
From: Belgium
Registered: 2010-12-31
Posts: 55
Website

Re: [SOLVED] GRUB2+GPT+LVM: unable to boot after upgrade

Nice to hear that everything works again!

Feel free to put it on solved! :-)

Cheers!


Remember, when using Linux, you're the one in control
http://www.linux-answered.com

Offline

Board footer

Powered by FluxBB