Create bootable USB drives of Windows installation CD’s in Linux

Nearly all netbooks and many laptops don’t come with an optical storage drive (DVD/CD). To re-install an OS, one would need to boot it from a USB drive. In this post, I outline how I could create a bootable usb drive for a Windows 7 disc. The information was taken from a reply on this post. I assume the usb drive is /dev/sdb on the Linux machine. ms-sys is required.

 <pre class="src src-sh"><span style="color: #ff4500;">## </span><span style="color: #ff4500;">Run under root</span>

cfdisk /dev/sdb mkfs.ntfs -f /dev/sdb1 mount -o loop win7.iso /mnt/iso mount /dev/sdb1 /mnt/usb cp -r /mnt/iso/* /mnt/usb/ ms-sys -7 /dev/sdb

About Vinh Nguyen

Statistician

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>