Announcement

Collapse
No announcement yet.

Need help using Partimage

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need help using Partimage

    I'm using Partimage booting in SystemRescueCD. It shows my main Kubuntu partition as sda1 and an extended partition I created as sda2. What commands in a terminal or GUI would I type to copy sda1 to 2 as a Gzip image backup using Partimage. The manual for Partimage is:

    http://www.partimage.org/Partimage-manual_Usage

    Thanks.

    #2
    Re: Need help using Partimage

    I've never used "SystemRescueCD", but it looks like you're missing a step: First you need to mount one of your volumes from inside the extended partition. I've done this before using Knoppix.

    For instance, say you have /home on sda5, in the extended partion:

    Code:
    mkdir /tmp/dest
    mount /dev/sda5 /tmp/dest
    Then, you can go into partimage and use /tmp/dest/backup_of_sda1.gz as the destination to write the backup to that partition.

    That said, I'd highly recommend copying the image to a partition on a different drive. If SystemRescueCD supports nfs/smb mounts (like Knoppix does), you can even replace the above mount command with a network mount and copy the image to a completely different system (because you never know what can happen <G>).

    -J
    Specs:&nbsp; Intel Core 2 Quad Q6600 (@3Ghz), G.SKILL 4GB DDR2 1066, ASUS Striker II Formula MB, Asus EN9800GTX+ Dark Knight, ABS Tagan BZ800 PS, Antec 900 Case.

    Comment


      #3
      Re: Need help using Partimage

      I'm booting from the SystemRescueCD which contains Partimage. I know I have to mount my main Kubuntu sda1 partition. What commands would I use to copy sda1 to my extended partition sda2 using partimage?

      Comment


        #4
        Re: Need help using Partimage

        you will have to mount the target filesystem manually

        Code:
        mkdir /mnt/sda2
        mount /dev/sda2 /mnt/sda2
        then run partimage

        in the target area to backup to, you will have to put

        /mnt/sda2/mybackupfile

        then it will work after choosig what options you need.

        Comment


          #5
          Re: Need help using Partimage

          "then it will work after choosing what options you need."

          ... and you learn the commands and options from the manual, web sites, FAQ, etc.
          An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

          Comment


            #6
            Re: Need help using Partimage

            Just so you know, there's a fairly detailed how-to on partimage here...
            http://kubuntuforums.net/forums/index.php?topic=13735.0
            Check out my blog for useful scripts and tips... http://igurublog.wordpress.com

            Comment

            Working...
            X