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 |
plz mention some interesting problems you faced and how you solved it?
How to findout, if the user is local user or NIS user in the Linux (RHEL)?
Friends, I don't have enough free space in root directory. but in home directory I have 40gb free. So I can not install anything in root directory (which occupies more space) Please suggest me If there is any possibility to increase the root directory size by minimising the home directory's.
1 which file contains information about os wether it's 32 bit or 64 bit os 2 difference between logical block and physical block?? 3 what is the size of logical block and physical block?? 4 daemon for nfs on client end as well as server end??? 5 how to confirm from client end about nfs server sharing?? 6 what contains information about file and directory creating time or modification time??
how can i create samba server in fedora 9.0 ? and domain/LDAP controller! clilent side is windows pc .?
commands regarding the adding of users into groups n different options with useradd...?
How can i recover the linux system after it was crashed by step by step process..
What text filter can you use to display a binary file in octal numbers?
What are the main differences between RHEL4 & RHEL5?
what are the steps for Password-less ssh
How does the boot process[init levels] work on Linux? How is it different from Solaris?
My root password has been changed, how can i enter into the system without root password?