Clear the MBR (maybe not needed anymore):
# sudo dd if=/dev/zero of=/dev/sdx bs=446 count=1
Create a single bootable NTFS partition on your USB key:
# sudo fdisk /dev/sdx
- partition ID for NTFS is “7″
- “bootable flag” is set using fdisk “a” command
Create the NTFS filesystem in the partition:
# sudo mkfs.ntfs /dev/sdx --fast --no-indexing
или # sudo mkntfs /dev/sdx --fast --no-indexing
Mount the new partition:
# sudo mkdir /mnt/myusbkey
# sudo mount /dev/SDB1 /mnt/myusbkey
Mount your Windows7 ISO file:
# sudo mkdir /mnt/win7iso
# sudo mount windows7.iso /mnt/win7iso -o loop,ro
Copy the ISO contents to the USB:
# sudo cp -rv /mnt/win7iso/* /mnt/myusbkey
UnMount all the used devices:
# sudo umount /mnt/win7iso
# sudo umount /mnt/myusbkey
Put a NTFS bootloader into the new partition:
# sudo ms-sys --mbr7 /dev/sdx
ms-sys
After the download this finishes we need to look for ms-sys, download the tool from scourgeforge. After you downloaded the package untar it:
# tar xvf ms-sys-2.2.0.tar.gz #or whatever the latest version may be
# cd ms-sys
# make
# make install
# sudo dd if=/dev/zero of=/dev/sdx bs=446 count=1
Create a single bootable NTFS partition on your USB key:
# sudo fdisk /dev/sdx
- partition ID for NTFS is “7″
- “bootable flag” is set using fdisk “a” command
Create the NTFS filesystem in the partition:
# sudo mkfs.ntfs /dev/sdx --fast --no-indexing
или # sudo mkntfs /dev/sdx --fast --no-indexing
Mount the new partition:
# sudo mkdir /mnt/myusbkey
# sudo mount /dev/SDB1 /mnt/myusbkey
Mount your Windows7 ISO file:
# sudo mkdir /mnt/win7iso
# sudo mount windows7.iso /mnt/win7iso -o loop,ro
Copy the ISO contents to the USB:
# sudo cp -rv /mnt/win7iso/* /mnt/myusbkey
UnMount all the used devices:
# sudo umount /mnt/win7iso
# sudo umount /mnt/myusbkey
Put a NTFS bootloader into the new partition:
# sudo ms-sys --mbr7 /dev/sdx
ms-sys
After the download this finishes we need to look for ms-sys, download the tool from scourgeforge. After you downloaded the package untar it:
# tar xvf ms-sys-2.2.0.tar.gz #or whatever the latest version may be
# cd ms-sys
# make
# make install
Комментариев нет:
Отправить комментарий