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

How To Hide the FTP Version?

3 Answers   Wipro,


Why is it suggested to disable journalism in ext4 filesystem?

0 Answers   IBM, TCS,


what are the steps for Password-less ssh

5 Answers   IBM, Mind Tree,


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

1 Answers   Amazon,


1.how to know cpu information on linux system? 2.how to hardware information on linux system? 3.if we add the new user what are the files will be changed? 4.how to remove the cache in squid server ? 5.how to know ur useing 32bit r 64 bit os ? 6.at booting process at init level which file it is reads? 7.if ur system performance is show what can u do ? 8.if ur file system corrupted what can u do ? fsck also not working? 9.how did u do health check in linux? 10.how did u check system performance in linux? 11.how did u create NIS server? give me the steps ? 12.how did u add a packages in linux ? 13.how did u know depended packages for any package useing rpm how u know? 14.how did you monitor cronjobs in linux ? 15.what is the use of logroted? and how did u do ? 16.port no is already in use so what canu do for that in http? 17.how to samba configurated are not ? there are any command for that ? 18.how to create a NTP Client using commands ? not as graphical... 19.how to know how many members are using any service? like ftp are any other services? 20.what is the differences between cmp,diff,comm commands?

3 Answers  






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 find out drivers of installed devices in linux (RHEL)?

2 Answers  


What is the name and path of the main system log?

3 Answers  


what are the different types of Backups..?

6 Answers   IBM, SDG,


How to sort a file of size 2N bytes, if I have N bytes of memory?

2 Answers   Yahoo,


Hi all Could u plz tell me how I can get UNIX/Linux Certification

2 Answers   Accenture,


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

9 Answers  


Categories