LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 0
creating partition image with partimage


Hello
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 ?
Regards
 
Old 03-29-2013, 02:20 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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
dime111
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
bloody
Member
 
Registered: Feb 2013
Location: Berlin
Distribution: Gentoo, Debian
Posts: 158

Rep: Reputation: 23
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
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 1,452

Rep: Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603
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. http://partclone.org
 
Old 04-01-2013, 08:30 PM   #6
bloody
Member
 
Registered: Feb 2013
Location: Berlin
Distribution: Gentoo, Debian
Posts: 158

Rep: Reputation: 23
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
lucky9
Member
 
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.
 
  


Reply


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 01:40 AM.

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