LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-22-2015, 06:52 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post CloneZilla via Command Line


Hello.
I use CloneZilla but I want to use it via command line but How? Please look at below link :

http://www.geekyprojects.com/cloning...illa-tutorial/

When I see "step 6", I choose "Enter_Shell" and entered below command :

# partclone.ntfs -R -c -s /dev/sdXX -o /mnt/filename

Is it OK for Cloning a partition?

Is CloneZilla just an interface for "partimage" and "dd" tools?

Thank you.
 
Old 09-23-2015, 10:01 AM   #2
robertdaleweir
Member
 
Registered: Jul 2006
Location: Canada
Distribution: Fedora
Posts: 93

Rep: Reputation: 11
Quote:
Originally Posted by hack3rcon View Post
Hello.
I use CloneZilla but I want to use it via command line but How? Please look at below link :

http://www.geekyprojects.com/cloning...illa-tutorial/

When I see "step 6", I choose "Enter_Shell" and entered below command :

# partclone.ntfs -R -c -s /dev/sdXX -o /mnt/filename

Is it OK for Cloning a partition?

Is CloneZilla just an interface for "partimage" and "dd" tools?

Thank you.
Hi
Code:
Is CloneZilla just an interface for "partimage" and "dd" tools?
No "partimage" is another program, separate from Clonezilla. Clonezilla will revert to "dd" if it fails to work otherwise.
Robert
 
Old 09-23-2015, 04:50 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Clonezilla has said on their web page that they use a collection of opensouce programs. So, yes it is in some ways a front end.

Partclone is a stand alone program I think. It should be OK for cloning a partition.

Last edited by jefro; 09-23-2015 at 05:03 PM.
 
1 members found this post helpful.
Old 09-26-2015, 09:22 AM   #4
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Can I open this Partition image and see the content of it?
 
Old 09-26-2015, 02:47 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
I'd think so but that isn't exactly as easy as clicking on the file. I don't think there is a way yet to mount this image to some subdirctory and view it's contents. It has been suggested many times. The solution seems to be restore it all to a different location.

Someone else may know a way to access it with tar or other means. Might ask it on partimage pages if they have them.
 
Old 09-27-2015, 12:25 PM   #6
robertdaleweir
Member
 
Registered: Jul 2006
Location: Canada
Distribution: Fedora
Posts: 93

Rep: Reputation: 11
Quote:
Originally Posted by hack3rcon View Post
Can I open this Partition image and see the content of it?
Hi hack3rcon
I have successfully used the following procedure but it is a fairly time consuming process. http://blog.christosoft.de/2012/05/m...e-file-browse/
 
Old 10-05-2015, 12:55 AM   #7
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
For recover it to other HDD, Must I define a partition size like first HDD partition? If my second HDD partition larger than my first HDD partition, Can it cause problem?
 
Old 10-05-2015, 06:43 AM   #8
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Any idea?
 
Old 10-05-2015, 02:42 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
If you use clonezilla then it tends to need a size equal to or greater. Not sure about partimage. I'd restore it to the correct size then if needed expand it.
 
Old 10-05-2015, 11:43 PM   #10
robertdaleweir
Member
 
Registered: Jul 2006
Location: Canada
Distribution: Fedora
Posts: 93

Rep: Reputation: 11
Quote:
Originally Posted by hack3rcon View Post
For recover it to other HDD, Must I define a partition size like first HDD partition? If my second HDD partition larger than my first HDD partition, Can it cause problem?
Clonezilla creates its own partitions as required. The only thing that is necessary is that the drive you wish to restore to is at least as large as the one you took the image of originally. It does not matter what partitions are present as they will be written over. This is true for a complete disk restore, I am not that familiar with partitions done separately.
 
Old 10-06-2015, 05:33 AM   #11
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Thank you.
 
  


Reply



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
Running clonezilla from command line on live CD Mark_667 Linux - Software 5 02-08-2014 05:58 PM
LXer: Clonezilla-release Stable Clonezilla live (2.0.1-15) Released LXer Syndicated Linux News 0 12-18-2012 09:21 PM
[SOLVED] Cursor does not move to the bottom line and overwrite to same line on command line mesuutt Linux - Newbie 3 02-25-2012 08:04 AM
xine command line? or some other command line only engine? lumix Linux - Software 2 08-10-2007 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:18 AM.

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
Open Source Consulting | Domain Registration