My Certifications

LPI

Comptia A+
BB Training
Certified Ethical Hacker


Tags

This will be shown to users with no Flash or Javascript.
Restore a partimage backup to loopback PDF Print E-mail
User Rating: / 3
PoorBest 
Written by Jason Kendall   
Sunday, 07 September 2008 21:57
  1. You need a file to mount as a HDD device - using DD, the following will instantly create a file of SIZE Gigabytes:
    • dd if=/dev/zero of=myharddisk.img bs=1000 count=0 seek=$[1000*1000*SIZE]
  2.  You need to make this file look like a block device (Choose a free /dev/loop device):
    • losetup /dev/loop0 myharddisk.img
  3. Start partimage manually from the command line, pointing to your loop device
    • partimage /dev/loop0 backupfile.000
  4. Remove the file from the loop device
    • losetup -d /dev/loop0
  5. Mount the new file on a directory
    • mount myharddisk.img /path/to/dir -o loop
  6. Enjoy the backup's files

Add your comment

Your name:
Your email:
Subject:
Comment:
 

Like it? Share it!

Add to: JBookmarks Add to: Facebook Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: StumbleUpon Add to: Slashdot Add to: Technorati Add to: Google Information