i forgot to mention that i used kill -USR1 to see DD's status every 10 seconds

erez.

On 5/23/06, Erez D <[EMAIL PROTECTED] > wrote:
dd reported 57000 blocks (1M each) copied so i assume that was the whole hd.

of 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 - linux (ext3 10G)
hda3 - swap
hda4 - extended (hda5)
hda5 - fat32

thanks,
erez.


On 5/23/06, Omer Zak <[EMAIL PROTECTED]> wrote:
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 in size of the hard
disks.  The only effect I know of different sizes (assuming that your
BIOS does not have an arbitrary limit between 60GB and 80GB) will be
that the last 20GB of the bigger hard disk will be unused wasteland,
which is the least of your worries at the moment.
 





On Tue, 2006-05-23 at 16:16 +0300, Erez D wrote:
> hi
>
> i have a damaged 60M HD. it only runs if it is positioned vertical.
>
> i bought a new 80M HD, and copied with dd
> i used conv=noerror as my HD has bad sectors at offset about 10G
>
> i did it by booting single user into linux (hda2), remounting /
> read-only
> and typing: dd if=/dev/hda of=/dev/hdb bs=1M conv=noerror
>
> the original disk had
> hda1 - fat32 (30G)
> hda2 - linux (ext3 10G)
> hda3 - swap
> hda4 - extended (hda5)
> hda5 - fat32
>
> on the target disk i get:
> hda5 disappeard from the partition table
> hda1 can be mounted as fat32, i see the files if i ls
> hda2 is unrecognized, cant mount it. (tough there is data there)
> and of-course grub displays 'GRUB' and stops.
>
>
> what happened ?
>
> is it that the bad sectors created an ofset between the source and
> dest position ?
> is it that the two disks has different sizes ?

--
You haven't made an impact on the world before you caused a Debian
release to be named after Snufkin.
My own blog is at http://tddpirate.livejournal.com/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to