Hi mike, 

You  can't unmount the root partition of the booted system because its
pretty critical to the health of your system. Instead what i would
suggest is to boot a rescue floppy and run fsck from your booted disk.
Note. Don't use a boot floppy which mounts your root partition as its
root as it will defeat the purpose.

May i suggest you download the following two files
http://ftp.uk.debian.org/debian/dists/potato/main/disks-i386/2.2.26-2001-06-14/images-1.44/rescue.bin
http://ftp.uk.debian.org/debian/dists/potato/main/disks-i386/2.2.26-2001-06-14/images-1.44/root.bin
which will boot a completely standalone environment and unless i'm
mistaken the root image has fsck on it.

You could  also use any other rescue disk as long as it doesnt mount
root. Linuxcare do an excellent rescue cd which fits on a bootable
business card cd thingy.

I hope that helps

David



On Thu, 2001-11-22 at 20:33, Mike wrote:
> Hi 
> 
> Following my last Email to the group Colin suggested a few things to check 
> out my failing machine, but I am having problems.
> 
> Colin suggested running fsck on all my partitions but I keep getting error's 
> and warnings that are worrying.  The filesystem is ext3.
> 
> When I try and fsck my root partition it says
> 
> Parallelizing fsck version 1.23 (15-Aug-2001)
> e2fsck 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09
> /dev/hda3 is mounted.
> 
> WARNING!!!  Running e2fsck on a mounted filesystem may cause
> SEVERE filesystem damage.
> 
> Do you really want to continue (y/n)?
> 
> I choose no and tried 
> 
> umount /dev/hda3
> it says:      device or resource busy.
> 
> Is this the right version of fsck (it mentions EXT2 above)? I read the man 
> pages and think that this does not matter as it is a wrapper programme.
> 
> How can I unmount my root filesystem to run fsck?
> 
> Sorry is these questions are a bit simplistic :)
> 
> Cheers 
> Mike
> 
> 
> 
> 
> --------------------------------------------------------------------
> http://www.lug.org.uk                   http://www.linuxportal.co.uk
> http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
> --------------------------------------------------------------------


--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to