Repairing damaged linux system
Hello people,
I have installed red hat linux 9.0 for learning purpose on separate hard drive that is used mainly for testing. I wanted to learn how to repair damaged linux system and decided to make a small test. I have copied fstab file from /etc directory to users' home directory, and then I deleted fstab from /etc. As expected, system couldn't boot. I could only enter terminal mode, but I have found out that user folder doesn't exist in /home folder anymore. Never mind I had written all contents of fstab to the paper earlier and then I tried create new file fstab in /etc folder with touch command but then I got error message that device id mounted as read only, but I couldn't mount it in rw mode. That is pretty much stupid, I need to make changes on system in order to repair it, but at the same time, system is read only.... What to do in this case? I don't want to install again from CDs, I want to fix this error... Also, I created boot floppy disk, but couldn't do anything with it. How this could be fixed without reinstallation? Thanks in advance |
Boot a liveCD, mount the filesystems, and modify the files you need in order to make the system bootable again.
Serafean |
Try this command:
mount -n -o remount,rw / |
Quote:
|
All times are GMT -5. The time now is 07:33 AM. |