On Thu, 1 Oct 1998, Jeff Williamson wrote:

> Subject pretty much sez it.
> Trying to run e2fsck on /dev/hda but need to unmount it first, but how?
> 
> Already booted from startup diskette, but keep getting "device busy" error.
> 
> Anyone?
> 
/dev/hda is the harddrive, not the partition.  I don't think it is
possible to run fsck on /dev/hda - you have to run it on the partition,
which will be /dev/hda1 if you only have one.

To unmount it, you should be able to do:
umount /dev/hda1
If this gives devices busy, then try
fuser /dev/hda1
This should tell you what is using the harddrive.  Kill any programs that
are using it and try again.
If you can't unmount it even after killing everything (because the kernel
is using it or something) then try remounting it read only with
mount /dev/hda1 -o remount,ro

If this fails, then the best bet is probably to kill off as many processes
as you can, then fsck it anyway and hope for the best.

HTH

--
Mike <[EMAIL PROTECTED]>

If I am elected no one will ever have to do their laundry again!

Reply via email to