You are not logged in.

#1 2006-06-20 16:06:34

cuniculus
Member
From: Austria / Graz
Registered: 2006-06-20
Posts: 2

archlinux 7.2 / root / lvm

Hello,

I'am really new on archlinux (some hours) and I have got problem to install it wird root on lvm.

Is it supported out of the box ?!

What i tried:
- generated a rootvg wird arch_lv and swap_lv
- with boot  on /dev/hda2

boot archlinux 7.2

modprobe 8139too (my network card)
modprobe dm-mod
lvm vgscan
lvm vgchange -ay
lvm lvscan (all available)

archsetup
run /arch/setup with ftp installation
prepare hard drive (set mountpoints)
-swap
-root
-boot

boot formated with ext2
root formated with ext3

Selected Packages (base/all)
Install Packages

big point  "Configure System"
rc.conf -->
USELVM=yes
mkinitrd.conf -->
REMOVE_DM=   
REMOVE_RAID=
LVM_ROOT="/dev/rootvg/arch_lv"

Install Kernel 2.6

finaly write the boot loader ond /dev/hda and reboot.

But during the boot process I get:

mount: Mounting /dev/root on /new_root failed: No such device or address
pivot_root: pivot_root: No such file or directory

Can someone help me, please ?!

best regards cuni[/b]

Offline

#2 2006-06-20 19:13:59

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: archlinux 7.2 / root / lvm

Yeah, I think you'll have to rewrite the initscripts: /etc/rc.conf is located on /. And that's where you define you want to use LVM, which is a bit late considering your / is on an LVM volume. I'm running LVM myself but not on my / partition.

Note: I don't know if the current initscripts support / on LVM. If they should, disregard this post.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#3 2006-06-21 00:14:50

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: archlinux 7.2 / root / lvm

@FUBAR: This has nothing to do with initscripts at all.

mkinitrd has to be configured to enable lvm on startup. I don't know if and how mkinitrd can do that, but I suspect it won't work. However, the new mkinitcpio tool from testing (which we will hopefully see in current soon) does support it very well. Please read http://wiki.archlinux.org/index.php/Con … mkinitcpio

Offline

#4 2006-06-21 06:25:11

cuniculus
Member
From: Austria / Graz
Registered: 2006-06-20
Posts: 2

Re: archlinux 7.2 / root / lvm

thank you, I will give mkinitcpio a try ;-) cuni

Offline

#5 2006-06-22 15:28:10

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: archlinux 7.2 / root / lvm

This doc is getting impressive.  It's about twice as long as it was last time I checked.

Offline

Board footer

Powered by FluxBB