LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-26-2019, 01:10 PM   #1
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Rep: Reputation: 30
clonezilla ntfs


Hi
i just downloaded clonezilla live ...
my target is to save a ntfs partition to an external usb hard disk
the external disk is huge (1000GB), is already used to store multimedia contents,but it is NTFS Formatted..
looking clonezilla docs i cannot find info about output file system format...i see it uses partclone
so the question is...can the partclone output be directed to an ntfs disk ?
thanks in advance
Maurizio
 
Old 07-26-2019, 01:33 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,136
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
If you are cloning something, you are cloning the file system, files, everything.

If you are making an .iso of the partition, then all you need is a drive with a file system that will allow that size of a file. So not FAT for example if the file is over 4GB, it has a 4GB file size limit.

Code:
dd if=/dev/sdb2 of=myfile.iso bs=2048
That will make an .iso of sdb partition 2. You can save that wherever you have room, and the file system will let you have a file that big.
 
Old 07-26-2019, 04:19 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Clonezilla has two ways to clone. It tries to clone file by file first and if it can't read the filesystem it will clone bit by bit (as in dd)

You may not need to use clonezilla. Gparted can also copy partitions to partitions rather easily.
 
Old 07-26-2019, 06:10 PM   #4
nicedreams
Member
 
Registered: Jun 2003
Location: Phoenix, AZ
Posts: 112

Rep: Reputation: 17
I've used clonezilla to create/restore images and clone over hundreds of sysprep Windows laptops for schools and is amazing every time. It will work with ntfs partitions just fine.

I recommend you use a external hard drive and not a USB thumb drive as they are a lot slower for creating an image on. USB2/3 external hdd/sdd is your best option to create/store the image. Unless you have another internal drive.

Last edited by nicedreams; 07-26-2019 at 06:14 PM.
 
Old 07-27-2019, 12:39 PM   #5
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30
Hi
Thanks to all
to nicedream
i forget to write... i'm only creating a backup,so i will use "save disk image"
in the past i was using partimage..
as output i will use an external ntfs drive usb connected,it already contains data..
i need confirmations that clonezialla will create a destination file in the output ntfs dirve withou destroying existing files
thanks in advance
Maurizio
 
Old 07-27-2019, 01:30 PM   #6
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,136
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Re read post 2 where I explained that.
 
Old 07-27-2019, 03:32 PM   #7
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30
Ok Thanks ... i will proceed
 
Old 07-30-2019, 08:23 AM   #8
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30
Hi ... i forget last question...
From disk uses 42,6 Gb ...i have to buy an usb pen to save...
more or less which is the target size ?
thanks in advance
Maurizio
 
Old 07-30-2019, 09:07 AM   #9
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,136
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Not sure what you are asking.
If you have or are making a disk image that is 42.6GB in size. Then the storage device will need to have at least 42.6GB free space on it.

Microsoft says
https://answers.microsoft.com/en-us/...6-f7a6976ac0c0

NTFS maximum file size is 16 × 1024^6
Code:
>>> 16 * (1024 ** 6)
18446744073709551616
 
Old 07-30-2019, 11:53 PM   #10
Beryllos
Member
 
Registered: Apr 2013
Location: Massachusetts
Distribution: Debian
Posts: 529

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
dd works and is simple, but the disadvantage is that it copies unused space and therefore makes an image file that is larger than necessary.

clonezilla by default skips the unused blocks and makes a smaller image file. When you restore from the image, it restores the layout of the unused blocks but not their content.

To answer the original question as clarified in post #5, yes, clonezilla can save disk or partition images to ntfs filesystems, and it does it non-destructively. That is how I use clonezilla for backup, saving images to an ntfs filesystem on an external USB hard drive which contains many other files.

Last edited by Beryllos; 07-30-2019 at 11:57 PM. Reason: added the comment about restoring unused blocks
 
Old 07-31-2019, 03:05 PM   #11
verndog
Member
 
Registered: Oct 2007
Posts: 278

Rep: Reputation: 67
I have partclone installed. Also pigz (Parallel Zip), then this clones partition saving only used sectors:
Code:
sudo ./partclone.ntfs -z 10485760 -c -s /dev/nvme0n1p3 -o - |pigz -c --fast -b 1024 -p 16 > /media/vmc/500GUSB/SAVE/CLONES/Windows3.gz;cat /media/vmc/500GUSB/SAVE/CLONES/Windows3.gz|pigz -d -c|sudo ./partclone.chkimg -s -
The second part of the command verifies clone.
 
Old 07-31-2019, 09:53 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Usually clone programs do try to copy file by file and in the process they also have some options for compression level. If you copy even a full disk 42G then it will still require less in almost all cases. Clonezilla will make a number of files for it's task but the boot area and the few data files will be minimal.

Clonezilla fully reads NTFS unless it has been bitlockered so it will first try to read file by file.
 
  


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
LXer: Clonezilla-release Stable Clonezilla live (2.0.1-15) Released LXer Syndicated Linux News 0 12-18-2012 09:21 PM
PXE Error using DRBL Clonezilla on RedHat 8.0 Count_Cloppy Red Hat 4 08-30-2012 08:48 PM
LXer: Manage partitions and disks with GParted-Clonezilla live CD LXer Syndicated Linux News 0 07-02-2007 10:46 PM
Using Clonezilla linux partition image to windows ssh server killerforce Linux - Hardware 1 06-01-2007 09:17 AM
Clonezilla Problems Count_Cloppy Linux - Newbie 0 02-09-2007 02:52 AM

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

All times are GMT -5. The time now is 10:13 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
Open Source Consulting | Domain Registration