Tim's LTS

My comments and place to store stuff I will most likely forget.

Menu

Skip to content

Archive of entries posted on March 2015

fsck check of partition inside KVM image

Posted by floyd on 20 March 2015, 8:30 am

So here is a fun one. We have a corrupted Linux disk partition within a KVM image. We want to run fsck on the root partition inside the KVM image. To do this we can mount it as a loop device losetup -vf path_to_your_image we then kpartx -av /dev/loop0 /dev/mapper now contains links to the …

Continue reading ‘fsck check of partition inside KVM image’ »

Filed under Linux

Recent Posts

  • Systemd and Centos
  • fsck check of partition inside KVM image
  • Useful Git commands
  • Get outstanding balancedetails emailed from Digital Ocean
  • Migrating backuppc configuration to a new system / VM

Recent Comments

    Archives

    • May 2024
    • March 2015
    • April 2014
    • February 2014
    • December 2013
    • February 2013
    • January 2013
    • December 2012

    Categories

    • Android
    • Backuppc
    • Development
    • Linux
    • Ruby / Rails
    • Uncategorized

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    © 2025 Tim's LTS
    Powered by WordPress | Theme F2.