I have accidently deleted my fstab... how do i recover/
regenerate the file?????? in rescue mode i cannot create a
new file since the filesystem is readonly and could not
mount in readwrite mode ?????????
Answers were Sorted based on User's Feedback
Answer / sudhir
first of all go to rescue mode and the
run the command fdisk -l and see the / which is using
like /dev/sda5 ?
then mount -o rw /dev/sda5 /1
cd /1/etc;vi fstab
put the entry of ur filesytem at here manually
form sudhir sharma
| Is This Answer Correct ? | 32 Yes | 4 No |
Answer / nikhil vasishta
it is always suggested to take a regular backup of /etc
directory if u have configured a lot of services in ur
server still, if you see in /etc/mtab file, u'll get all
your currently mounted partitions and using that file u can
recreate fstab. hope this will help.
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / jitendra kirar
go to the rescue mode and type the command
mount -o remount rw /
mow type
vi /etc/fstab
now you can edit the file. after edit save the file and
reboot the system.
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / raj kumar yadav
Go in rescue mode
mount -o remount rw /
cp /etc/mtab /etc/fstab
otherwise make it manualy
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ali rao
I deleted vold.fstab when I reboot my tab phone storage or external sd is not showing please help me.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / gavy balintag
how do you open the command when you go to rescue mode??
| Is This Answer Correct ? | 0 Yes | 0 No |
what is NIS Server...?
how do i check which package has installed some command suppose ls , mkdir or whatever ???
How to check all open ports on linux machine and block unsed ports????????
How to Create NIS Server And NIS Client? Explain With Example?
I want to configure production interface and manage interface, how to configure both interfaces in Linux. please post the answers
Why is it suggested to disable journalism in ext4 filesystem?
How to build new filesystem ? and what is irig file system?
i installed clustering packages.When i try to run it getting LUCI error...what is it..??
What is the minimum number of partitions you need to install Linux?
What is Hard mount and soft Mount?
Without Using $date -dyesterday. How I get the yesterday's date ?
what is the difference betweenh the NFS and FTP?