All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Converting my Root file system to LVM
@ 2001-05-22 16:02 Rupert Heesom
  2001-05-22 16:22 ` Rupert Heesom
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Rupert Heesom @ 2001-05-22 16:02 UTC (permalink / raw)
  To: linux-lvm

I've been practicing LVM techniques on a spare 2nd disk which I'm adding
to my root file system using LVM.  I think I've got the hang of how LVs,
PVs, and VGs work.

I've followed the lvm-howto on how to create a root filesystem.

I've created a partition on the 2nd disk (/dev/sdb1), converted it to a
PV.

I've created a VG (/dev/vg) & LV (/dev/vg/root) on that disk.

I've copied the contents of my non-LVM root partition over to the LV -
(find / -xdev | cpio -pvmd /mnt/tmp)

I've moved /etc/lilo.conf to my /boot partition, and created a symlink
to /boot/lilo.conf in /etc.

I've created an initial RAMdisk on /boot -  (/boot/initrd-lvm-2.4.3.gz).
I created one RAM disk initially to see how it worked, then ran the
"lvmcreate_initrd" again once my LVol was created (and the files copied
across).

I've altered my lilo.conf to look like - .....

[rupert@localhost rupert]$cat /etc/lilo.conf
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux-2_4
message=/boot/message

image=/boot/vmlinuz-2.2.16-22
	label=linux-2_2
	initrd=/boot/initrd-2.2.16-22.img
	read-only
	root=/dev/sda5
	append="mem=384M"

image=/boot/vmlinuz-2.4.3
	label=linux-2_4
	read-only
	root=/dev/sda5
	append="mem=384M"

image=/boot/vmlinuz-2.4.3
	initrd=/boot/initrd-lvm-2.4.3.gz
	root=/dev/vg/root
	label=lvm
	append="mem=384M ramdisk_size=8192"

#image=/usr/src/linux/arch/i386/boot/bzImage
#	label=linux_test
#	read-only
#	root=/dev/sda5
#	append="mem=384M"


...... And I've run lilo of course.



Now, when I boot up into the LVM partition, I get the following error
msgs -

lvm - Module successfully initialised.
/sbin/vgscan: sed: command not found.
/sbin/vgscan: /lib/lvm-iop10/: is a directory
/sbin/vgscan: exec: /lib/lvm-iop10/: cannot execute:  permission denied.

/sbin/vgchange:  <same msgs>

Obviously the kernel can't find the LVM tools.  Would these not be
included in the lvm initrd?  If they are, and the kernel still can't
find them, what do I change so that the kernel CAN find the LVM tools?

Tnx for any help.

I'M NEARLY THERE!!

-- 
regs
rupert

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2001-05-24 22:07 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-22 16:02 [linux-lvm] Converting my Root file system to LVM Rupert Heesom
2001-05-22 16:22 ` Rupert Heesom
2001-05-22 22:56 ` Steve Wray
2001-05-22 23:53   ` Rupert Heesom
2001-05-23  4:01     ` Steve Wray
2001-05-23  5:03       ` S. Michael Denton
2001-05-23 14:11         ` Rupert Heesom
2001-05-23 22:56           ` Andreas Dilger
2001-05-23 23:18             ` [linux-lvm] Is now: Resizing & LVM shutdown Rupert Heesom
2001-05-24  3:36               ` Austin Gonyou
2001-05-24  0:24                 ` Rupert Heesom
2001-05-23  6:11                   ` Glenn Shannon
2001-05-24 12:29                     ` Ben Lutgens
2001-05-23 12:35                       ` Glenn Shannon
2001-05-24  6:54               ` Andreas Dilger
2001-05-23 13:14       ` [linux-lvm] Converting my Root file system to LVM Rupert Heesom
2001-05-23 16:49     ` Andreas Dilger
2001-05-23 15:02       ` [linux-lvm] Converting my Root file system to LVM [last question] Rupert Heesom
2001-05-23 22:24         ` [linux-lvm] Converting my Root file system to LVM [lastquestion] Steve Wray
2001-05-24  6:41           ` Andreas Dilger
2001-05-24 10:52             ` Rupert Heesom
2001-05-24 22:07               ` Steve Wray
2001-05-24 14:22             ` AJ Lewis
2001-05-24 19:48               ` Luca Berra
2001-05-22 23:25 ` [linux-lvm] Converting my Root file system to LVM Andreas Dilger
2001-05-23 13:14   ` Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.