The fstab is such a critical file to your system and it is a shame that it is so misunderstood or not understood at all. It resides in / partition.If you changes any entry which are defatult in fstab and then you reboot your system, your system will not boot and will give you some errors,like:--
*Kernel panic
*An error occured trying to mount some or all of your system...............
For the solution,follow this procedure
>Start the rescue mode
>After having shell
3.1# pwd <-- it will show you / partition
3.1# cd
3.1# pwd <-- now it will show you /tmp partition
> Create a directory
3.1# mkdir abc
> You have to find out which partition is / , so that you can mount the directory and correct the lines
> To find out, which partition is / , mount all the partitions one by one
3.1# fdisk -l
3.1# mount /dev/sda2 abc
> Now open the mounted directory
3.1# ls abc <--- if this partition shows you the directories like /home, /bin, /sbin etc,its your / directory
> Now open the fstab
3.1# vi abc/etc/fstab
>Correct the wrong enteries, then save and exit
> Now umount the directory and exit
3.1# umount abc
3.1# exit
No comments:
Post a Comment