dd use

Tony Arnold tony.arnold at manchester.ac.uk
Sun Dec 28 13:17:33 UTC 2008


Paul,

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.

Regards,
Tony.
-- 
Tony Arnold,                        Tel: +44 (0) 161 275 6093
Head of IT Security,                Fax: +44 (0) 870 136 1004
University of Manchester,           Mob: +44 (0) 773 330 0039
Manchester M13 9PL.                 Email: tony.arnold at manchester.ac.uk




More information about the ubuntu-users mailing list