Page 1 of 1

Compressed Disk Image App for Porteus

Posted: 14 Feb 2014, 15:31
by jimwg
Greetings!

Subject line says it all. Compressed Disk Image App for Porteus. I want to image and store away a Mint flash drive to clear it for Porteus. If there's none for Porteus I can make do with one that runs on Puppy.

Thanks for any hints.

Jim in NYC

Re: Compressed Disk Image App for Porteus

Posted: 14 Feb 2014, 16:25
by fanthom
you could use dd + gzip compression (change partitions to match yours):

Code: Select all

dd if=/dev/sdb6 | gzip > /mnt/sda1/backup.gz

Re: Compressed Disk Image App for Porteus

Posted: 14 Feb 2014, 16:42
by donald

Re: Compressed Disk Image App for Porteus

Posted: 14 Feb 2014, 18:33
by Slaxmax
@jimwg

Try pigz which is multithreaded gzip
http://zlib.net/pigz/

package i486
http://slackware.org.uk/people/alphagee ... -1_ejt.txz

package x86_64
ftp://ftp.yandex.ru/mirrors/agilialinux ... 6_64-1.txz

example
dd if=/dev/sdb6 | pigz > /mnt/sda1/backup.gz

see diference

gzip

Code: Select all

guest@porteus:~$ dd if=/dev/sda1 | gzip > /mnt/sdb2/gz-backup.gz
^C314110+0 records in
314109+0 records out
160823808 bytes (161 MB) copied, 10,031 s, 16,0 MB/s
pigz

Code: Select all

guest@porteus:~$ dd if=/dev/sda1 | pigz > /mnt/sdb2/pigz-backup.gz
^C1120759+0 records in
1120758+0 records out
573828096 bytes (574 MB) copied, 10,4082 s, 55,1 MB/s

Re: Compressed Disk Image App for Porteus

Posted: 15 Feb 2014, 00:57
by jimwg
Slaxmax wrote:@jimwg

Try pigz which is multithreaded gzip
http://zlib.net/pigz/

package i486
http://slackware.org.uk/people/alphagee ... -1_ejt.txz

package x86_64
ftp://ftp.yandex.ru/mirrors/agilialinux ... 6_64-1.txz

example
dd if=/dev/sdb6 | pigz > /mnt/sda1/backup.gz

see diference

gzip

Code: Select all

guest@porteus:~$ dd if=/dev/sda1 | gzip > /mnt/sdb2/gz-backup.gz
^C314110+0 records in
314109+0 records out
160823808 bytes (161 MB) copied, 10,031 s, 16,0 MB/s
pigz

Code: Select all

guest@porteus:~$ dd if=/dev/sda1 | pigz > /mnt/sdb2/pigz-backup.gz
^C1120759+0 records in
1120758+0 records out
573828096 bytes (574 MB) copied, 10,4082 s, 55,1 MB/s
I'm a newbie but I'll try it out! Just to be sure, this creates a disk image, yes?
Thanks!

JIm in NYC

Re: Compressed Disk Image App for Porteus

Posted: 15 Feb 2014, 00:59
by jimwg
Slaxmax & donald & fanthom, I'll check these out! I just need to create the highest compressed disk image!

Thanks!

Jim in NYC

Re: Compressed Disk Image App for Porteus

Posted: 15 Feb 2014, 01:48
by Ed_P
@jimwg

Make sure you test the restore aspect of your backup before writing over your Mint flash drive.

Re: Compressed Disk Image App for Porteus

Posted: 16 Feb 2014, 06:03
by jimwg
I tried all three examples given, and all I get after it seems to compress files is ERROR 27 File Too Large STDOUT. Maybe the file is corrupt as well?

Jim in NYC

Re: Compressed Disk Image App for Porteus

Posted: 16 Feb 2014, 07:58
by fanthom
FAT has 4GB limit so save it on some other filesystem.

Re: Compressed Disk Image App for Porteus

Posted: 16 Feb 2014, 20:37
by tome
better choice can be backup only important data (user folder) and delete all system files that are not changed by you.