[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some help with dd backing up into an iso



I am getting a little frustrated as neither dd or xorriso work for me as
I wanted.  With the dd and bzip2 combination I got an image really fast
(compared to dd if=.. of=.. ) but when I tried to restore it
dd bs=1M if=/dev/sdb | bzip2 >imagefile
bunzip2 imagefile | dd of=/dev/sdb

it unzipped the imagefile into an uncompress file and burned it ...
although I am not sure what I mixed up in the filenames it restored an
earlier on...

bunzip2 imagefile  -f -t -v | dd of=/dev/sdb

I think this option retains the original compressed image and show what
is doing, although to me the -v is meaningless.

Thomas Schmitt:
> Hi,
> 
> GiaThnYgeia wrote:
>> $ xorriso -indev sid1.iso -find / -exec lsdl --
>> ...
>> 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
> 
> Last time you showed it, it was as empty as the ISO.
> What do you get from
> 
>   ls -ld /media/user/1340a59d-7c08-4257-a81d-9cb8ef707c0e

I changed the volume name to sid

$ ls -ld /media/user/sid
drwxr-xr-x 1 user user 2048 Mar  5 20:30 /media/user/sid
$ ls -ld /mnt
$ ls /mnt
usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1
$ ls -ld /mnt/u*
drwxr-xr-x 2 root root 4096 Nov 24 11:14
/mnt/usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1
$ ls -ld /media/user/sid
drwxr-xr-x 1 user user 2048 Mar  5 20:30 /media/user/sid
$



> 
> 
>>>   xorriso -for_backup -follow default:param ...
> 
>> 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
> 
> Very strange file address. It is probably the result of link following.
> Thus my request to do "ls -ld".

It seems as if it is hardware created and can't be changed

> Is the line break between "DebonUSB" and "/usb-Kingston" visible on the
> terminal screen, too ? Or is it an artefact of copy+paste ?

I changed it so it is easier to deal with

> (I am very happy that i disabled automounting on my system. Life becomes
>  so clear and straightforward if one does it the old way.)

Being protective of the setup I have on the little disk I am trying to
restore its image in an identical disk (manufacturer and size)
Only when I get convinced that the restored image is identical (looks
and function) will I be able to go ahead to do more.  No I am worried
I'll ruin all the work and I will not have a last safe image to restore to.

> Have a nice day :)
> Thomas

You have a better one

katkat

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


Reply to: