recovering from overwriting fstab
Posted: 2012/02/17 22:47:58
Hi
Is there a way to recover from overwriting fstab? I reinstalled 5.7 and then ran tar -xvf restoring /etc and /home. That has caused the system to no longer boot and I am guessing that it is because of different LVM names.
Thanks
Jim
edit:
linux rescue mode does not give a chroot option instead reports problem trying to mount some
or all of your system.
lvm lvs reports
LogVol00 VolGroup00 -wi -a- 43.97G
LogVol01 VolGroup00 -wi -a- 1.00G
fdisk -l reports
/dev/hda1 1 13 104391 83 Linux
/dev/hda2 14 1023 8112825 8e Linux
/dev/hda3 1024 2434 11333857+ c Win95 FAT32 (LBA)
/dev/hdb1 1 4865 39078081 83 Linux LVM
Is there a way to recover from overwriting fstab? I reinstalled 5.7 and then ran tar -xvf restoring /etc and /home. That has caused the system to no longer boot and I am guessing that it is because of different LVM names.
Thanks
Jim
edit:
linux rescue mode does not give a chroot option instead reports problem trying to mount some
or all of your system.
lvm lvs reports
LogVol00 VolGroup00 -wi -a- 43.97G
LogVol01 VolGroup00 -wi -a- 1.00G
fdisk -l reports
/dev/hda1 1 13 104391 83 Linux
/dev/hda2 14 1023 8112825 8e Linux
/dev/hda3 1024 2434 11333857+ c Win95 FAT32 (LBA)
/dev/hdb1 1 4865 39078081 83 Linux LVM