dd(8)-written disk has ~800MB of NULs

2022-08-27 Thread Daniel Shahaf
Subject: dd(8)-written disk has ~800MB of NULs tl;dr: I dd(8)'d a partition to a HD in an external enclosure, then cmp(1)'d to verify the copy, and found 800MB of NULs in the target of the copy; I'm trying to figure out what went wrong and whether I can trust the enclosure and

Re: Image (ddrescue / dd) windows phone 8X?

2014-12-17 Thread vordoo
& all over the place: http://forum.xda-developers.com/windows-phone-8/help/image-ddrescue-dd-ghost-windows-phone-8x-t2961300 http://www.reddit.com/r/windowsphone/comments/2o6akd/image_ddrescue_dd_ghost_windows_phone_8x/ http://www.reddit.com/r/sysadmin/commen

Re: Image (ddrescue / dd) windows phone 8X?

2014-12-14 Thread E.S. Rosenberg
o dump the contents of the memory, there may also be a recovery mode... Regards, Eliyahu - אליהו 2014-12-03 20:10 GMT+02:00 vordoo : > > Hi, > > > Is there a way to get the internal phone storage as a block device so it > can be imaged (dd / ddrescued)? > > It's an

Image (ddrescue / dd) windows phone 8X?

2014-12-03 Thread vordoo
Hi, Is there a way to get the internal phone storage as a block device so it can be imaged (dd / ddrescued)? It's an HTC windows phone 8X, internal storage only (i.e.: without an external s

Re: hd dopy with dd

2006-05-24 Thread Amos Shapira
On 5/24/06, Erez D <[EMAIL PROTECTED]> wrote: thats what i suspected, and that explaines why it dowsn't recognise any partition starting after the bed sector i hope dd_rescue skips on the destination if finds a problem on the source. i'll try it and let you all know ddrescue indeed sounds lik

Re: hd dopy with dd

2006-05-23 Thread Erez D
d/or ddrhelp.Just to make it clear - even without really getting deep into yourproblem, you should know that 'dd conv=noerror' is pointless in your situation, because it does not write zeros (or anything) instead of theunreadable sectors - its writes nothing. So all the data after the first

Re: hd dopy with dd

2006-05-23 Thread Yedidyah Bar-David
On Tue, May 23, 2006 at 05:57:57PM +0300, Ariel Biener wrote: > On Tuesday 23 May 2006 17:14, Yedidyah Bar-David wrote: > > > > Just to make it clear - even without really getting deep into your > > problem, you should know that 'dd conv=noerror' is pointless in

Re: hd dopy with dd

2006-05-23 Thread Ariel Biener
On Tuesday 23 May 2006 17:14, Yedidyah Bar-David wrote: > > Just to make it clear - even without really getting deep into your > problem, you should know that 'dd conv=noerror' is pointless in your > situation, because it does not write zeros (or anything) instead of th

Re: hd dopy with dd

2006-05-23 Thread Omer Zak
On Tue, 2006-05-23 at 16:57 +0300, Erez D wrote: > dd reported 57000 blocks (1M each) copied so i assume that was the > whole hd Did the same number get reported for blocks being read and for blocks being written? If Didi's hypothesis is correct, then those numbers would be differe

Re: hd dopy with dd

2006-05-23 Thread Yedidyah Bar-David
and/or ddrhelp. Just to make it clear - even without really getting deep into your problem, you should know that 'dd conv=noerror' is pointless in your situation, because it does not write zeros (or anything) instead of the unreadable sectors - its writes nothing. So all the data after th

Re: hd dopy with dd

2006-05-23 Thread Erez D
sync option as i understand it pads, not syncs.i do not recall the exact partition table, it was somthing like: hda1 - fat32 (30G)hda2 - linux (ext3 10G)hda3 - swaphda4 - extended (hda5)hda5 - fat32thanks,erez. On 5/23/06, Omer Zak <[EMAIL PROTECTED]> wrote: 1. Wild guess:  in spite of your o

Re: hd dopy with dd

2006-05-23 Thread Yedidyah Bar-David
On Tue, May 23, 2006 at 04:16:25PM +0300, Erez D wrote: > hi > > i have a damaged 60M HD. it only runs if it is positioned vertical. > any idea ? I strongly suggest using dd_rescue and/or ddrhelp. -- Didi = To unsubscribe, send ma

Re: hd dopy with dd

2006-05-23 Thread Erez D
dd reported 57000 blocks (1M each) copied so i assume that was the whole hdof course i ran 'sync' before shuting down.i didn't use DD's sync option as i understand it pads, not syncs.i do not recall the exact partition table, it was somthing like: hda1 - fat32 (30G)hda2 -

Re: hd dopy with dd

2006-05-23 Thread Omer Zak
1. Wild guess: in spite of your options, dd finished in middle of hda1. 2. How many blocks were actually copied (dd reports this when it finishes its work)? 3. Exactly what do you get when listing partitions using fdisk on the old and new disks? I do not think that this is due to the difference

hd dopy with dd

2006-05-23 Thread Erez D
hii have a damaged 60M HD. it only runs if it is positioned vertical.i bought a new 80M HD, and copied with ddi used conv=noerror as my HD has bad sectors at offset about 10Gi did it by booting single user into linux (hda2), remounting / read-only and typing: dd if=/dev/hda of=/dev/hdb bs=1M conv

Re: DD and split problem (need ideas)....

2006-05-09 Thread gili gili
We got a winner 10X for the help! Gili Subject: Re: DD and split problem (need ideas) Date: Tue, 2 May 2006 12:14:32 +0300 On Tue, 2 May 2006 18:35:25 +1000, Amos Shapira wrote: > On 5/2/06, gili gili wrote: > > > > I know I can use "split" command. But th

Re: Bash design principles for handling large subshell data piping ? (WAS: DD and split problem (need ideas)....)

2006-05-02 Thread Muli Ben-Yehuda
On Tue, May 02, 2006 at 10:34:14PM +0300, Yedidyah Bar-David wrote: > How is it tunable? A quick google search finds (for me) only an external > patch providing /proc/sys/fs/pipe-sz. Is there such a thing in > vanilla? It's not tunable - the kernel will just do the right thing. It is an area in a

Re: Bash design principles for handling large subshell data piping ? (WAS: DD and split problem (need ideas)....)

2006-05-02 Thread Yedidyah Bar-David
On Tue, May 02, 2006 at 10:16:45PM +0300, Muli Ben-Yehuda wrote: > On Tue, May 02, 2006 at 09:16:14PM +0300, Yedidyah Bar-David wrote: > > > When you run 'prog1 | prog2', both run in parallel, having a small > > buffer (IIRC in Linux one page = 4KB, not sure if tunable) > > Maximum capacity is 16

Re: Bash design principles for handling large subshell data piping ? (WAS: DD and split problem (need ideas)....)

2006-05-02 Thread Muli Ben-Yehuda
On Tue, May 02, 2006 at 09:16:14PM +0300, Yedidyah Bar-David wrote: > When you run 'prog1 | prog2', both run in parallel, having a small > buffer (IIRC in Linux one page = 4KB, not sure if tunable) Maximum capacity is 16 pages at the moment. Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org

Re: Bash design principles for handling large subshell data piping ? (WAS: DD and split problem (need ideas)....)

2006-05-02 Thread Yedidyah Bar-David
t;Please put next DVD and press Y + Enter" > /dev/tty > >echo "If there is none, press Enter only" > /dev/tty > >read FLAG < /dev/tty > >done > >) | gunzip -c | dd of=/dev/hda1 > > > > That was elegant, I learned from this. >

Bash design principles for handling large subshell data piping ? (WAS: DD and split problem (need ideas)....)

2006-05-02 Thread Maxim Vexler
On 5/2/06, Ehud Karni <[EMAIL PROTECTED]> wrote: On Tue, 2 May 2006 18:35:25 +1000, Amos Shapira <[EMAIL PROTECTED]> wrote: > On 5/2/06, gili gili <[EMAIL PROTECTED]> wrote: > > > > I know I can use "split" command. But the restore is problematic… >

Re: DD and split problem (need ideas)....

2006-05-02 Thread Kfir Lavi
Here are some backup programs: (list) http://www.thefreecountry.com/utilities/backupandimage.shtml http://www.linuxsoft.cz/en/sw_list.php?id_kategory=89 On 5/2/06, gili gili <[EMAIL PROTECTED]> wrote: Hi list… I need to backup and restore a server. I decided to make an image using

Re: DD and split problem (need ideas)....

2006-05-02 Thread Ehud Karni
On Tue, 2 May 2006 18:35:25 +1000, Amos Shapira <[EMAIL PROTECTED]> wrote: > On 5/2/06, gili gili <[EMAIL PROTECTED]> wrote: > > > > I know I can use "split" command. But the restore is problematic… > > cat backup.img.gz.* | gzip -dc | dd of=/dev/hda1

Re: DD and split problem (need ideas)....

2006-05-02 Thread Amos Shapira
On 5/2/06, gili gili <[EMAIL PROTECTED]> wrote: Hi list… I need to backup and restore a server. I decided to make an image using dd and gzip\bzip. The problem is that the file is too big to fit into a DVD so I need to split it. I restore the server using linux live CD. I know I can use

DD and split problem (need ideas)....

2006-05-02 Thread gili gili
Hi list… I need to backup and restore a server. I decided to make an image using dd and gzip\bzip. The problem is that the file is too big to fit into a DVD so I need to split it. I restore the server using linux live CD. I know I can use “split” command. But the restore is problematic… cat

Re: dd of=/dev/port.

2004-08-11 Thread amos
Ez-Aton wrote: dd is meant to be used with block devices, not with character devices. To hijack character devices, you can simply cat them to somewhere. But dd has the relatively singular option (apart from perl, I guess) of letting its user to control an lseek(2) call from command line, which

Re: dd of=/dev/port.

2004-08-11 Thread Ez-Aton
dd is meant to be used with block devices, not with character devices. To hijack character devices, you can simply cat them to somewhere. Ez. [EMAIL PROTECTED] wrote: Shaul Karl wrote: Is the following expected? # printf "\xa2" | dd of=/dev/port bs=1 count=1 skip=675 0+0 records

Re: dd of=/dev/port.

2004-08-08 Thread Shaul Karl
On Sun, Aug 08, 2004 at 05:30:39PM +0300, [EMAIL PROTECTED] wrote: > Shaul Karl wrote: > > > Is the following expected? > > > > # printf "\xa2" | dd of=/dev/port bs=1 count=1 skip=675 > > 0+0 records in > > 0+0 records out > >

Re: dd of=/dev/port.

2004-08-08 Thread amos
Shaul Karl wrote: Is the following expected? # printf "\xa2" | dd of=/dev/port bs=1 count=1 skip=675 0+0 records in 0+0 records out 0 bytes transferred in 0.001999 seconds (0 bytes/sec) # printf "$?\n" 0 I run it as root. Why there were 0 bytes transferred

dd of=/dev/port.

2004-08-08 Thread Shaul Karl
Is the following expected? # printf "\xa2" | dd of=/dev/port bs=1 count=1 skip=675 0+0 records in 0+0 records out 0 bytes transferred in 0.001999 seconds (0 bytes/sec) # printf "$?\n" 0 I run it as root. Why there were 0 bytes transferred and sti

Re: dd CD

2002-10-19 Thread Gilad Ben-Yossef
On Sat, 2002-10-19 at 11:58, Ira Abramov wrote: > > now can we move on to more interesting subjects? please? :) OK. > > for instance, how come whenever I dump a CD to my machine (with dd into > an iso file) it always dies 1-2 kilobytes befor the end of the image >

Re: dd

2000-03-23 Thread Gaal Yahas
On Thu, Mar 23, 2000 at 10:21:20PM +0200, Adi Stav wrote: [netcat] netcat is a great tool, and can be used for all sorts of creative things. > > > > The degree by which you could trust cat or cp is unknown to me. In > > > > these cases, I still use dd for s

Re: dd

2000-03-23 Thread Adi Stav
On Thu, Mar 23, 2000 at 09:06:10PM +0300, Gaal Yahas wrote: > On Thu, Mar 23, 2000 at 09:00:21PM +0200, Adi Stav wrote: > > > Say you want to back up your machine completely onto another. > > > > > > backup% nc -l -p 12345 > host.raw > > >

[adi@linuxqa.com: Re: dd]

2000-03-23 Thread Adi Stav
- Forwarded message from Adi Stav <[EMAIL PROTECTED]> - Date: Thu, 23 Mar 2000 21:00:21 +0200 To: Gaal Yahas <[EMAIL PROTECTED]> Subject: Re: dd User-Agent: Mutt/1.1.5i From: Adi Stav <[EMAIL PROTECTED]> On Thu, Mar 23, 2000 at 06:48:38PM +0300, Gaal Yahas wrote: >

Re: dd

2000-03-23 Thread Gaal Yahas
/0 > > is equivalent to cat. > > You can also use /proc/self/fd/2 if you want the file to go to error > and so on. Unless I did not understand exactly what you meant. Say you want to back up your machine completely onto another. backup% nc -l -p 12345 > host.raw

Re: dd

2000-03-23 Thread Adi Stav
On Wed, Mar 22, 2000 at 08:19:29PM +0300, Gaal Yahas wrote: > On Wed, Mar 22, 2000 at 10:03:29AM +0200, Adi Stav wrote: > > > You can use cp -a on each mounted filesystem (I used to advocate > > > tar|tar, but on new linux systems cp is even better[1]), and manually > > > make the swap partition.

Re: dd

2000-03-22 Thread Gaal Yahas
On Wed, Mar 22, 2000 at 10:03:29AM +0200, Adi Stav wrote: > > You can use cp -a on each mounted filesystem (I used to advocate > > tar|tar, but on new linux systems cp is even better[1]), and manually > > make the swap partition. > > Really? Is it because of the new Linux kernel or because of some

Re: dd

2000-03-22 Thread Adi Stav
On Wed, Mar 22, 2000 at 09:14:21AM +0300, Gaal Yahas wrote: > Better partition hdb to suit your needs first (hint: fdisk -l /dev/hda), > then copy particular partitions. You shouldn't use dd for that, though > (for the same reason as above). You can use cp -a on each mounted > f

Re: dd

2000-03-22 Thread Shaul Karl
Take a look at the Hard Disk Upgrade Mini How-To. It is a small useful mini HOWTO. > I got a "BookPC" with an 810 motherboard now working. Before I screw it up I > thought I would back it up on a second 20G drive. The second drive is brand > new and has not be partitioned. &

Re: dd

2000-03-21 Thread Gaal Yahas
On Tue, Mar 21, 2000 at 11:48:10PM +0200, Richard Fiedler wrote: > I got a "BookPC" with an 810 motherboard now working. Before I screw it up I > thought I would back it up on a second 20G drive. The second drive is brand > new and has not be partitioned. > > Will >

dd

2000-03-21 Thread Richard Fiedler
I got a "BookPC" with an 810 motherboard now working. Before I screw it up I thought I would back it up on a second 20G drive. The second drive is brand new and has not be partitioned. Will dd if=/dev/hda bs=1024 of=/dev/hdb

dd

2000-03-21 Thread Richard Fiedler
I got a "BookPC" with an 810 motherboard now working. Before I screw it up I thought I would back it up on a second 20G drive. The second drive is brand new and has not be partitioned. Will dd if=/dev/hda bs=1024 of=/dev/hdb