Your fsck must be in /sbin directory. If you load your system form some rescue disk
(e.g. CD or floppy) then you will have / in RAM-disk and no disk partitions mounted.
If it is impossible - try to check mounted partition. It is a bit risky (at least manuals
worn about this), but I tried to do ir several times and succeeded.
Ray
Evan Brown wrote:
Hi Ray
first thanx for all your help so far
I'm booted into single user mode, I have all the same partitions as you, in a bit different order. I can't copy and paste since it doesn't have mouse support loaded,i guess :), can I unmount all the partitions and still have the computer work? cuz wouldn't that just disconnect me from my hard drive completely? what should I type for the fsck command?
Evan
On Wed, 05 Nov 2003 17:50:46 +0200, Ray <[EMAIL PROTECTED]> wrote:
Nice! can you copy and paste the output of fsck? If not, please, find out which of the partitions are Linux and check only them. See example below:
/dev/hda1 * 1 13 104391 83 Linux /dev/hda2 14 274 2096482+ 82 Linux swap /dev/hda3 275 1548 10233405 83 Linux /dev/hda4 1549 14593 104783962+ f Win95 Ext'd (LBA) /dev/hda5 1549 4097 20474811 83 Linux /dev/hda6 4098 4162 522081 83 Linux /dev/hda7 4163 4419 2064321 83 Linux
You shouldn't check hda4 and hda2 - extended partionion and swap partition.
All the rest should be checked.
It would be nice to unmount them before checking if you succeed (depends on how you loaded the system).
Ray Evan Brown wrote:
okay I got that to work fdisk /dev/hda and p.
I have hda1 thru hda7. Should I try fsck'ing those? do I have to unmount them or anything?
Evan Brown
