Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-29-2013, 01:56 PM   #1
LQ Newbie
Registered: Jan 2011
Posts: 29

Rep: Reputation: 0
creating partition image with partimage

I want to create image of mu sda3 partition
What i do not get is sda3 is mounted as slash so if i create image of this partition when restoring will it also overwrite /boot content ? or /boot which is mounted on /sda2 will stay intact ?
due to linux hierarchy i guess it will overwrite boot /boot too
Will this cause problem ? or i should not be worry ?
Old 03-29-2013, 02:20 PM   #2
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
If your /boot is in a different partition from the one you're imaging, it would not be part of the image.

Note that you can NOT (successfully) make an image of a mounted partition. So, if you want to backup one of your distributions, you will need to run partimage from some other distribution on some other partition.

If you have only one distribution installed, consider using clonezilla from a USB stick.
Old 03-29-2013, 03:46 PM   #3
LQ Newbie
Registered: Jan 2011
Posts: 29

Original Poster
Rep: Reputation: 0
Thanks man
would you care to explain a little why /boot wont be overwrote ?

Ah so i need to start server in rescue mode then create image of sda3 on my other drive
i can not create it when its mounted and live right ?
the same is true for restoration ?
Old 03-29-2013, 05:13 PM   #4
Registered: Feb 2013
Location: Berlin
Distribution: Gentoo, Debian
Posts: 172

Rep: Reputation: 25
If you use partimage to backup sda3 then it will backup sda3. If /boot is on sda2 then it will not be backupped.

When you restore the backup to sda3, then it will be restored to sda3 and if /boot is still on sda2 then /boot will not be overwritten.
Old 03-29-2013, 06:34 PM   #5
Senior Member
Registered: Aug 2009
Distribution: CentOS
Posts: 3,347

Rep: Reputation: 1450Reputation: 1450Reputation: 1450Reputation: 1450Reputation: 1450Reputation: 1450Reputation: 1450Reputation: 1450Reputation: 1450Reputation: 1450
Note that partimage has seen no development activity since 2010 (July), and does not support the ext4 filesystem. Old, unmaintained tools have a nasty habit of disappearing just when you need them most. I suggest partclone as a current, albeit incompatible, alternative.
Old 04-01-2013, 08:30 PM   #6
Registered: Feb 2013
Location: Berlin
Distribution: Gentoo, Debian
Posts: 172

Rep: Reputation: 25
Either that (partclone) or better just ntfsclone for NTFS partitions and tar or squashfs for anything else.
Old 04-02-2013, 12:50 AM   #7
Registered: May 2004
Location: Owasso, USA
Posts: 41

Rep: Reputation: 15
I use the PartedMagic LiveCD. It has the most recent Clonezilla that's released. Clonezilla will also use compression. The default is fast and makes a fairly small Archive. My normal sized OS partitions will fit on a DVD for a backup. Not counting booting, etc. it takes about 10-12 minutes to make the Archive. Burning takes less of course.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
partimage fails to restore image of partition which has soft-link of other LV Kaustuv Linux - Enterprise 0 02-25-2012 10:36 AM
Creating image of / partition for disaster recovery EzioAuditore Linux - Desktop 7 04-30-2011 03:06 PM
Creating a GHOST image of my ext3 partition mario_er Mandriva 9 02-28-2009 07:35 AM
Restored Partimage image on a larger partition, problems. Romanus81 Linux - Hardware 1 01-01-2009 11:34 PM
Creating dd image Win2k Partition with split sr_25 Linux - Newbie 5 07-08-2007 10:32 PM

All times are GMT -5. The time now is 07:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration