Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Missing /etc/fstab file
Name: amogh_ Date: January 22, 2005 at 22:39:54 Pacific OS: RH8.0 + Win XP CPU/Ram: 800MHz/256MB
Comment:
hi, A friend of mine has accidentally deleted /etc/fstab file. Red Hat 8.0 is not booting now.
Is there any method for recovery? He says he is getting a command prompt may be for passing parameters to modify file system so that linux boots. Both of us aren't aware of what parameters or commands cud be passed.
Pls tell what kind of parameters, if any present , could be passed.
Name: ashutoshsapre Date: January 23, 2005 at 22:38:20 Pacific
Reply:
you didn't tell at what point you get the command prompt, are you able to login into your account? what you can do here is you can use the disc 1 to boot and then type "linux rescue" just you'll be asked to mount the existing installed linux of ur computer to be mounted in /mnt/sysimage, after you get the prompt just copy the /etc/fstab file to /mnt/sysimage/etc then change the root directory by using the command "chroot /mnt/sysimage" now ur using ur harddisk installed linux, now edit the file in vi. this is the example file:
Summary: Just to give an updape. My inodes got messed up and I think that my /etc/fstab got obliterated when I ran fsck to clean my system. I ended up using a boot disk with a copy of the kernel to run li...
Summary: I have a windows share mounted on my Linux box with samba. Is there not a way I can configure my /etc/fstab file so that it it is mounted automaticlly everytime? ...
Summary: Hai, I have a redhat 8 running in my system. Yesterday, I reinstalled because of some reasons. I have two partitions ie / and /linBackup. I decided to format / and left the /linBackup because its jus...