On Wed, Dec 10, 2003 at 09:31:28AM +0000, Joe Orton wrote:
7.43, oops, yes ;) I will do, but it didn't look like that would
help
since the new:
# LVM2 initialization
if [ -d /etc/lvm/ -a -x /sbin/lvm ]; then
stuff happens after the fsck /, and looks like it has to because it
needs a writable root filesystem.
The following ought to work, if you are starting from a 2.4 LVM1 config:
1. mkdir /etc/lvm
2. touch /fastboot # this eliminates the fsck
3. Reboot into kernel-2.4 with init=/bin/sh
4. mount -o remount,rw /
# LVM2 won't overwrite non-symlinks left by LVM1
# remove them. (The list of VGs is available in /initrd/dev/.)
rm -rf /dev/<vg1>/* /dev/<vg2>/* ...
sync
mount -o remount,ro /
5. Boot kernel-2.6
Regards,
Bill Rugolsky