Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Entry in fstab is wrong due to damaged file. Can't use the fstab file to boot, because the / entry is not LABELed as /1 and I can only access it in the Repair Filesystem thing which prevents me from writing!!!
All I need to do is erase the "1"
How do I write to my fstab file?
I boot from a disk, and I tried boot: linux rescue as well as other things.
boot from the installation disk, but don't type linux rescue. just boot normally as if you were going to install. then cancel the installation. i think this should let you out to the command line (depending on the distro). mount /dev/hda (or your relevant hard drive with linux in it). you should then be able to find your /etc/fstab file and edit it.
i'm sure there are some other magical sophisticated solutions around somewhere, but this is what i know for now. hope it helps.
Another thing you can do is to start the installer and then press Alt+F2 to get to the commando prompt. Then type if you root is hda1
mount /dev/hda1 /rescue -t ext2 (if you use ext2, otherwise ext3 or ReiserFS)
then you should be abtle to locate vi in i think itīs in usr/bin, so it will be:
Iīm on a win comp. so i canīt cross check it, but give it a try