Re: Issue writing image to disk via dd
On 12/04/11 22:47, Mark Kane wrote:
> Hi everyone,
>
> I'm trying to write a bootable disk image to a hard drive using dd in
> Debian like so:
>
> dd if=image.img of=/dev/sda bs=1M
>
<snipped>
>
> -Mark
>
>
What commands did you use to create the original image?
If image.img was created by simply:-
dd if=/dev/sda of=/image.img
then bs is unnecessary.
I use the following:-
backup drive by:-
dd if=/dev/sda (through netcat and bzip) of=image.img
restoration is just reversed, works for linux, bsd, Windoof etc
Note: I've only mixed Slax and Debian for the image and restore parts -
so can't attest to the similarity of dd in other distros, and I only
image to *identical* drives.
Cheers
--
Tuttle? His name's Buttle.
There must be some mistake.
Mistake? [Chuckles]
We don't make mistakes.
Reply to: