Skip to content
Javier Cardona edited this page Feb 29, 2012 · 1 revision

LOOPDEV=/dev/loop0
MOUNTPT=/mnt/qemu-rootfs

sudo umount $MOUNTPT
sudo losetup -s /dev/loop0 ~/qemu/rootfs-qemu.img
sudo fsck -C -p /dev/loop0