Use partition type 0xeb ("EtherBoot"), to avoid any attempts to mount
[people/sha0/gpxe.git] / src / arch / i386 / prefix / usbdisk.S
1         .text
2         .arch i386
3         .section ".prefix", "awx", @progbits
4         .code16
5         .org 0
6
7 #include "mbr.S"
8
9 /* Partition table: ZIP-compatible partition 4, 64 heads, 32 sectors/track */
10         .org 446
11         .space 16
12         .space 16
13         .space 16
14         .byte 0x80, 0x01, 0x01, 0x00
15         .byte 0xeb, 0x3f, 0x20, 0x01
16         .long 0x00000020
17         .long 0x00000fe0
18
19         .org 510
20         .byte 0x55, 0xaa
21
22 /* Skip to start of partition */
23         .org 32 * 512