You are not logged in.

#1 2012-04-28 11:09:49

mapster
Member
Registered: 2009-06-03
Posts: 31

[solved] Bootup halts after lvm2 hook

I just upgraded the packages on my file-server, which i admit that I do quite rarly, and rebooted it after the upgrade finished. The file server has a software raid with lvm running on top. The bootup process now stops after running the lvm2 hook. Though if I disconnect the drives of the raid before starting the server it boots up just fine, and I can connect the drives again and run "vgscan && vgchange -ay" and all is as it was, untill I reboot.

Anybody has any clue on how to solve this issue?

The following is from stdout when booting:

Decompressing Linux... Parsing ELF... done.
Booting the kernel.
:: Starting udevd...
done.
:: Running Hook [udev]
:: Triggering uevents...done.
:: Running Hook [mdadm]
mdadm: /dev/md/0 has been started with 3 drives.
:: Running Hook [lvm2]
Activating logical volumes...
   4 logical volume(s) in volume group "lager-lvm-raid" now active

Last edited by mapster (2012-04-28 12:49:14)

Offline

#2 2012-04-28 12:28:50

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,868

Re: [solved] Bootup halts after lvm2 hook

Oddly enough, i encountered the same issue yesterday.

Recently the fsck hook was added to mkinitcpio, and i had forgotten to add this hook in the /etc/mkinitcpio.conf file.
After chrooting in, editing it and regenerating the initramfs with

mkinitcpio -p linux

everything worked again.

Check /etc/mkinitcpio.conf.pacnew for details


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#3 2012-04-28 12:48:36

mapster
Member
Registered: 2009-06-03
Posts: 31

Re: [solved] Bootup halts after lvm2 hook

Nice, Nice!
Thanks, that worked out great smile

I did notice the fsck hook earlier, and added it to mkinitcpio.conf, but it didn't occur to me to regenerate initramfs.

Thanks again!

Offline

#4 2012-04-30 20:41:32

sergi34
Member
Registered: 2010-01-20
Posts: 24

Re: [solved] Bootup halts after lvm2 hook

I suppose I have the same problem but, How can I solve this since my / partition is on the lvm?

thanks in advance

Offline

#5 2012-04-30 20:44:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] Bootup halts after lvm2 hook

chroot in and rebuild your intramfs https://bbs.archlinux.org/viewtopic.php?id=140439


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2012-05-01 08:15:21

sergi34
Member
Registered: 2010-01-20
Posts: 24

Re: [solved] Bootup halts after lvm2 hook

jasonwryan wrote:

chroot in and rebuild your intramfs https://bbs.archlinux.org/viewtopic.php?id=140439

thanks! that really solved the problem smile

Offline

Board footer

Powered by FluxBB