LinuxQuestions.org
Visit Jeremy's Blog.
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 08-24-2012, 08:18 AM   #1
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Rep: Reputation: Disabled
How to install Clonezilla as in Magic Parted?


In Magic Parted, which is run as live USB or CD; there is Clonezilla inside and you can run Clonezilla while doing other things on Magic Parted.
Can I do this in my linux partition?

What I want to do is;
While I am using my linux; I want to be able to clone/restore unmounted partitions/disks.

For example if the linux I am on is sda5;

I want to be able to clone/restore unmounted sdb or unmounted sda3 and sda4.

Is it possible and how?
 
Old 08-24-2012, 03:21 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,963

Rep: Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131
It is possible to do that. Clonzilla is based on other tools that you could install. The makers of clonezilla use those tools on top of a live cd/usb distro.

Parted magic I think used gparted and you generally can easily install that to most mainstream distro's.

They offer a usb version that you could dd to a small partition and set your loader to offer it as a choice.

Personally, I wouldn't bother installing to a hard drive. I'd make a live usb or simply boot to the cd.

You already have tools to clone in a file based method if you want in almost every distro. Gparted may be one simple way. Clonezilla can break up files to dvd sized and there may be a issue that you might like so consider the usb image dd'd to a partition.

This guide is a bit out of date but I think it can still work. http://packratstudios.com/index.php/...k-start-guide/


Here is a neat trick you could try also. A web booted gparted distro. http://www.netboot.me/browse/tools/disk/

Last edited by jefro; 08-24-2012 at 03:26 PM.
 
Old 08-24-2012, 04:47 PM   #3
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
Thanks for your reply.

I want it as an application so that I can do whatever I want on the operating system while it is cloning/restoring drives.
Clonezilla does not have to break the files. I have it on my hard drive as a partition in which with one click I can clone/restore partitions in the way I want (no split -You can choose if it going to split or not-, check file system, check image, etc.); but with that way, I am not able to use the computer.
In Parted Magic, I can run it as an application, which means I can be on the internet while it is working.
What I wanted to know was that how could I implement this to my operating system.
I had read the link you sent me before, which is related to a pxe version related to servers.
I just want to clone my own computer's harddisks.

I should check about the cloning tools released with distros as you said, I may find an effective and fast tool to fit my needs.
It is just that I have been using Clonezilla for so long that I got used to it.

I am attaching a screenshot of a screen where Clonezilla is running as an application.
While it is running, I am writing this message to you, and running the terminal and gparted at the same time.
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 08242012 - 02:45:43 PM.png
Views:	42
Size:	196.9 KB
ID:	10461  

Last edited by imayneed; 08-24-2012 at 04:48 PM.
 
Old 08-24-2012, 05:46 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,963

Rep: Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131
"I am attaching a screenshot of a screen where Clonezilla is running as an application."

You seem to have solved your question.

"I want it as an application so that I can do whatever I want on the operating system while it is cloning/restoring drives."
 
Old 08-24-2012, 05:49 PM   #5
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
No, no.
That screenshot is from Parted Magic Live USB, not from my operating system.
I want to be able to do that in my operating system.
 
Old 08-24-2012, 09:57 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,963

Rep: Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131
From the Parted Magic page.

" About

The Parted Magic OS employs core programs of GParted and Parted to handle partitioning tasks with ease, while featuring other useful software (e.g. Partimage, TestDisk, Truecrypt, Clonezilla, G4L, SuperGrubDisk, ddrescue, etc…) and an excellent set of info to benefit the user. An extensive collection of file system tools are also included, as Parted Magic supports the following: btrfs, ext2, ext3, ext4, fat16, fat32, hfs, hfs+, jfs, linux-swap, ntfs, reiserfs, and xfs. Parted Magic requires at least a i586 processor and 312MB of RAM to operate or 175MB in “Live” mode."

So,
You have all those tools available to you on most distro's. You can install or use gparted to copy a partition. Gparted can also re-size. You generally can't resize mounted partitions. You may or may not fully clone a mounted partition correctly. For that, you'd need a live state backup. If this is a boot partition you can boot to some live cd/usb and then copy it.

Your original question was how to clone some unmounted partition so simple tools like gparted would do. Tar, even the command dd would work.

You could generally use the system while these tasks are being done.

Let me know if that is not what you need.

Last edited by jefro; 08-24-2012 at 09:59 PM.
 
Old 08-24-2012, 10:20 PM   #7
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
No, that is what I want.

As I told you before; I mean as you told me; I need to check and learn and try other linux tools for cloning/restoring partitions/disks.
And yes, what you described is what I want and those tools are available in linux distros for sure.
I just need to learn about them and their usage.
I created the thread when I saw Clonezilla as an application in Magic Parted (Haven't used that for quite sometime; was just using gparted and clonezilla and gptsync). I said "Oh, man; I want this" because I already have Clonezilla in my hard drive and I arranged the boot menu to be able to clone and restore partition and disks with one click (Of course, this took several boot options to do with one click. Every boot option is doing another job). It was just that I am used to Clonezilla; but gotta learn about others to be better.
When I saw Clonezilla, working in an operating system; I thought that maybe I could directly do it in the operating system by creating a menu for different commands. But I guess when I get used to the other cloning/restoring tools and commands of linux; maybe I can do it with the others.

Thanks for your replies.
 
Old 08-25-2012, 01:31 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,963

Rep: Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131
"Your original question was how to clone some unmounted partition so simple tools like gparted would do. Tar, even the command dd would work. "

You can either copy by bit by bit or file by file.

Bit by bit tends to be the dd command. Many examples exist for that but I warn you to be careful. dd has no safety features.

File by file tends to be tools like tar command. Many people use tar with some compression.

Basic tools are usually the basis for larger gui apps.
 
Old 02-07-2013, 03:25 PM   #9
travelinrob
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
imayneed-

Did you find the answer to your question? I, too, would like to be able to simply install Clonezilla within my distro instead of having to run Parted Magic or the Clonezilla live image. If not, perhaps asking the fine folks who make Parted Magic can help us solve our dilemma.
 
  


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
Parted Magic vs. G-parted jk07 Linux - Software 6 09-23-2012 04:46 AM
LXer: Parted Magic review LXer Syndicated Linux News 0 10-20-2010 01:50 PM
LXer: Parted Magic 3.6 released LXer Syndicated Linux News 0 02-18-2009 12:30 AM
Parted Magic LiveCD for partitioning Patrick Verner Linux - Distributions 5 11-18-2008 03:36 AM
Install Parted Magic to USB. citra.cool2 Linux - Newbie 1 04-25-2008 03:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:11 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration