Things that you need:
Open gparted and unmount your usb drive so you can format it to NTFS
Format the usb drive to NTFS and apply your action
Manage USB drive flags as boot.
After that, download ms-sys from here and un-tar the source code.
Compile and install ms-sys
Write Windows 7 MBR (Master Boot Record) to the USB drive
Mount your USB Drive to your linux
Make another folder in /mnt/ and mount Windows 7 iso image in there
Copy the contents of Windows 7 in iso image to your USB drive.
After that unmount your USB Drive
Now your USB Drive is ready use for install Windows 7. Plug in the USB and change your boot priority to USB-HDD.
source: thornelabs, serverfault, webupd8
- USB Drive : 4GB or more
- Windows 7 ISO image
- Computer with linux (Ubuntu) installed
apt-get install gparted ntfs-3g
tar xvzf ms-sys-2.5.0.tar.gz
cd ms-sys-2.5.0
make
sudo make install
sudo ms-sys -7 /dev/sdc
sudo mkdir -p /mnt/usb
sudo mount /dev/sdc1 /mnt/usb
sudo mkdir -p /mnt/iso sudo mount
-o loop /home/handi/windows7x86.iso /mnt/iso
sudo cp -av /mnt/iso/* /mnt/usb/
sudo umount /mnt/usb
source: thornelabs, serverfault, webupd8
Komentar
Posting Komentar