renamed mount file by accident
I am brand new ti linux. My issued laptop was hanging up when I tried to boot. I got it to boot and to prevent it from hanging up again I thought I would rename the file that was causing problems. Well it turned out the mount command is important (duh). I have tried to reboot with system rescue. When the laptop boots up i can't find the directory/drive holding the mount command so I can change it back. Not being familiar with linux in the first place the help sections are not helping much. I have been working on this for 30 hours now and am stumped. Any ideas please
|
The commands to automatically mount partitions are in /etc/fstab.
When you boot into system rescue you are dealing with two different operating systems. The rescue CD has its own /etc/fstab and you want to repair the /etc/fstab on your hard drive. When you are the rescue system you need to mount your / partition and edit the /etc/fstab on your / partitions. Assuming that you / partition is /dev/hda1 and that it is an ext3 file system then the commands would be: mkdir /sparrow mount -t ext3 /dev/hda1 /sparrow vi /sparrow/etc/fstab You might prefer to use some other editor than vi. Any editor available on the rescue system will do. -------------------- Steve Stites |
error msgs
mount wrong fs type, bad option, bad superblock on /dev/sda1,
missing code page or helper program, I tried this using ext2 and ext3. also sda1 sda2 sdb1 |
Please supply some more information:
First, I am not clear as to what file you changed (renamed). Second, while running from a liveCD (rescue system, or whatever) issue the command "fdisk -l" while running as root. Post the results here |
Fixed
IT guy fixed machine today. Used Slack start up disk to gain access to files. Thanks to those who tried to help a newbie.
|
All times are GMT -5. The time now is 07:36 PM. |