Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
if you have a liveCD boot it up and use 'e2fsck /dev/deviceFileName' on the root partition that was not shut down properly. if you dont have one download a very simple one such as DSL. 50mb download.
if you can log in on the computer and view the /etc/fstab file but its empty, can u just edit it and add your entries manually? if you dont know how then let us know how your hard drive(s) partitions are layed out and what partition is for what (ie /dev/hdb2 is /boot, etc)
aero, use a live CD to edit your /etc/fstab file. search distrowatch.com or wherever to find a live distro to suit your needs (any will do however). check out 'man mount', specifically the paragraph that talks about the 6th field for a mount command or fstab entry (fs_passno section). read this section and edit the /etc/fstab file accordingly, or if you dont know then just add a ' 0' (zero) to the line in your /etc/fstab file that doesnt contain 6 fields.
for the one who have the same problem like me.
just follow the naroj help.
use live CD to boot the computer (in my case use damn small linux).
after finish booting. open terminal
type sudo su press enter to log in as root.
after that you go to /mnt and ls.
you will see all the mount point for the harddisk.
just mount your drive the hold the root file system by
#mount /dev/hda6 /mnt/hda6
(in my case i use hda6 becuase it hold root file system here)
after you mount you edit fstab by vi /mnt/hda6/etc/fstab
after you finish editing fstab. then try to reboot.
the content inside the fstab just search internet for suggestion.