Re: Some help with dd backing up into an iso | now xorriso help
Thomas Schmitt:
> Hi,
>
> i forgot to adapt my xorriso example from a few days ago:
>
> xorriso \
> -for_backup \
> -outdev usb_part1.iso \
> -map /mnt/usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1 /
Ok, my drive has grown from 1,7gB to about 2GB since the last try with
DD which produced an image equal to the drive, 7,7gB and took for ever.
This run in a second and produced an iso that is about half a MB. Is
something wrong?
-rw-r--r-- 1 user 458752 Mar 9 00:08 usb_part1.iso
>
> Note that the last "/" is not a misspelled "\" but the path to the
> upcomming ISO's root directory. The "\" tell the shell that the command
> line goes on in the next input line.
>
> This will create the (probably large) file usb_part1.iso, which you
> can mount (as superuser) by:
>
> mkdir /mnt/usb_part1_iso
> mount -o loop /where/it/is/usb_part1.iso /mnt/usb_part1_iso
>
> with "/where/it/is" replaced by the absolute path to the ISO image file.
> Then the file tree copy should show up under /mnt/usb_part1_iso .
>
> If you have a DVD drive, with e.g. address /dev/sr0 and a DVD+RW in it,
> then you may write directly to the DVD:
>
> xorriso \
> -for_backup \
> -outdev /dev/sr0 \
> -blank as_needed \
> -map /mnt/usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1 /
>
> "-blank as_needed" will enable overwriting of old content on the DVD+RW
> or blank a DVD-RW. With DVD+RW or formatted DVD-RW, it will be fast.
> With unformatted DVD-RW it will last as long as a full write run.
> DVD-R or DVD+R are usable if not yet written by other burn runs.
>
>
> Have a nice day :)
>
> Thomas
>
--
"The most violent element in society is ignorance" rEG
Reply to: