Converting the root filesystem to ReiserFS on LVM...
Hi all,
I am officially stumped... I have tried two rescue discs (SysRescCD
and PLD Rescue) as well and my Fedora Core 1 install disk using 'linux rescue' in an attempt to backup the FC1 root partition so that I can reformat it as ReiserFS and then restore it.
When I use the FC1 cd I can't unmount '/mnt/sysimage' which is seen
as the LVM device '/dev/VG00/LV00', it keeps saying the device or resource is busy (despite being out of the directory and running off the CD). When I try to boot off either rescue CD 'root' isn't mounted but then I can't find the darn LVM partitions (and yes I made sure that the rescue CDs supported LVM and ReiserFS).
Under Fedora the devices I need to mount are on:
/dev/VG00/LV00 = '/' (currently ext3)/dev/VG00/LV01 = '/backup' (reiserfs)/dev/VG00/LV02 = '/snapshot' (reiserfs)
Under the two rescue CDs though there is no '/dev/VG00...'. Where
would I find those partitions? I tried looking under '/dev/' but the only thing relevant I could find was '/dev/ide/host0/bus0/target0/lun0/' and there was no sign of the LVM partitions (nor under variants like 'bus1', etc.).
Any help would be greatly appreciated!
Madison
Quoted 10 lines · Madison Kelly
Hi all,
I am officially stumped...
When I use the FC1 cd I can't unmount '/mnt/sysimage' which is seen as the LVM device '/dev/VG00/LV00', it keeps saying the device or resource is busy
Under Fedora the devices I need to mount are on:/dev/VG00/LV00= '/' (currently ext3)/dev/VG00/LV01= '/backup' (reiserfs)/dev/VG00/LV02= '/snapshot' (reiserfs)
Madison,
do you by any chance have /mnt/sysimage/backup or /mnt/sysimage/snapshot mounted when you get the "resource busy" error?
Signature · 2 lines
David Johnston <[email protected]> Little Bald Consulting, LLC
Quoted 11 lines · David Johnston
Quoted 7 lines · Madison Kelly
Hi all,
I am officially stumped... When I use the FC1 cd I can't unmount '
/mnt/sysimage' which is seen as the LVM device '/dev/VG00/LV00', it keeps saying the device or resource is busy Under Fedora the devices I need to mount are on:/dev/VG00/LV00= '/' (currently ext3)/dev/VG00/LV01= '/backup' (reiserfs)/dev/VG00/LV02= '/snapshot' (reiserfs)
Quoted 3 lines
Madison,
do you by any chance have/mnt/sysimage/backupor/mnt/sysimage/snapshotmounted when you get the "resource busy" error?
Nope, I made sure to dismount anything mounted under /mnt/sysimage (inc.
boot/). I have since been able to copy the data by using the SysRescCD
and then using EVMS to simply look at the partitions and then saving out and mounting /dev/evms/lvm/<vg>/<lv> but after restoring and rebooting it would kernel panic still thinking that '/' was ext3 despite editing '/etc/blkid.tab' and '/etc/fstab'.
I am trying now to figure out how to properly use 'chroot /mnt/sysimage' followed by 'lvcreate_initrd' to write a new boot loaded but despit double checking that the file name was right Grub still fails to find the file...
Quite an ordeal but I am making progress, slowly.
Thanks for your reply! Any other tips by chance?
Madison
PS - For the archives, this is a Fedora Core 1 install.
Quoted 4 lines · Madison Kelly
When I try to boot off either rescue CD 'root' isn't mounted but then I can't find the darn LVM partitions (and yes I made sure that the rescue CDs supported LVM and ReiserFS).
Did you try running vgscan?
mossmann
Quoted 5 lines · Madison Kelly
I am trying now to figure out how to properly use 'chroot
/mnt/sysimage' followed by 'lvcreate_initrd' to write a new boot loaded but despit double checking that the file name was right Grub still fails to find the file...
Can you post your grub.conf and an ls of your boot filesystem?
mossmann