[dundee] dd revisited
Lee Hughes
toxicnaan at yahoo.co.uk
Mon Oct 1 23:01:43 BST 2007
you could try gzipping it, depending on what the parition contains, you may be able to get the whole thing to fit
in 4gb!
dd if=/dev/hda | gzip > /mnt/hdb1/system_drive_backup.img.gz
I think bzip will give better compression , but it's slower
worth giving it a try!
this may also help
dd if=/dev/hda1 | gzip -c | split -b 2000m - /mnt/hdc1/backup.img.gz.
read this page it's good
http://wiki.linuxquestions.org/wiki/Dd
Nistur <nistur at googlemail.com> wrote: Hi, what I meant was that the backup file I was making was being stored
on a FAT32 USB HDD, however the MacOSX partition itself is 10GB so just
using dd on it's own will complain about lack of disk space when the
backup hits 4GB, losing 6GB of the image.
Paul Lancaster wrote:
> Nistur wrote:
>> Ok, I still haven't got quite to the bottom of this dd thing, and now
>> I have a new problem. I installed OSX to a friend's laptop, when we
>> tried getting audio to work and rebooted, the thing froze on the
>> apple logo. We reinstalled and I said I'd make a backup to her
>> external storage, forgetting that it would be FAT32 and her partition
>> size is 10GB.
>> Basically, I've looked into using search and count to create 2GB
>> chunks which then (hopefully) I could put back together if her system
>> goes bust again.
>> I got confused though. I managed to get the first one with:
>> dd count=4194304 if=/dev/sda3 of=/mnt/usb/OSXBackup.1
>> When I tried:
>> dd search=4194305 count=4194304 if=/dev/sda3 of=/mnt/usb/OSXBackup.2
>> it started off the filesize as 2GB. I didn't check to see whether
>> FAT32 would make later volumes, that would start at 4GB for example.
>> I just thought I should check before I make a mistake. My main
>> concern is that I overwrite the first part of the next partition when
>> I dd it back when the inevitable happens and appleazalia messes up
>> again. I also don't know how easy it would be to tar everything up as
>> I haven't yet found a liveCD that can access a hfs partition :(
>>
>> Thanks in advance and I'll continue googling
>> Nistur
>>
>> _______________________________________________
>> dundee GNU/Linux Users Group mailing list
>> dundee at lists.lug.org.uk http://dundee.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/dundee
>> Chat on IRC, #tlug on dundee.lug.org.uk
>>
>>
>>
> Fat 32 will have no problems with a 10GB partition but will truncate
> file sizes at 4.0GB - hence the problems with DVD iso's.
>
> Paul
>
>
> _______________________________________________
> dundee GNU/Linux Users Group mailing list
> dundee at lists.lug.org.uk http://dundee.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/dundee
> Chat on IRC, #tlug on dundee.lug.org.uk
>
_______________________________________________
dundee GNU/Linux Users Group mailing list
dundee at lists.lug.org.uk http://dundee.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/dundee
Chat on IRC, #tlug on dundee.lug.org.uk
---------------------------------
For ideas on reducing your carbon footprint visit Yahoo! For Good this month.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/dundee/attachments/20071001/9fd96cb3/attachment-0001.html
More information about the dundee
mailing list