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



I have accidently deleted my fstab... how do i recover/ regenerate the file?????? in rescue mode i ..

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

I have accidently deleted my fstab... how do i recover/ regenerate the file?????? in rescue mode i ..

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

I have accidently deleted my fstab... how do i recover/ regenerate the file?????? in rescue mode i ..

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

I have accidently deleted my fstab... how do i recover/ regenerate the file?????? in rescue mode i ..

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

I have accidently deleted my fstab... how do i recover/ regenerate the file?????? in rescue mode i ..

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

I have accidently deleted my fstab... how do i recover/ regenerate the file?????? in rescue mode i ..

Answer / gavy balintag

how do you open the command when you go to rescue mode??

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux AllOther Interview Questions

commands regarding the adding of users into groups n different options with useradd...?

5 Answers   IBM,


How do display error messages instantly when command fails?

4 Answers  


Tell me the 5 differences between Linux and Unix?

4 Answers  


Tell me command which is use for create quota database in Linux.

7 Answers   Wipro,


How is the difference between ftp and sftp ? and explain how to create ftp server and sftp server with example ?

2 Answers   Bank Of America, IBM,






How to build new filesystem ? and what is irig file system?

3 Answers  


how to install linux OS? pls send step by step

3 Answers  


how u use the iptable firewall to restrict ssh,telnet,ftp

9 Answers  


how to recollect root password

3 Answers   Google,


Give a Linux shell command to find all files in a directory which contain ip addresses.

1 Answers   Amazon,


Which directory is closer to the top of the file system tree, parent directory or current directory?

3 Answers  


What is the complete name of the default configuration file for LILO?

1 Answers  


Categories