Linux – how to fix EXT2-fs (sda1): error: ext2_lookup deleted inode referenced XXXX

linux

Some time ago I installed Kubuntu 12.10 on Acer TravelMate 8572G which has Linpus LiveCD Editon v9.2 installed. When I tried to remove Kubuntu, something went wrong and I ended up with a broken Grub. Then I repaired it with Boot Disk Repair but before Linpus loads, I can see plenty of lines of errors like this:

EXT2-fs (sda1): error: ext2_lookup deleted inode referenced XXXX

How can I get rid of them? I don't want to install any other system, just left the laptop as it is with Linpus (I borrowed the laptop to do some things)

Best Answer

Problems with deleted inodes generally can be solved with simply a filesystem check on the device umounted:

e2fsck -f /dev/sda1

As Hauke said, the easiest way to perform checks on umounted filesystems is through a Live medium.

Related Question