Re: Cannot mount old drive with LVM partition - help!



Ohmster wrote:
noi <noi@xxxxxxxx> wrote in news:EeXTg.6607$TV3.5327
@newssvr21.news.prodigy.com:

Second do not panic. With FC3 as the primary system, boot from the FC5 DVD

boot: linux rescue
# you get the prompt

$ chroot /mnt/sysimage

$ ls ~

# you should still see your data

If you can see your data then you can disconnect the FC3
and reinstall FC5 without the LVM.

No can do. When I try that, the rescue disc scans for Fedora installations and does not find any, therefore it does not mount any. Examining the logical volume group with the xwindows LVM tool shows that it is present on /dev/hdb2, which is correct, and it has a different name now, VolGroup01. The physical view shows 189Gb of space which is correct. The logical view shows all of that space as free. Now I know that all my files are still there, the darned thing did not run long enough to erase all of the files, but something happened to the logical drive and now all the space is marked as "Free" with no files present. Bummer.

Not sure how webmin does do, but it seems to have destroyed the old "volume group" and "logical volume" and then created the new one, this shouldn't have included any formate.

One way that may fix this, si to crate a new "logical volume" to your new "volume group", do this manually, add all the free space at once and then run fsck on the new device, if you are lucky, you will after that be able to access all your old files (don't forget to mount it after fsck).


The reason why you got a busy message when you allowed the rescue disk to mount the system was that /boot was mounted into the system root,

umount /mnt/sysimage/boot
umount /mnt/sysimage

That had made you to unmount the logical volume.


Okey, time for me to sleep again...


//Aho
.



Relevant Pages

  • Re: Cannot mount old drive with LVM partition - help!
    ... With FC3 as the primary system, boot from the FC5 DVD ... boot: linux rescue ... If you can see your data then you can disconnect the FC3 ...
    (alt.os.linux)
  • Heads Up! FC3 Rescue CD cripples older distribs (Restore possible?)
    ... that wouldn't boot, by using my FC3 ... rescue CD. ... e2fsck: Get a newer version of e2fsck! ...
    (linux.redhat.misc)
  • Re: external HDD
    ... all ran smoothly BUT now it won't let me boot up. ... RH/Fedora while using the rescue image and it should be mounted ... about patches installed and the fact that almost none ever ... It doesn't let me install them manually. ...
    (comp.os.linux.misc)
  • Re: Flash Drive As "Drive A:"
    ... There is a way to make a bootable Windows rescue disc. ... This is like a BartPE CD on steroids. ... backingup hardisks using USB Hard-drives. ... Using floppy drive to boot DOS or programs is very slow. ...
    (microsoft.public.windowsxp.general)
  • Re: external HDD
    ... all ran smoothly BUT now it won't let me boot up. ... RH/Fedora while using the rescue image and it should be mounted ... The suse rescue didn't like that. ... installs any patch, you haven't installed a single one? ...
    (comp.os.linux.misc)