refer:
isoimages:
The MBR, the most important data structure on the disk:
Note: There is no MBR on a floppy disk. The first sector on a floppy disk is the boot sector. Although every hard disk contains an MBR, the master boot code is used only if the disk contains the active, primary partition.
The master boot code performs the following activities:
The partition table, a 64-byte data structure used to identify the type and location of partitions on a hard disk, conforms to a standard layout independent of the operating system. Each partition table entry is 16 bytes long, with a maximum of four entries. Each entry starts at a predetermined offset from the beginning of the sector, as follows:
Figure 1.1 shows the MBR, partition table, and boot sectors on a disk with four partitions. The definitions of the fields in the partition table and the extended partition tables are the same.
Using WinSetupfromUsb to convert ISO windows(XP, windows7, Windows 8) for installing on USB
menu.lst
title Active Boot Disk find --set-root /Active_BootDisk.iso map /Active_BootDisk.iso (hd32) map --hook chainloader (hd32) title Windows XP/2000/2003 Setup map --unmap=0:0xff map --unhook && map --rehook savedefault ls /usbdrive.tag > nul || find --set-root --devices=hf /usbdrive.tag configfile /winsetup.lst
Check computer hard drive for SATA, If in BIOS enable SATA, we need to disable it
Using WinSetupfromUsb and function Linux ISO/Other Grub4dos compatible ISO to convert file ISO to USB for boot. Below are some ISOs created follow this method:
mount -o loop -t iso9660 backtrack.iso /mnt/iso
mount /dev/sda1 /mnt/usbflash
cp -R /mnt/iso/boot /mnt/usbflash cp -R /mnt/iso/BT /mnt/usbflash
cd /mnt/usbflash/boot ./bootinst.sh
use isobuster
cd J:\boot bootinst.bat
ifconfig eth0 down
dhclient
edit /etc/resolv.conf
Install windows 7: Using windows 7 to format before install windows → windows 7 will automatic create system partition to load windows 7 partition