dd use

Nils Kassube kassube at gmx.net
Sun Dec 28 13:32:43 UTC 2008

Tony Arnold wrote:
> Paul Kaplan wrote:
> > I want to boot a windows computer from an Intrepid LiveCD in order to
> > make a disk image of a Windows installation.
> >
> > Would this be the correct dd syntax?
> >
> > dd if /dev/sda1 of /dev/sdb1/<filename>
> Not quite. To write to a file on /dev/sdb1, you will have to mount it
> first (assuming it has a file system on it). So:
> mkdir /mnt/sdb1
> mount /dev/sdb1 /mnt/sdb1
> dd if /dev/sda1 of /mnt/sdb1/<filename>
> should do it.

No, the dd syntax would be

dd if=/dev/sda1 of=/mnt/sdb1/<filename>


More information about the ubuntu-users mailing list