Skip to content

Commit

Permalink
mbr_ho.bin: install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
geneC committed Mar 10, 2011
1 parent 2bd1add commit e43b55e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions mbr/mbr_ho.S
Expand Up @@ -39,6 +39,17 @@
* This should (hopefully) be only 8086 code
*/

/*
* Install instructions (assuming your target is /dev/dev; file or block device):
*
* MBR:
* dd conv=notrunc bs=440 count=1 if=mbr_ho.bin of=/dev/dev
*
* VBR/PBR (works for FAT12/16/32, ext[234]fs, btrfs):
* echo -en "\0353\0130\0220" |dd conv=notrunc bs=1 count=3 of=/dev/dev
* dd conv=notrunc bs=2 count=210 seek=45 if=mbr_ho.bin of=/dev/dev
*/

// #define DEBUG_MARKER1 /* Insert markers in binary */
// #define DEBUG_START /* Print entry addresses at start */
// #define DEBUG_LOADE /* movw versus pop */
Expand Down

0 comments on commit e43b55e

Please sign in to comment.