Advertisement
opexxx

make_boot_usb.sh

Jan 27th, 2015
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.59 KB | None | 0 0
  1.  Making the USB drive bootable:
  2.  
  3.     Plug the USB drive into a Linux machine
  4.     Wipe the drive with dd if=/dev/zero of=/dev/sdX bs=64k
  5.     mkdiskimage -4 /dev/sdX 0 64 32
  6.         This creates a single partition as the "4th" partition which allows the older BIOS to boot the usb drive like a ZIP drive which it expects since it uses an older boot method
  7.         You can also use another partition program and mkfs just make sure to create it as the 4th partition with 64 heads, 32 sectors
  8.     mkfs.msdos /dev/sdX4 (Important that it is made FAT16)
  9.     syslinux /dev/sdX4 to make it bootable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement