lvm 1.03 on redhat 7.3
I am trying to mount a root fs using lvm on redhat 7.3 using the howto guide provided by sistina.com. I am getting this message:
ram disk compressed image found at block 0 freeing initrd memory 1211k freed VFS:mounted root (ext2 filesystem) attempt to access beyond end of device 01:00:rw=0, want=4558, limit=4096
VFS: cannot open root device "vg00/lv01" or 00:00
Help!
Regards,
Jim--- e-mail is NOT a secure channel
James B. Byrne mailto:[email protected] Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
Quoted 4 lines · James B. Byrne
ram disk compressed image found at block 0 freeing initrd memory 1211k freed VFS:mounted root (ext2 filesystem) attempt to access beyond end of device
Your initrd image does not work, it's to big.
Try uncompressing /boot/<your-initrd>.img (best you copy it to /tmp/initrd.gz, gunzip this) and figure out the size. Round this size to the next "regular" number and add "ramdisk=8192" or what ever your size it to the append line in lilo.conf. rerun lilo and try again.
It might be required to boot from some kind of recovery device if you've realy screwed up. hopefully you have something like this, otherwise there are some generic solutions available on freshmeat.net
Cu,
Goetz.
Quoted 2 lines · James B. Byrne
I am trying to mount a root fs using lvm on redhat 7.3 using the howto guide provided by sistina.com. I am getting this message:
isn't this covered in the redhat manual?
well redhat provided lvm and mkinitrd tool do support it
i suppose you are running from a root on a partitioned disc and you copied everything to your lvm root which is at the moment mounted under /mnt/lvm
and that you have fixed the /etc/fstab under the new lvm root to reflect the new setup: ie you have sth like /dev/vg00/lvol3 / ext3 defaults 0 1
now run:
mkinitrd -v --fstab=/mnt/lvm/etc/fstab /boot/initrd_lvm uname -r and use the newly created initrd to boot your system.
L.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \