Six steps to make Windows 7 install-disk (usb-key)

January 4, 2011

1) Create NTFS partition in usb-key and make it active(primary) partition –
# cfdisk /dev/sdb

2) Create NTFS file-system the partition –
# mkfs.ntfs -f /dev/sdb1

3) Mount Windows iso and usb-key –
# mount -o loop win7.iso /mnt/iso
# mount /dev/sdb1 /mnt/usb

4) Copy over all files –
# cp -av /mnt/iso/* /mnt/usb/

5) Write Windows 7 MBR on usb-key –
# ms-sys -7 /dev/sdb

6) Keep a copy of the same as img –
# dd if=/dev/sdb of=/win7.img

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: