You are not logged in.
Pages: 1
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
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
@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
thank you, I will give mkinitcpio a try ;-) cuni
Offline
This doc is getting impressive. It's about twice as long as it was last time I checked.
Offline
Pages: 1