You are not logged in.

#1 2010-08-27 20:33:51

some-guy94
Member
Registered: 2009-08-15
Posts: 360

[SOLVED] LVM works, but not at boot

I am trying to set up a hard drive with lvm, only one hard drive is in the volume group atm, I'm planning on extending it as soon as I can get it to work.

I can access the volumes fine if I run arch from a separate hard drive, everything works, and /boot is in its own primary partition. But when I try to boot from it it gives me device does not exist. I enabled the lvm hook, I can see /dev/mapper/hdgroup0-volroot in busybox, but I can't mount it.

Any ideas?

Last edited by some-guy94 (2010-08-27 23:17:43)

Offline

#2 2010-08-27 21:14:34

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: [SOLVED] LVM works, but not at boot

Do you have the correct "root=" line in your bootloader's kernel line? Is it in fstab?

Perhaps try with rootdelay=5 as well?

Offline

#3 2010-08-27 22:04:33

some-guy94
Member
Registered: 2009-08-15
Posts: 360

Re: [SOLVED] LVM works, but not at boot

Fackamato wrote:

Do you have the correct "root=" line in your bootloader's kernel line? Is it in fstab?

Perhaps try with rootdelay=5 as well?

Yes I have root=/dev/mapper/hdgroup0-volroot, and its in fstab (not that fstab is even being read)

root delay wouldn't help at all because after it drops me to a busybox shell I can't do a manual mount.

Offline

#4 2010-08-27 22:18:06

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Re: [SOLVED] LVM works, but not at boot

USELVM = "yes" in rc.conf?

Offline

#5 2010-08-27 22:33:08

some-guy94
Member
Registered: 2009-08-15
Posts: 360

Re: [SOLVED] LVM works, but not at boot

*vitali* wrote:

USELVM = "yes" in rc.conf?

It's there.

Offline

#6 2010-08-27 23:18:11

some-guy94
Member
Registered: 2009-08-15
Posts: 360

Re: [SOLVED] LVM works, but not at boot

Rebuilding my initrd fixed it.

Offline

Board footer

Powered by FluxBB