Default Mount Point
I've killed my /etc/fstab file. I wanna copy a new /etc/fstab from fd0 onto my Fedora Core 3 system.
I cannot edit my existing /etc/fstab from linux rescue, because the root filesystem is not mounted. What is the command to mount the root filesystem?? # mount /whatismyrootfscalled? /whereismyrootfsmounted? # cd /dev/fd0 /media/floppy # cp fstab /etc/fstab Thanks people =) |
Rescue mode will mount the / partition at /mnt/sysimage. Type in the command:
chroot /mnt/sysimage Now you can copy the fstab file to the /etc. If the root partition is not being mounted then you will need to figure out which one it is. Post the output of the command fdisk -l (that is a small L) The e2label command will display the label of a partition. Use this to identify the partitions assuming your using ext3 partitions. example: e2label /dev/hda1 |
Thankyou. I'll give that a try!
=) |
Code:
The rescue environment will now attempt to find you linux installation and mount it under the directory /mnt/sysimage. You can then make any changes required to your system. If you want to proceed with this step choose 'Continue'. You can also choose to mount your file systems read-only instead of read-write by choosing 'Read-Only'. Code:
If for some reason this process fails you can choose 'Skip' and this step will be skipped and you will go directly to a command shell. Code:
Searching for Fedora Core 3 installations.... Code:
Rescue Code:
# chroot /mnt/sysimage Thanks again =) |
What's with the scroll bars? :mad: (Sorry)
|
It appears that rescue is not mounting the root partition. To determine roots partition list the output of the command:
fdisk -l You can mount the floppy to any directory. mkdir /mnt/floppy mount -t vfat /dev/fd0 /mnt/floppy |
OK, here's what happened:
Code:
Checking root filesystem |
mount it rw manually
|
All times are GMT -5. The time now is 01:12 PM. |