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

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

3 Answers  


Who owns the data dictionary?

2 Answers  


How to apply patch for multiple servers .

1 Answers   IBM,


How to findout, if the user is local user or NIS user in the Linux (RHEL)?

1 Answers  


How does the boot process[init levels] work on Linux? How is it different from Solaris?

3 Answers  






why accounting Software does not support on linux?

5 Answers  


Without using w command how can Iknow that who are users logged in and what they are doing and whether they are idle or running mode?

4 Answers  


What are RPM?s, what do they offer?

2 Answers  


tell me some of the Linux HotKeys do you know?

3 Answers  


What is the difference between semaphore and spinlock?

1 Answers  


1. User gaves df -h and the system get hanged. why ? 2. what is the hardlink and softlink mount ? 3. why is portmape should be started ? 4. what is nologin option 5. how to restrict users from accessing nfs ? 6. what is the difference between cpio and tar 7. what are the kernel parameters ? how to find out it ? 8. why we use sysctl.conf ? 9. if we gives init1 from multiuser runlevel, will it affect other users who already logged in to the system ? 10. what will be the available space to use after configuering raid5 with 5 disks each having 5gb spce ?

0 Answers   Oracle,


what restrict telnet for root itself but allow for other user

3 Answers   CA,


Categories