You can use the sed line mode edit command to modify fstab, or link the disk containing /etc from another Linux instance, and vi it from there. I would try sed first, after making a backup copy of course.
-----Original Message-----
Greetings List-ers, I seem to have painted myself into a corner. I'm hoping someone on the list has either seen this before, or knows how to recover. I'm running SLES9 under z/VM 5.1. I needed to add a couple of MOD3's so I could set up an LVM volume, so I configured the available DASD in USER DIRECT, committed the changes with DIRECTXA and brought up the guest. In YaST, under SLES9, the LVM module could see the DASD that I added, so I added it to the logical volume. I applied the changes and set a mount point. When I applied those changes and went to leave, it complained that the DASD was invalid and that I needed to reboot. After doing so, I am unable to boot normally (invalid file system bring the system to a screeching halt); I'm stuck booting to Single-User mode. I need to get into the /etc/fstab file and edit out the line for the logical volume mount, but I can't seem to figure out how to edit the file… vi will not work through the console and since I am in single-user mode, networking is not available. Any suggestions on how I can edit the file and comment out (or delete) the erroneous line in /etc/fstab? Many thanks, Dave Keeton |
Title: LVM Mistake - How to recover
- LVM Mistake - How to recover KEETON Dave B
- Re: LVM Mistake - How to recover Bob Shair
- Re: LVM Mistake - How to recover Ray Mrohs
- Re: LVM Mistake - How to recover Bishop, Peter G
- Re: LVM Mistake - How to recover KEETON Dave B