Quote:
Originally Posted by macintoshiba
Hi guys, i'm getting an error on system bootup that my root partition can't be resolved and that it is read only.i have vfat partitions auto mounted[in fstab] which on log on, i find mounted on my desktop as well a the respective mount point[/mnt]. Can fsck fix this problem and if so how can i do it?
|
Here are my suggestion
- Attempt to boot single user mode by adding "-s" at the LILO or GRUB prompt. If you get a prompt (sometimes you will need to enter the root password), then fsck the ext2, ext3 partitions (more on this below) as indicated by the /etc/fstab file.
- If that fails, boot your distribution CD in "rescue" mode. If your CD does not have a rescue mode, get Knoppix or Ubuntu. You can use these as rescue CDs. In this case, you will not have access to your /etc/fstab file since that file is unavailable. Get a list of ext2,ext3 partitions from running "fdisk" and fsck them. Also, the file /proc/partitions lists the know disks and partitions.
Run fsck with a command like "fsck -y /dev/hda2" (adjust hda2 to your partitions) on each ext2, ext3 partition.
However, your problem might be that the "root=/dev/<partition>" given with the boot line to LILO or GRUB might be incorrect. In that case, find out what your root partition is and add "root=/dev/<partition>" to the boot line.