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 the difference between an argument and an option/switch?
What command can you use to review boot messages?
Without Using $date -dyesterday. How I get the yesterday's date ?
My Linux server in the two lan card one lan card is ok working but second lan card after restart daily lan card deactivate and then manual activate then properly working but after restart repeat this problem.(Fedora O.S.) Pls tell me solved this problem.
what restrict telnet for root itself but allow for other user
what are the different types of Backups..?
What is the difference between ext3 and ext4?
someone already asked 'what is diff between unix & Linux' can I ask the same but more nuanced...I have 7 years app support of unix, have never seen Linux BUT need to bluff my way through in an interview i e say that I have use Linux. What are the most important things I need to know?
will u plz send me the complete steps of installation of red hat linux on intel's core 2 duo processor?
what is difference between TFTP abd FTP?
How to ""Add"" not replace address to same network card other than the alias way.... ??????
How to Trouble shoot performance issue in RHEL administration ? please give to one example