You are not logged in.
I'm on a live CD, trying to fix a corrupted file system. I have to replace a superblock or something, so I am doing this;
mint@mint ~ $ sudo fsck -b 98304 -y -t ext3 /dev/sda4
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
fsck.ext3: Device or resource busy while trying to open /dev/sda4
Filesystem mounted or opened exclusively by another program?
I am 100% certain the drive is NOT mounted. Here is proof;
sudo fuser -vm /dev/sda4
(no output) AND
mint@mint ~ $ sudo umount /dev/sda4
umount: /dev/sda4: not mounted
Any help appreciated.
Offline
Hmmm that's a strange one.
df
will show your mounted partitions.
make sure you didn't cd into /dev/sda4. and make sure no other programs are trying to access sda4 ie gparted, another file system checker. Maybe the partition isn't sda4 in the livecd.
Offline