Need to fix badly-mounted partition.

Derek Broughton news at pointerstop.ca
Mon Mar 20 02:03:08 UTC 2006


Dotan Cohen wrote:

> When I fired up qtparted to do some work on my ~/music partition, I
> get this in the console:
> Error: Invalid argument during seek for read on /dev/hda
> Error: Filesystem was not cleanly unmounted!  You should e2fsck.
> Modifying an unclean filesystem could cause severe corruption.
> Error: Invalid argument during seek for read on /dev/hda
> 
> I don't want to screw anything up, so what would be the advisable
> course of action? Thank you in advance.

umount the partition.  If you can't umount the partition go to single user
mode, and umount it.  Then fsck the partition.  

However, I just have to ask why you're using an ext2 partition these days. 
At _least_ convert it to ext3 - it's just a matter of adding the journal. 
Then if your filesystem doesn't get properly shut down, the journal will be
processed on restart to keep your filesystem clean.
-- 
derek





More information about the kubuntu-users mailing list