You are not logged in.

#1 2012-04-28 00:43:31

jpsimard
Member
Registered: 2011-04-15
Posts: 41

[solved] Update got me stuck on boot after activating lvm

I did an update which contained a new kernel.  Now the system just hangs after this...

Activating logical volumes
4 logical volume(s) in volume group "VolGroup00" now active.

Now I've booted in the live environment and use vgscan and vgchange -ay and I can see my partitions in /dev/mapper.  /boot is on it's own partition, not on lvm.

I believe I need to rebuild the image, but I'm unsure as to how I should mount my partitions, and which partitions I should mount.  root, var, swap  and home are on lvm.  I tried figuring it out with the wiki, but my brain is burnt, and I'm really going nowhere fast.  Anybody could take pity on me and just give me the answer of what come next?

Last edited by jpsimard (2012-04-28 01:11:11)

Offline

#2 2012-04-28 00:57:28

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

Re: [solved] Update got me stuck on boot after activating lvm

The wiki article is pretty clear, IMO.

Once you are in the live environment, mount your /dev/mapper/blah on /mnt/arch, then the other filesystems as per the chroot page and finally mount /boot. Then chroot and fix your image.


# edit: there are also any number of threads here detailing the same steps if you need to do a sanity check at any point...

Last edited by jasonwryan (2012-04-28 00:59:03)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-04-28 01:07:52

jpsimard
Member
Registered: 2011-04-15
Posts: 41

Re: [solved] Update got me stuck on boot after activating lvm

Well, my brain is really burnt, but for some reason, your contribution did actually clear things up.  I was doing things wrong, but I don't know how, now that I managed to get myself out of the idiot bin.  I guess I was trying too hard!  wink

Thanks for the help.

Last edited by jpsimard (2012-04-28 01:10:23)

Offline

#4 2012-04-28 10:51:38

Ajunta
Member
From: Moscow
Registered: 2009-05-31
Posts: 58

Re: [solved] Update got me stuck on boot after activating lvm

I've got exactly the same problem today. Rebuilding image was the solution. At first you need to chroot to your existing installation from the live environment: https://wiki.archlinux.org/index.php/Change_Root and then rebuild image: https://wiki.archlinux.org/index.php/Mk … activation

Offline

#5 2012-04-28 17:39:39

njbair
Member
Registered: 2012-01-01
Posts: 5

Re: [solved] Update got me stuck on boot after activating lvm

Thanks for this. I had the same issue just moments ago. What is the cause?

Offline

#6 2012-04-29 14:39:49

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,969

Re: [solved] Update got me stuck on boot after activating lvm


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


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2012-05-05 15:56:59

boast
Member
Registered: 2010-09-28
Posts: 219

Re: [solved] Update got me stuck on boot after activating lvm

jpsimard wrote:

Well, my brain is really burnt, but for some reason, your contribution did actually clear things up.  I was doing things wrong, but I don't know how, now that I managed to get myself out of the idiot bin.  I guess I was trying too hard!  wink

Thanks for the help.

Can you tell me everything you did? I need help


Asus M4A785TD-V ;; Phenom II X4 @ 3.9GHz ;; Ripjaws 12GB DDR3-1600 ;; 128GB Samsung 830 ;; MSI GTX460 v2 w/ blob ;; Arch Linux + KDE 4.x

Offline

#8 2012-05-05 16:38:18

dcc24
Member
Registered: 2009-10-31
Posts: 732

Re: [solved] Update got me stuck on boot after activating lvm

boast wrote:

Can you tell me everything you did? I need help

I had the same problem. Here's a step by step solution:

* Boot a live cd
* # vgchange -ay
* Mount your / partition to a folder
* Bind proc, dev and sys like this:

mount -t proc proc ${your-root}/proc
mount -t sysfs sys ${your-root}/sys
mount -o bind /dev ${your-root}/dev

* # chroot ${your-root} /bin/bash

Once you are in the chroot, mount your boot partition to /boot (do this *inside* the chroot!)

* #mkinitcpio -p linux
* reboot

Hope it helps smile


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#9 2012-05-05 23:18:50

6arms1leg
Member
Registered: 2011-04-19
Posts: 22

Re: [solved] Update got me stuck on boot after activating lvm

if

# vgchange -a y

returns an error (as on my old arch-livecd), load the dm-mod module first:

# modprobe dm-mod

Offline

#10 2012-05-07 15:43:21

Wake
Member
Registered: 2012-01-12
Posts: 12

Re: [solved] Update got me stuck on boot after activating lvm

dcc24 wrote:

Once you are in the chroot, mount your boot partition to /boot (do this *inside* the chroot!)

* #mkinitcpio -p linux
* reboot

I mounted the boot partition before the chroot and it worked fine (mount /dev/sda1 /mnt/arch/boot).

This is why I love arch - excellent technical help.

Offline

Board footer

Powered by FluxBB