You are not logged in.

#1 2012-05-05 17:06:52

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

[SOLVED] how to disable lvm2?

I have an issue during boot that gets stuck loading lvm partitions. I tried doing the live cd and changing root, but I get no file found issues, so that route is out of question. And the fallback img also runs the lvm hook, how awful.

There has to be a way to be able to boot my root partition, and ignore anything on the lvm partitions. But it seems I have tied the lvm to the booting.  Is there a way to fix this other than reinstalling?

Last edited by boast (2012-05-05 19:54:03)


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

#2 2012-05-05 17:46:18

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED] how to disable lvm2?

This is due to a bug with udev. I believe.

1. Boot to live-cd.
2. Issue: # vgchange -ay (to activate your volumegroup and logical volumes inside it).
3. Follow instructions: https://wiki.archlinux.org/index.php/Chroot
4. Run # mkinitcpio -p linux
5. umount your chroot mount.
6. Reboot.

Offline

#3 2012-05-05 17:58:55

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

Re: [SOLVED] how to disable lvm2?

Ashren wrote:

This is due to a bug with udev. I believe.

1. Boot to live-cd.
2. Issue: # vgchange -ay (to activate your volumegroup and logical volumes inside it).
3. Follow instructions: https://wiki.archlinux.org/index.php/Chroot
4. Run # mkinitcpio -p linux
5. umount your chroot mount.
6. Reboot.


I only have a non-essential partition as an lvm, not my root or anything else. And I can't get chroot working.


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

#4 2012-05-05 18:06:20

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] how to disable lvm2?

https://wiki.archlinux.org/index.php/Mkinitcpio#init

The 'disablehooks' parameter will let you skip the lvm2 hook on boot.

Offline

#5 2012-05-05 18:22:26

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

Re: [SOLVED] how to disable lvm2?

falconindy wrote:

https://wiki.archlinux.org/index.php/Mkinitcpio#init

The 'disablehooks' parameter will let you skip the lvm2 hook on boot.

thanks! that takes care of that. Now I get that /sbin/init doesn't exist after root is mounted, which it does. ahh the curse of  doing system upgrades sometimes.


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

#6 2012-05-05 19:03:03

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] how to disable lvm2?

Sounds to me like you're mounting the wrong partition if you're getting that error.

Offline

Board footer

Powered by FluxBB