Web lists-archives.com

Re: Some help with dd backing up into an iso




I am nearly giving up, can't understand what I am doing wrong or what I
should be doing.

Thomas Schmitt:
> Hi,
> 
> GiaThnYgeia wrote:
>> Is something wrong?  
>> -rw-r--r--  1 user     458752 Mar  9 00:08 usb_part1.iso
> 
> That's much too small for any backup with substance.
> What do you get from
> 
>   xorriso -indev usb_part1.iso -find / -exec lsdl --

$ xorriso -indev sid1.iso -find / -exec lsdl --
xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
Drive current: -indev 'sid1.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Media summary: 1 session, 27 data blocks, 54.0k data,  458g free
Volume id    : 'ISOIMAGE'
drwxr-xr-x    1 0        0               0 Nov 24 11:14 '/'

On media this shows the 2nd system partition as a directory
/media/user/1340a59d-7c08-4257-a81d-9cb8ef707c0e



> 
> Is the USB stick content visible underneath
>   /mnt/usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1 
> at all ?
> 
> If the mount point was really a link, one would have to enable link
> following at least for files which are given as program arguments:
> 
>   xorriso \
>   -for_backup \
>   -follow default:param \
>   -outdev usb_part1.iso \
>   -map /mnt/usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1 /

xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'siduct1.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Media summary: 1 session, 27 data blocks, 54.0k data,  458g free
xorriso : FAILURE : Cannot determine attributes of source file
'/media/user/DebonUSB
/usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1' : No
such file or directory



> But with default -follow settings you would have gotten an error message:
>   xorriso : FAILURE : Source '/mnt/usb-...' is not a directory. Target '' would be.
> 
> So i assume that the USB stick content was simply not available under
> the /mnt/usb-... directory.
> 
> 
> Have a nice day :)
> Thomas

You have a great one too!
I;m going back to try more dd options

-- 
 "The most violent element in society is ignorance" rEG