Linux not booting after editing fstab...
I was not getting the windows drives mounted in my login. I am getting it mounted only in root login, so i edited the fstab file as one of my friend said as (\dev\hda7 \media\songs defaults 0 0). But now the linux itself is not booting. It stops with "loading ntfs version 3.1. What should i do ? help me plz!
|
How far in the boot process do you get?
I expect you are getting through some of init before it "stops booting". What you could do is boot from a live cd, or the first cd of an installation, or a resuce cd, and simply drop to the command prompt and edit /etc/fstab removing (or commenting) that line. Reboot and confirm that you can now boot. As far as the line you entered in fstab, you are missing the 3rd field that defines what fstype it is. I believe this is mandatory (though I could be wrong) which is why you are having problems. For example, your line should be something like: "\dev\hda7 \media\songs vfat defaults 0 0" or "\dev\hda7 \media\songs ntfs defaults 0 0". |
Quote:
|
If you don't know what type of file system you have on your drive you can use "auto" in lieu of "fat32" or "ntfs"
Code:
\dev\hda7 \media\songs auto defaults 0 0 |
forward slashes, folks:
Quote:
1. Look in /var/log/messages for any related errors 2. Fix (or comment out) the offending fstab entry and reboot If you're not able to boot and/or log on, then: 1. Try booting from your install CD 2. Post back for details on how to mount your hard disk and fix the problem (when booting in "rescue mode" from install CD) |
hi thz guys i got it right!!
|
All times are GMT -5. The time now is 12:30 AM. |