1*380b5c7dSchl# $OpenBSD: filesystems,v 1.3 2008/05/08 01:40:57 chl Exp $ 2df930be7Sderaadt 3df930be7Sderaadt#------------------------------------------------------------------------------ 4df930be7Sderaadt# filesystems: file(1) magic for different filesystems 5df930be7Sderaadt# 6df930be7Sderaadt0 string \366\366\366\366 PC formatted floppy with no filesystem 736c0c0feStedu# Sun disk labels 836c0c0feStedu# From /usr/include/sun/dklabel.h: 9*380b5c7dSchl0774 beshort 0xdabe 10*380b5c7dSchl# modified by Joerg Jenderek, because original test 11*380b5c7dSchl# succeeds for Cabinet archive dao360.dl_ with negative blocks 12*380b5c7dSchl>0770 long >0 Sun disk label 13*380b5c7dSchl>>0 string x '%s 14*380b5c7dSchl>>>31 string >\0 \b%s 15*380b5c7dSchl>>>>63 string >\0 \b%s 16*380b5c7dSchl>>>>>95 string >\0 \b%s 17*380b5c7dSchl>>0 string x \b' 18*380b5c7dSchl>>0734 short >0 %d rpm, 19*380b5c7dSchl>>0736 short >0 %d phys cys, 20*380b5c7dSchl>>0740 short >0 %d alts/cyl, 21*380b5c7dSchl>>0746 short >0 %d interleave, 22*380b5c7dSchl>>0750 short >0 %d data cyls, 23*380b5c7dSchl>>0752 short >0 %d alt cyls, 24*380b5c7dSchl>>0754 short >0 %d heads/partition, 25*380b5c7dSchl>>0756 short >0 %d sectors/track, 26*380b5c7dSchl>>0764 long >0 start cyl %ld, 27*380b5c7dSchl>>0770 long x %ld blocks 2836c0c0feStedu# Is there a boot block written 1 sector in? 2936c0c0feStedu>512 belong&077777777 0600407 \b, boot block present 30*380b5c7dSchl# Joerg Jenderek: Smart Boot Manager backup file is 41 byte header + first sectors of disc 31*380b5c7dSchl# (http://btmgr.sourceforge.net/docs/user-guide-3.html) 32*380b5c7dSchl0 string SBMBAKUP_ Smart Boot Manager backup file 33*380b5c7dSchl>9 string x \b, version %-5.5s 34*380b5c7dSchl>>14 string =_ 35*380b5c7dSchl>>>15 string x %-.1s 36*380b5c7dSchl>>>>16 string =_ \b. 37*380b5c7dSchl>>>>>17 string x \b%-.1s 38*380b5c7dSchl>>>>>>18 string =_ \b. 39*380b5c7dSchl>>>>>>>19 string x \b%-.1s 40*380b5c7dSchl>>>22 ubyte 0 41*380b5c7dSchl>>>>21 ubyte x \b, from drive 0x%x 42*380b5c7dSchl>>>22 ubyte >0 43*380b5c7dSchl>>>>21 string x \b, from drive %s 44*380b5c7dSchl 45*380b5c7dSchl# Joerg Jenderek 46*380b5c7dSchl# DOS Emulator image is 128 byte, null right padded header + harddisc image 47*380b5c7dSchl0 string DOSEMU\0 48*380b5c7dSchl>0x27E leshort 0xAA55 49*380b5c7dSchl#offset is 128 50*380b5c7dSchl>>19 ubyte 128 51*380b5c7dSchl>>>(19.b-1) ubyte 0x0 DOS Emulator image 52*380b5c7dSchl>>>>7 ulelong >0 \b, %u heads 53*380b5c7dSchl>>>>11 ulelong >0 \b, %d sectors/track 54*380b5c7dSchl>>>>15 ulelong >0 \b, %d cylinders 55*380b5c7dSchl 5636c0c0feStedu0x1FE leshort 0xAA55 x86 boot sector 5736c0c0feStedu>2 string OSBS \b, OS/BS MBR 58*380b5c7dSchl# J\xf6rg Jenderek <joerg dot jenderek at web dot de> 5936c0c0feStedu>0x8C string Invalid\ partition\ table \b, MS-DOS MBR 60*380b5c7dSchl# dr-dos with some upper-, lowercase variants 61*380b5c7dSchl>0x9D string Invalid\ partition\ table$ 62*380b5c7dSchl>>181 string No\ Operating\ System$ 63*380b5c7dSchl>>>201 string Operating\ System\ load\ error$ \b, DR-DOS MBR, Version 7.01 to 7.03 64*380b5c7dSchl>0x9D string Invalid\ partition\ table$ 65*380b5c7dSchl>>181 string No\ operating\ system$ 66*380b5c7dSchl>>>201 string Operating\ system\ load\ error$ \b, DR-DOS MBR, Version 7.01 to 7.03 67*380b5c7dSchl>342 string Invalid\ partition\ table$ 68*380b5c7dSchl>>366 string No\ operating\ system$ 69*380b5c7dSchl>>>386 string Operating\ system\ load\ error$ \b, DR-DOS MBR, version 7.01 to 7.03 70*380b5c7dSchl>295 string NEWLDR\0 71*380b5c7dSchl>>302 string Bad\ PT\ $ 72*380b5c7dSchl>>>310 string No\ OS\ $ 73*380b5c7dSchl>>>>317 string OS\ load\ err$ 74*380b5c7dSchl>>>>>329 string Moved\ or\ missing\ IBMBIO.LDR\n\r 75*380b5c7dSchl>>>>>>358 string Press\ any\ key\ to\ continue.\n\r$ 76*380b5c7dSchl>>>>>>>387 string Copyright\ (c)\ 1984,1998 77*380b5c7dSchl>>>>>>>>411 string Caldera\ Inc.\0 \b, DR-DOS MBR (IBMBIO.LDR) 7836c0c0feStedu>0x10F string Ung\201ltige\ Partitionstabelle \b, MS-DOS MBR, german version 4.10.1998, 4.10.2222 79*380b5c7dSchl>>0x1B8 ubelong >0 \b, Serial 0x%-.4x 8036c0c0feStedu>0x8B string Ung\201ltige\ Partitionstabelle \b, MS-DOS MBR, german version 5.00 to 4.00.950 81*380b5c7dSchl>271 string Invalid\ partition\ table\0 82*380b5c7dSchl>>295 string Error\ loading\ operating\ system\0 83*380b5c7dSchl>>>326 string Missing\ operating\ system\0 \b, mbr 84*380b5c7dSchl# 85*380b5c7dSchl>139 string Invalid\ partition\ table\0 86*380b5c7dSchl>>163 string Error\ loading\ operating\ system\0 87*380b5c7dSchl>>>194 string Missing\ operating\ system\0 \b, Microsoft Windows XP mbr 88*380b5c7dSchl# http://www.heise.de/ct/05/09/006/ page 184 89*380b5c7dSchl#HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices\DosDevices\?:=Serial4Bytes+8Bytes 90*380b5c7dSchl>>>>0x1B8 ulelong >0 \b,Serial 0x%-.4x 91*380b5c7dSchl>300 string Invalid\ partition\ table\0 92*380b5c7dSchl>>324 string Error\ loading\ operating\ system\0 93*380b5c7dSchl>>>355 string Missing\ operating\ system\0 \b, Microsoft Windows XP MBR 94*380b5c7dSchl#??>>>389 string Invalid\ system\ disk 95*380b5c7dSchl>>>>0x1B8 ulelong >0 \b, Serial 0x%-.4x 96*380b5c7dSchl>300 string Ung\201ltige\ Partitionstabelle 97*380b5c7dSchl#split string to avoid error: String too long 98*380b5c7dSchl>>328 string Fehler\ beim\ Laden\ 99*380b5c7dSchl>>>346 string des\ Betriebssystems 100*380b5c7dSchl>>>>366 string Betriebssystem\ nicht\ vorhanden \b, Microsoft Windows XP MBR (german) 101*380b5c7dSchl>>>>>0x1B8 ulelong >0 \b, Serial 0x%-.4x 10236c0c0feStedu>0x145 string Default:\ F \b, FREE-DOS MBR 103*380b5c7dSchl>64 string no\ active\ partition\ found 104*380b5c7dSchl>>96 string read\ error\ while\ reading\ drive \b, FREE-DOS Beta 0.9 MBR 105*380b5c7dSchl>271 string Operating\ system\ loading 106*380b5c7dSchl>>296 string error\r \b, SYSLINUX MBR (2.10) 107*380b5c7dSchl# http://www.acronis.de/ 108*380b5c7dSchl>362 string MBR\ Error\ \0\r 109*380b5c7dSchl>>376 string ress\ any\ key\ to\ 110*380b5c7dSchl>>>392 string boot\ from\ floppy...\0 \b, Acronis MBR 111*380b5c7dSchl# added by Joerg Jenderek 112*380b5c7dSchl# http://www.visopsys.org/ 113*380b5c7dSchl# http://partitionlogic.org.uk/ 114*380b5c7dSchl>309 string No\ bootable\ partition\ found\r 115*380b5c7dSchl>>339 string I/O\ Error\ reading\ boot\ sector\r \b, Visopsys MBR 116*380b5c7dSchl>349 string No\ bootable\ partition\ found\r 117*380b5c7dSchl>>379 string I/O\ Error\ reading\ boot\ sector\r \b, simple Visopsys MBR 118*380b5c7dSchl# bootloader, bootmanager 119*380b5c7dSchl>0x40 string SBML 120*380b5c7dSchl# label with 11 characters of FAT 12 bit filesystem 121*380b5c7dSchl>>43 string SMART\ BTMGR 122*380b5c7dSchl>>>430 string SBMK\ Bad!\r 123*380b5c7dSchl>>>>3 string SBM \b, Smart Boot Manager 124*380b5c7dSchl>>>>>6 string >\0 \b, version %s 125*380b5c7dSchl>382 string XOSLLOADXCF \b, eXtended Operating System Loader 126*380b5c7dSchl>6 string LILO \b, LInux i386 boot LOader 127*380b5c7dSchl>>120 string LILO \b, version 22.3.4 SuSe 128*380b5c7dSchl>>172 string LILO \b, version 22.5.8 Debian 129*380b5c7dSchl# updated by Joerg Jenderek 130*380b5c7dSchl# variables according to grub-0.97/stage1/stage1.S or 131*380b5c7dSchl# http://www.gnu.org/software/grub/manual/grub.html#Embedded-data 132*380b5c7dSchl# usual values are marked with comments to get only informations of strange GRUB loaders 133*380b5c7dSchl>0 ulelong 0x009048EB 134*380b5c7dSchl>>0x41 ubyte <2 135*380b5c7dSchl>>>0x3E ubyte >2 \b; GRand Unified Bootloader 136*380b5c7dSchl# 0x3 for 0.5.95,0.93,0.94,0.96 0x4 for 1.90 137*380b5c7dSchl>>>>0x3E ubyte x \b, stage1 version 0x%x 138*380b5c7dSchl#If it is 0xFF, use a drive passed by BIOS 139*380b5c7dSchl>>>>0x40 ubyte <0xFF \b, boot drive 0x%x 140*380b5c7dSchl# in most case 0,1,0x2e for GRUB 0.5.95 141*380b5c7dSchl>>>>0x41 ubyte >0 \b, LBA flag 0x%x 142*380b5c7dSchl>>>>0x42 uleshort <0x8000 \b, stage2 address 0x%x 143*380b5c7dSchl#>>>>0x42 uleshort =0x8000 \b, stage2 address 0x%x (usual) 144*380b5c7dSchl>>>>0x42 uleshort >0x8000 \b, stage2 address 0x%x 145*380b5c7dSchl#>>>>0x44 ulelong =1 \b, 1st sector stage2 0x%x (default) 146*380b5c7dSchl>>>>0x44 ulelong >1 \b, 1st sector stage2 0x%x 147*380b5c7dSchl>>>>0x48 uleshort <0x800 \b, stage2 segment 0x%x 148*380b5c7dSchl#>>>>0x48 uleshort =0x800 \b, stage2 segment 0x%x (usual) 149*380b5c7dSchl>>>>0x48 uleshort >0x800 \b, stage2 segment 0x%x 150*380b5c7dSchl>>>>402 string Geom\0Hard\ Disk\0Read\0\ Error\0 151*380b5c7dSchl>>>>>394 string stage1 \b, GRUB version 0.5.95 152*380b5c7dSchl>>>>382 string Geom\0Hard\ Disk\0Read\0\ Error\0 153*380b5c7dSchl>>>>>376 string GRUB\ \0 \b, GRUB version 0.93 or 1.94 154*380b5c7dSchl>>>>383 string Geom\0Hard\ Disk\0Read\0\ Error\0 155*380b5c7dSchl>>>>>377 string GRUB\ \0 \b, GRUB version 0.94 156*380b5c7dSchl>>>>385 string Geom\0Hard\ Disk\0Read\0\ Error\0 157*380b5c7dSchl>>>>>379 string GRUB\ \0 \b, GRUB version 0.95 or 0.96 158*380b5c7dSchl>>>>391 string Geom\0Hard\ Disk\0Read\0\ Error\0 159*380b5c7dSchl>>>>>385 string GRUB\ \0 \b, GRUB version 0.97 160*380b5c7dSchl#unkown version 161*380b5c7dSchl>>>343 string Geom\0Read\0\ Error\0 162*380b5c7dSchl>>>>321 string Loading\ stage1.5 \b, GRUB version x.y 163*380b5c7dSchl>>>380 string Geom\0Hard\ Disk\0Read\0\ Error\0 164*380b5c7dSchl>>>>374 string GRUB\ \0 \b, GRUB version n.m 165*380b5c7dSchl# http://syslinux.zytor.com/ 166*380b5c7dSchl>478 string Boot\ failed\r 167*380b5c7dSchl>>495 string LDLINUX\ SYS \b, SYSLINUX bootloader (1.62) 168*380b5c7dSchl>480 string Boot\ failed\r 169*380b5c7dSchl>>495 string LDLINUX\ SYS \b, SYSLINUX bootloader (2.06 or 2.11) 170*380b5c7dSchl>484 string Boot\ error\r \b, SYSLINUX bootloader (3.11) 171*380b5c7dSchl>395 string chksum\0\ ERROR!\0 \b, Gujin bootloader 172*380b5c7dSchl# http://www.bcdwb.de/bcdw/index_e.htm 173*380b5c7dSchl>3 string BCDL 174*380b5c7dSchl>>498 string BCDL\ \ \ \ BIN \b, Bootable CD Loader (1.50Z) 175*380b5c7dSchl# mbr partion table entries 176*380b5c7dSchl# OEM-ID not Microsoft,SYSLINUX,or MTOOLs 177*380b5c7dSchl>3 string !MS 178*380b5c7dSchl>>3 string !SYSLINUX 179*380b5c7dSchl>>>3 string !MTOOL 180*380b5c7dSchl# not FAT (32 bit) 181*380b5c7dSchl>>>>82 string !FAT32 182*380b5c7dSchl#not IO.SYS 183*380b5c7dSchl>>>>>472 string !IO\ \ \ \ \ \ SYS 184*380b5c7dSchl#not Linux kernel 185*380b5c7dSchl>>>>>>514 string !HdrS 186*380b5c7dSchl# active flag 0 or 0x80 and type > 0 187*380b5c7dSchl>>>>>>>446 ubyte <0x81 188*380b5c7dSchl>>>>>>>>446 ubyte&0x7F 0 189*380b5c7dSchl>>>>>>>>>>>450 ubyte >0 \b; partition 1: ID=0x%x 190*380b5c7dSchl>>>>>>>>>>446 ubyte 0x80 \b, active 191*380b5c7dSchl>>>>>>>>>>447 ubyte x \b, starthead %u 192*380b5c7dSchl#>>>>>>>>>>448 ubyte x \b, start C_S: 0x%x 193*380b5c7dSchl#>>>>>>>>>>448 ubeshort&1023 x \b, startcylinder? %d 194*380b5c7dSchl>>>>>>>>>>454 ulelong x \b, startsector %u 195*380b5c7dSchl>>>>>>>>>>458 ulelong x \b, %u sectors 196*380b5c7dSchl# 197*380b5c7dSchl>>>>>>>462 ubyte <0x81 198*380b5c7dSchl>>>>>>>>462 ubyte&0x7F 0 199*380b5c7dSchl>>>>>>>>>466 ubyte >0 \b; partition 2: ID=0x%x 200*380b5c7dSchl>>>>>>>>>>462 ubyte 0x80 \b, active 201*380b5c7dSchl>>>>>>>>>>463 ubyte x \b, starthead %u 202*380b5c7dSchl#>>>>>>>>>>464 ubyte x \b, start C_S: 0x%x 203*380b5c7dSchl#>>>>>>>>>>464 ubeshort&1023 x \b, startcylinder? %d 204*380b5c7dSchl>>>>>>>>>>470 ulelong x \b, startsector %u 205*380b5c7dSchl>>>>>>>>>>474 ulelong x \b, %u sectors 206*380b5c7dSchl# 207*380b5c7dSchl>>>>>>>478 ubyte <0x81 208*380b5c7dSchl>>>>>>>>478 ubyte&0x7F 0 209*380b5c7dSchl>>>>>>>>>482 ubyte >0 \b; partition 3: ID=0x%x 210*380b5c7dSchl>>>>>>>>>>478 ubyte 0x80 \b, active 211*380b5c7dSchl>>>>>>>>>>479 ubyte x \b, starthead %u 212*380b5c7dSchl#>>>>>>>>>>480 ubyte x \b, start C_S: 0x%x 213*380b5c7dSchl#>>>>>>>>>>481 ubyte x \b, start C2S: 0x%x 214*380b5c7dSchl#>>>>>>>>>>480 ubeshort&1023 x \b, startcylinder? %d 215*380b5c7dSchl>>>>>>>>>>486 ulelong x \b, startsector %u 216*380b5c7dSchl>>>>>>>>>>490 ulelong x \b, %u sectors 217*380b5c7dSchl# 218*380b5c7dSchl>>>>>>>494 ubyte <0x81 219*380b5c7dSchl>>>>>>>>494 ubyte&0x7F 0 220*380b5c7dSchl>>>>>>>>>498 ubyte >0 \b; partition 4: ID=0x%x 221*380b5c7dSchl>>>>>>>>>>494 ubyte 0x80 \b, active 222*380b5c7dSchl>>>>>>>>>>495 ubyte x \b, starthead %u 223*380b5c7dSchl#>>>>>>>>>>496 ubyte x \b, start C_S: 0x%x 224*380b5c7dSchl#>>>>>>>>>>496 ubeshort&1023 x \b, startcylinder? %d 225*380b5c7dSchl>>>>>>>>>>502 ulelong x \b, startsector %u 226*380b5c7dSchl>>>>>>>>>>506 ulelong x \b, %u sectors 227*380b5c7dSchl# mbr partion table entries end 228*380b5c7dSchl# http://www.acronis.de/ 229*380b5c7dSchl#FAT label=ACRONIS\ SZ 230*380b5c7dSchl#OEM-ID=BOOTWIZ0 231*380b5c7dSchl>442 string Non-system\ disk,\ 232*380b5c7dSchl>>459 string press\ any\ key...\x7\0 \b, Acronis Startup Recovery Loader 233*380b5c7dSchl# DOS names like F11.SYS are 8 right space padded bytes+3 bytes 234*380b5c7dSchl>>>477 ubyte&0xDF >0 235*380b5c7dSchl>>>>477 string x \b %-.3s 236*380b5c7dSchl>>>>>480 ubyte&0xDF >0 237*380b5c7dSchl>>>>>>480 string x \b%-.5s 238*380b5c7dSchl>>>>485 ubyte&0xDF >0 239*380b5c7dSchl>>>>>485 string x \b.%-.3s 240*380b5c7dSchl# 241*380b5c7dSchl>185 string FDBOOT\ Version\ 242*380b5c7dSchl>>204 string \rNo\ Systemdisk.\ 243*380b5c7dSchl>>>220 string Booting\ from\ harddisk.\n\r 244*380b5c7dSchl>>>245 string Cannot\ load\ from\ harddisk.\n\r 245*380b5c7dSchl>>>>273 string Insert\ Systemdisk\ 246*380b5c7dSchl>>>>>291 string and\ press\ any\ key.\n\r \b, FDBOOT harddisk Bootloader 247*380b5c7dSchl>>>>>>200 string >\0 \b, version %-3s 248*380b5c7dSchl>242 string Bootsector\ from\ C.H.\ Hochst\204 249*380b5c7dSchl>>278 string No\ Systemdisk.\ 250*380b5c7dSchl>>>293 string Booting\ from\ harddisk.\n\r 251*380b5c7dSchl>>>441 string Cannot\ load\ from\ harddisk.\n\r 252*380b5c7dSchl>>>>469 string Insert\ Systemdisk\ 253*380b5c7dSchl>>>>>487 string and\ press\ any\ key.\n\r \b, WinImage harddisk Bootloader 254*380b5c7dSchl>>>>>>209 string >\0 \b, version %-4.4s 255*380b5c7dSchl>(1.b+2) ubyte 0xe 256*380b5c7dSchl>>(1.b+3) ubyte 0x1f 257*380b5c7dSchl>>>(1.b+4) ubyte 0xbe 258*380b5c7dSchl>>>>(1.b+5) ubyte 0x77 259*380b5c7dSchl>>>>(1.b+6) ubyte 0x7c 260*380b5c7dSchl>>>>>(1.b+7) ubyte 0xac 261*380b5c7dSchl>>>>>>(1.b+8) ubyte 0x22 262*380b5c7dSchl>>>>>>>(1.b+9) ubyte 0xc0 263*380b5c7dSchl>>>>>>>>(1.b+10) ubyte 0x74 264*380b5c7dSchl>>>>>>>>>(1.b+11) ubyte 0xb 265*380b5c7dSchl>>>>>>>>>>(1.b+12) ubyte 0x56 266*380b5c7dSchl>>>>>>>>>>(1.b+13) ubyte 0xb4 \b, mkdosfs boot message display 267*380b5c7dSchl>103 string This\ is\ not\ a\ bootable\ disk.\ 268*380b5c7dSchl>>132 string Please\ insert\ a\ bootable\ 269*380b5c7dSchl>>>157 string floppy\ and\r\n 270*380b5c7dSchl>>>>169 string press\ any\ key\ to\ try\ again...\r \b, FREE-DOS message display 271*380b5c7dSchl# 272*380b5c7dSchl>66 string Solaris\ Boot\ Sector 273*380b5c7dSchl>>99 string Incomplete\ MDBoot\ load. 274*380b5c7dSchl>>>89 string Version \b, Sun Solaris Bootloader 275*380b5c7dSchl>>>>97 byte x version %c 276*380b5c7dSchl# 277*380b5c7dSchl>408 string OS/2\ !!\ SYS01475\r\0 278*380b5c7dSchl>>429 string OS/2\ !!\ SYS02025\r\0 279*380b5c7dSchl>>>450 string OS/2\ !!\ SYS02027\r\0 280*380b5c7dSchl>>>469 string OS2BOOT\ \ \ \ \b, IBM OS/2 Warp bootloader 281*380b5c7dSchl# 282*380b5c7dSchl>409 string OS/2\ !!\ SYS01475\r\0 283*380b5c7dSchl>>430 string OS/2\ !!\ SYS02025\r\0 284*380b5c7dSchl>>>451 string OS/2\ !!\ SYS02027\r\0 285*380b5c7dSchl>>>470 string OS2BOOT\ \ \ \ \b, IBM OS/2 Warp Bootloader 286*380b5c7dSchl>112 string This\ disk\ is\ not\ bootable\r 287*380b5c7dSchl>>142 string If\ you\ wish\ to\ make\ it\ bootable 288*380b5c7dSchl>>>176 string run\ the\ DOS\ program\ SYS\ 289*380b5c7dSchl>>>200 string after\ the\r 290*380b5c7dSchl>>>>216 string system\ has\ been\ loaded\r\n 291*380b5c7dSchl>>>>>242 string Please\ insert\ a\ DOS\ diskette\ 292*380b5c7dSchl>>>>>271 string into\r\n\ the\ drive\ and\ 293*380b5c7dSchl>>>>>>292 string strike\ any\ key...\0 \b, IBM OS/2 Warp message display 294*380b5c7dSchl# XP 295*380b5c7dSchl>430 string NTLDR\ is\ missing\xFF\r\n 296*380b5c7dSchl>>449 string Disk\ error\xFF\r\n 297*380b5c7dSchl>>>462 string Press\ any\ key\ to\ restart\r \b, Microsoft Windows XP Bootloader 298*380b5c7dSchl# DOS names like NTLDR,CMLDR,$LDR$ are 8 right space padded bytes+3 bytes 299*380b5c7dSchl>>>>417 ubyte&0xDF >0 300*380b5c7dSchl>>>>>417 string x %-.5s 301*380b5c7dSchl>>>>>>422 ubyte&0xDF >0 302*380b5c7dSchl>>>>>>>422 string x \b%-.3s 303*380b5c7dSchl>>>>>425 ubyte&0xDF >0 304*380b5c7dSchl>>>>>>425 string >\ \b.%-.3s 305*380b5c7dSchl# 306*380b5c7dSchl>>>>371 ubyte >0x20 307*380b5c7dSchl>>>>>368 ubyte&0xDF >0 308*380b5c7dSchl>>>>>>368 string x %-.5s 309*380b5c7dSchl>>>>>>>373 ubyte&0xDF >0 310*380b5c7dSchl>>>>>>>>373 string x \b%-.3s 311*380b5c7dSchl>>>>>>376 ubyte&0xDF >0 312*380b5c7dSchl>>>>>>>376 string x \b.%-.3s 313*380b5c7dSchl# 314*380b5c7dSchl>430 string NTLDR\ nicht\ gefunden\xFF\r\n 315*380b5c7dSchl>>453 string Datentr\204gerfehler\xFF\r\n 316*380b5c7dSchl>>>473 string Neustart\ mit\ beliebiger\ Taste\r \b, Microsoft Windows XP Bootloader (german) 317*380b5c7dSchl>>>>417 ubyte&0xDF >0 318*380b5c7dSchl>>>>>417 string x %-.5s 319*380b5c7dSchl>>>>>>422 ubyte&0xDF >0 320*380b5c7dSchl>>>>>>>422 string x \b%-.3s 321*380b5c7dSchl>>>>>425 ubyte&0xDF >0 322*380b5c7dSchl>>>>>>425 string >\ \b.%-.3s 323*380b5c7dSchl# offset variant 324*380b5c7dSchl>>>>379 string \0 325*380b5c7dSchl>>>>>368 ubyte&0xDF >0 326*380b5c7dSchl>>>>>>368 string x %-.5s 327*380b5c7dSchl>>>>>>>373 ubyte&0xDF >0 328*380b5c7dSchl>>>>>>>>373 string x \b%-.3s 329*380b5c7dSchl# 330*380b5c7dSchl>430 string NTLDR\ fehlt\xFF\r\n 331*380b5c7dSchl>>444 string Datentr\204gerfehler\xFF\r\n 332*380b5c7dSchl>>>464 string Neustart\ mit\ beliebiger\ Taste\r \b, Microsoft Windows XP Bootloader (2.german) 333*380b5c7dSchl>>>>417 ubyte&0xDF >0 334*380b5c7dSchl>>>>>417 string x %-.5s 335*380b5c7dSchl>>>>>>422 ubyte&0xDF >0 336*380b5c7dSchl>>>>>>>422 string x \b%-.3s 337*380b5c7dSchl>>>>>425 ubyte&0xDF >0 338*380b5c7dSchl>>>>>>425 string >\ \b.%-.3s 339*380b5c7dSchl# variant 340*380b5c7dSchl>>>>371 ubyte >0x20 341*380b5c7dSchl>>>>>368 ubyte&0xDF >0 342*380b5c7dSchl>>>>>>368 string x %-.5s 343*380b5c7dSchl>>>>>>>373 ubyte&0xDF >0 344*380b5c7dSchl>>>>>>>>373 string x \b%-.3s 345*380b5c7dSchl>>>>>>376 ubyte&0xDF >0 346*380b5c7dSchl>>>>>>>376 string x \b.%-.3s 347*380b5c7dSchl# 348*380b5c7dSchl>430 string NTLDR\ fehlt\xFF\r\n 349*380b5c7dSchl>>444 string Medienfehler\xFF\r\n 350*380b5c7dSchl>>>459 string Neustart:\ Taste\ dr\201cken\r \b, Microsoft Windows XP Bootloader (3.german) 351*380b5c7dSchl>>>>371 ubyte >0x20 352*380b5c7dSchl>>>>>368 ubyte&0xDF >0 353*380b5c7dSchl>>>>>>368 string x %-.5s 354*380b5c7dSchl>>>>>>>373 ubyte&0xDF >0 355*380b5c7dSchl>>>>>>>>373 string x \b%-.3s 356*380b5c7dSchl>>>>>>376 ubyte&0xDF >0 357*380b5c7dSchl>>>>>>>376 string x \b.%-.3s 358*380b5c7dSchl# variant 359*380b5c7dSchl>>>>417 ubyte&0xDF >0 360*380b5c7dSchl>>>>>417 string x %-.5s 361*380b5c7dSchl>>>>>>422 ubyte&0xDF >0 362*380b5c7dSchl>>>>>>>422 string x \b%-.3s 363*380b5c7dSchl>>>>>425 ubyte&0xDF >0 364*380b5c7dSchl>>>>>>425 string >\ \b.%-.3s 365*380b5c7dSchl# 366*380b5c7dSchl>430 string Datentr\204ger\ entfernen\xFF\r\n 367*380b5c7dSchl>>454 string Medienfehler\xFF\r\n 368*380b5c7dSchl>>>469 string Neustart:\ Taste\ dr\201cken\r \b, Microsoft Windows XP Bootloader (4.german) 369*380b5c7dSchl>>>>368 ubyte&0xDF >0 370*380b5c7dSchl>>>>>368 string x %-.5s 371*380b5c7dSchl>>>>>>373 ubyte&0xDF >0 372*380b5c7dSchl>>>>>>>373 string x \b%-.3s 373*380b5c7dSchl>>>>>376 ubyte&0xDF >0 374*380b5c7dSchl>>>>>>376 string x \b.%-.3s 375*380b5c7dSchl#>3 string NTFS\ \ \ \ 376*380b5c7dSchl>389 string Fehler\ beim\ Lesen\ 377*380b5c7dSchl>>407 string des\ Datentr\204gers 378*380b5c7dSchl>>>426 string NTLDR\ fehlt 379*380b5c7dSchl>>>>440 string NTLDR\ ist\ komprimiert 380*380b5c7dSchl>>>>>464 string Neustart\ mit\ Strg+Alt+Entf\r \b, Microsoft Windows XP Bootloader NTFS (german) 381*380b5c7dSchl#>3 string NTFS\ \ \ \ 382*380b5c7dSchl>313 string A\ disk\ read\ error\ occurred.\r 383*380b5c7dSchl>>345 string A\ kernel\ file\ is\ missing\ 384*380b5c7dSchl>>>370 string from\ the\ disk.\r 385*380b5c7dSchl>>>>484 string NTLDR\ is\ compressed 386*380b5c7dSchl>>>>>429 string Insert\ a\ system\ diskette\ 387*380b5c7dSchl>>>>>>454 string and\ restart\r\nthe\ system.\r \b, Microsoft Windows XP Bootloader NTFS 388*380b5c7dSchl# DOS loader variants different languages,offsets 389*380b5c7dSchl>472 ubyte&0xDF >0 390*380b5c7dSchl>>389 string Invalid\ system\ disk\xFF\r\n 391*380b5c7dSchl>>>411 string Disk\ I/O\ error 392*380b5c7dSchl>>>>428 string Replace\ the\ disk,\ and\ 393*380b5c7dSchl>>>>>455 string press\ any\ key \b, Microsoft Windows 98 Bootloader 394*380b5c7dSchl#IO.SYS 395*380b5c7dSchl>>>>>>472 ubyte&0xDF >0 396*380b5c7dSchl>>>>>>>472 string x \b %-.2s 397*380b5c7dSchl>>>>>>>>474 ubyte&0xDF >0 398*380b5c7dSchl>>>>>>>>>474 string x \b%-.5s 399*380b5c7dSchl>>>>>>>>>>479 ubyte&0xDF >0 400*380b5c7dSchl>>>>>>>>>>>479 string x \b%-.1s 401*380b5c7dSchl>>>>>>>480 ubyte&0xDF >0 402*380b5c7dSchl>>>>>>>>480 string x \b.%-.3s 403*380b5c7dSchl#MSDOS.SYS 404*380b5c7dSchl>>>>>>>483 ubyte&0xDF >0 \b+ 405*380b5c7dSchl>>>>>>>>483 string x \b%-.5s 406*380b5c7dSchl>>>>>>>>>488 ubyte&0xDF >0 407*380b5c7dSchl>>>>>>>>>>488 string x \b%-.3s 408*380b5c7dSchl>>>>>>>>491 ubyte&0xDF >0 409*380b5c7dSchl>>>>>>>>>491 string x \b.%-.3s 410*380b5c7dSchl# 411*380b5c7dSchl>>390 string Invalid\ system\ disk\xFF\r\n 412*380b5c7dSchl>>>412 string Disk\ I/O\ error\xFF\r\n 413*380b5c7dSchl>>>>429 string Replace\ the\ disk,\ and\ 414*380b5c7dSchl>>>>>451 string then\ press\ any\ key\r \b, Microsoft Windows 98 Bootloader 415*380b5c7dSchl>>388 string Ungueltiges\ System\ \xFF\r\n 416*380b5c7dSchl>>>410 string E/A-Fehler\ \ \ \ \xFF\r\n 417*380b5c7dSchl>>>>427 string Datentraeger\ wechseln\ und\ 418*380b5c7dSchl>>>>>453 string Taste\ druecken\r \b, Microsoft Windows 95/98/ME Bootloader (german) 419*380b5c7dSchl#WINBOOT.SYS only not spaces (0xDF) 420*380b5c7dSchl>>>>>>497 ubyte&0xDF >0 421*380b5c7dSchl>>>>>>>497 string x %-.5s 422*380b5c7dSchl>>>>>>>>502 ubyte&0xDF >0 423*380b5c7dSchl>>>>>>>>>502 string x \b%-.1s 424*380b5c7dSchl>>>>>>>>>>503 ubyte&0xDF >0 425*380b5c7dSchl>>>>>>>>>>>503 string x \b%-.1s 426*380b5c7dSchl>>>>>>>>>>>>504 ubyte&0xDF >0 427*380b5c7dSchl>>>>>>>>>>>>>504 string x \b%-.1s 428*380b5c7dSchl>>>>>>505 ubyte&0xDF >0 429*380b5c7dSchl>>>>>>>505 string x \b.%-.3s 430*380b5c7dSchl#IO.SYS 431*380b5c7dSchl>>>>>>472 ubyte&0xDF >0 or 432*380b5c7dSchl>>>>>>>472 string x \b %-.2s 433*380b5c7dSchl>>>>>>>>474 ubyte&0xDF >0 434*380b5c7dSchl>>>>>>>>>474 string x \b%-.5s 435*380b5c7dSchl>>>>>>>>>>479 ubyte&0xDF >0 436*380b5c7dSchl>>>>>>>>>>>479 string x \b%-.1s 437*380b5c7dSchl>>>>>>>480 ubyte&0xDF >0 438*380b5c7dSchl>>>>>>>>480 string x \b.%-.3s 439*380b5c7dSchl#MSDOS.SYS 440*380b5c7dSchl>>>>>>>483 ubyte&0xDF >0 \b+ 441*380b5c7dSchl>>>>>>>>483 string x \b%-.5s 442*380b5c7dSchl>>>>>>>>>488 ubyte&0xDF >0 443*380b5c7dSchl>>>>>>>>>>488 string x \b%-.3s 444*380b5c7dSchl>>>>>>>>491 ubyte&0xDF >0 445*380b5c7dSchl>>>>>>>>>491 string x \b.%-.3s 446*380b5c7dSchl# 447*380b5c7dSchl>>390 string Ungueltiges\ System\ \xFF\r\n 448*380b5c7dSchl>>>412 string E/A-Fehler\ \ \ \ \xFF\r\n 449*380b5c7dSchl>>>>429 string Datentraeger\ wechseln\ und\ 450*380b5c7dSchl>>>>>455 string Taste\ druecken\r \b, Microsoft Windows 95/98/ME Bootloader (German) 451*380b5c7dSchl#WINBOOT.SYS only not spaces (0xDF) 452*380b5c7dSchl>>>>>>497 ubyte&0xDF >0 453*380b5c7dSchl>>>>>>>497 string x %-.7s 454*380b5c7dSchl>>>>>>>>504 ubyte&0xDF >0 455*380b5c7dSchl>>>>>>>>>504 string x \b%-.1s 456*380b5c7dSchl>>>>>>505 ubyte&0xDF >0 457*380b5c7dSchl>>>>>>>505 string x \b.%-.3s 458*380b5c7dSchl#IO.SYS 459*380b5c7dSchl>>>>>>472 ubyte&0xDF >0 or 460*380b5c7dSchl>>>>>>>472 string x \b %-.2s 461*380b5c7dSchl>>>>>>>>474 ubyte&0xDF >0 462*380b5c7dSchl>>>>>>>>>474 string x \b%-.6s 463*380b5c7dSchl>>>>>>>480 ubyte&0xDF >0 464*380b5c7dSchl>>>>>>>>480 string x \b.%-.3s 465*380b5c7dSchl#MSDOS.SYS 466*380b5c7dSchl>>>>>>>483 ubyte&0xDF >0 \b+ 467*380b5c7dSchl>>>>>>>>483 string x \b%-.5s 468*380b5c7dSchl>>>>>>>>>488 ubyte&0xDF >0 469*380b5c7dSchl>>>>>>>>>>488 string x \b%-.3s 470*380b5c7dSchl>>>>>>>>491 ubyte&0xDF >0 471*380b5c7dSchl>>>>>>>>>491 string x \b.%-.3s 472*380b5c7dSchl# 473*380b5c7dSchl>>389 string Ungueltiges\ System\ \xFF\r\n 474*380b5c7dSchl>>>411 string E/A-Fehler\ \ \ \ \xFF\r\n 475*380b5c7dSchl>>>>428 string Datentraeger\ wechseln\ und\ 476*380b5c7dSchl>>>>>454 string Taste\ druecken\r \b, Microsoft Windows 95/98/ME Bootloader (GERMAN) 477*380b5c7dSchl# DOS names like IO.SYS,WINBOOT.SYS,MSDOS.SYS,WINBOOT.INI are 8 right space padded bytes+3 bytes 478*380b5c7dSchl>>>>>>472 string x %-.2s 479*380b5c7dSchl>>>>>>>474 ubyte&0xDF >0 480*380b5c7dSchl>>>>>>>>474 string x \b%-.5s 481*380b5c7dSchl>>>>>>>>479 ubyte&0xDF >0 482*380b5c7dSchl>>>>>>>>>479 string x \b%-.1s 483*380b5c7dSchl>>>>>>480 ubyte&0xDF >0 484*380b5c7dSchl>>>>>>>480 string x \b.%-.3s 485*380b5c7dSchl>>>>>>483 ubyte&0xDF >0 \b+ 486*380b5c7dSchl>>>>>>>483 string x \b%-.5s 487*380b5c7dSchl>>>>>>>488 ubyte&0xDF >0 488*380b5c7dSchl>>>>>>>>488 string x \b%-.2s 489*380b5c7dSchl>>>>>>>>490 ubyte&0xDF >0 490*380b5c7dSchl>>>>>>>>>490 string x \b%-.1s 491*380b5c7dSchl>>>>>>>491 ubyte&0xDF >0 492*380b5c7dSchl>>>>>>>>491 string x \b.%-.3s 493*380b5c7dSchl>479 ubyte&0xDF >0 494*380b5c7dSchl>>416 string Kein\ System\ oder\ 495*380b5c7dSchl>>>433 string Laufwerksfehler 496*380b5c7dSchl>>>>450 string Wechseln\ und\ Taste\ dr\201cken \b, Microsoft DOS Bootloader (german) 497*380b5c7dSchl#IO.SYS 498*380b5c7dSchl>>>>>479 string x \b %-.2s 499*380b5c7dSchl>>>>>>481 ubyte&0xDF >0 500*380b5c7dSchl>>>>>>>481 string x \b%-.6s 501*380b5c7dSchl>>>>>487 ubyte&0xDF >0 502*380b5c7dSchl>>>>>>487 string x \b.%-.3s 503*380b5c7dSchl#MSDOS.SYS 504*380b5c7dSchl>>>>>>490 ubyte&0xDF >0 \b+ 505*380b5c7dSchl>>>>>>>490 string x \b%-.5s 506*380b5c7dSchl>>>>>>>>495 ubyte&0xDF >0 507*380b5c7dSchl>>>>>>>>>495 string x \b%-.3s 508*380b5c7dSchl>>>>>>>498 ubyte&0xDF >0 509*380b5c7dSchl>>>>>>>>498 string x \b.%-.3s 510*380b5c7dSchl# 511*380b5c7dSchl>486 ubyte&0xDF >0 512*380b5c7dSchl>>416 string Non-System\ disk\ or\ 513*380b5c7dSchl>>>435 string disk\ error\r 514*380b5c7dSchl>>>>447 string Replace\ and\ press\ any\ key\ 515*380b5c7dSchl>>>>>473 string when\ ready\r \b, Microsoft DOS Bootloader 516*380b5c7dSchl>480 ubyte&0xDF >0 517*380b5c7dSchl>>393 string Non-System\ disk\ or\ 518*380b5c7dSchl>>>412 string disk\ error\r 519*380b5c7dSchl>>>>424 string Replace\ and\ press\ any\ key\ 520*380b5c7dSchl>>>>>450 string when\ ready\r \b, Microsoft DOS bootloader 521*380b5c7dSchl#IO.SYS 522*380b5c7dSchl>>>>>480 string x \b %-.2s 523*380b5c7dSchl>>>>>>482 ubyte&0xDF >0 524*380b5c7dSchl>>>>>>>48 string x \b%-.6s 525*380b5c7dSchl>>>>>488 ubyte&0xDF >0 526*380b5c7dSchl>>>>>>488 string x \b.%-.3s 527*380b5c7dSchl#MSDOS.SYS 528*380b5c7dSchl>>>>>>491 ubyte&0xDF >0 \b+ 529*380b5c7dSchl>>>>>>>491 string x \b%-.5s 530*380b5c7dSchl>>>>>>>>496 ubyte&0xDF >0 531*380b5c7dSchl>>>>>>>>>496 string x \b%-.3s 532*380b5c7dSchl>>>>>>>499 ubyte&0xDF >0 533*380b5c7dSchl>>>>>>>>499 string x \b.%-.3s 534*380b5c7dSchl#>43 string \224R-LOADER\ \ SYS =label 535*380b5c7dSchl>54 string SYS 536*380b5c7dSchl>>324 string VASKK 537*380b5c7dSchl>>>495 string NEWLDR\0 \b, DR-DOS Bootloader (LOADER.SYS) 538*380b5c7dSchl# 539*380b5c7dSchl>70 string IBMBIO\ \ COM 540*380b5c7dSchl>>472 string Cannot\ load\ DOS!\ 541*380b5c7dSchl>>>489 string Any\ key\ to\ retry \b, DR-DOS Bootloader 542*380b5c7dSchl>>471 string Cannot\ load\ DOS\ 543*380b5c7dSchl>>487 string press\ key\ to\ retry \b, Open-DOS Bootloader 544*380b5c7dSchl>444 string KERNEL\ \ SYS 545*380b5c7dSchl>>314 string BOOT\ error! \b, FREE-DOS Bootloader 546*380b5c7dSchl>499 string KERNEL\ \ SYS 547*380b5c7dSchl>>305 string BOOT\ err!\0 \b, Free-DOS Bootloader 548*380b5c7dSchl>449 string KERNEL\ \ SYS 549*380b5c7dSchl>>319 string BOOT\ error! \b, FREE-DOS 0.5 Bootloader 550*380b5c7dSchl>125 string Loading\ FreeDOS...\r 551*380b5c7dSchl>>311 string BOOT\ error!\r \b, FREE-DOS bootloader 552*380b5c7dSchl>>>441 ubyte&0xDF >0 553*380b5c7dSchl>>>>441 string x \b %-.6s 554*380b5c7dSchl>>>>>447 ubyte&0xDF >0 555*380b5c7dSchl>>>>>>447 string x \b%-.1s 556*380b5c7dSchl>>>>>>>448 ubyte&0xDF >0 557*380b5c7dSchl>>>>>>>>448 string x \b%-.1s 558*380b5c7dSchl>>>>449 ubyte&0xDF >0 559*380b5c7dSchl>>>>>449 string x \b.%-.3s 560*380b5c7dSchl>124 string FreeDOS\0 561*380b5c7dSchl>>331 string \ err\0 \b, FREE-DOS BETa 0.9 Bootloader 562*380b5c7dSchl# DOS names like KERNEL.SYS,KERNEL16.SYS,KERNEL32.SYS,METAKERN.SYS are 8 right space padded bytes+3 bytes 563*380b5c7dSchl>>>497 ubyte&0xDF >0 564*380b5c7dSchl>>>>497 string x \b %-.6s 565*380b5c7dSchl>>>>>503 ubyte&0xDF >0 566*380b5c7dSchl>>>>>>503 string x \b%-.1s 567*380b5c7dSchl>>>>>>>504 ubyte&0xDF >0 568*380b5c7dSchl>>>>>>>>504 string x \b%-.1s 569*380b5c7dSchl>>>>505 ubyte&0xDF >0 570*380b5c7dSchl>>>>>505 string x \b.%-.3s 571*380b5c7dSchl>>333 string \ err\0 \b, FREE-DOS BEta 0.9 Bootloader 572*380b5c7dSchl>>>497 ubyte&0xDF >0 573*380b5c7dSchl>>>>497 string x \b %-.6s 574*380b5c7dSchl>>>>>503 ubyte&0xDF >0 575*380b5c7dSchl>>>>>>503 string x \b%-.1s 576*380b5c7dSchl>>>>>>>504 ubyte&0xDF >0 577*380b5c7dSchl>>>>>>>>504 string x \b%-.1s 578*380b5c7dSchl>>>>505 ubyte&0xDF >0 579*380b5c7dSchl>>>>>505 string x \b.%-.3s 580*380b5c7dSchl>>334 string \ err\0 \b, FREE-DOS Beta 0.9 Bootloader 581*380b5c7dSchl>>>497 ubyte&0xDF >0 582*380b5c7dSchl>>>>497 string x \b %-.6s 583*380b5c7dSchl>>>>>503 ubyte&0xDF >0 584*380b5c7dSchl>>>>>>503 string x \b%-.1s 585*380b5c7dSchl>>>>>>>504 ubyte&0xDF >0 586*380b5c7dSchl>>>>>>>>504 string x \b%-.1s 587*380b5c7dSchl>>>>505 ubyte&0xDF >0 588*380b5c7dSchl>>>>>505 string x \b.%-.3s 589*380b5c7dSchl>336 string Error!\ 590*380b5c7dSchl>>343 string Hit\ a\ key\ to\ reboot. \b, FREE-DOS Beta 0.9sr1 Bootloader 591*380b5c7dSchl>>>497 ubyte&0xDF >0 592*380b5c7dSchl>>>>497 string x \b %-.6s 593*380b5c7dSchl>>>>>503 ubyte&0xDF >0 594*380b5c7dSchl>>>>>>503 string x \b%-.1s 595*380b5c7dSchl>>>>>>>504 ubyte&0xDF >0 596*380b5c7dSchl>>>>>>>>504 string x \b%-.1s 597*380b5c7dSchl>>>>505 ubyte&0xDF >0 598*380b5c7dSchl>>>>>505 string x \b.%-.3s 599*380b5c7dSchl# added by Joerg Jenderek 600*380b5c7dSchl# http://www.visopsys.org/ 601*380b5c7dSchl# http://partitionlogic.org.uk/ 602*380b5c7dSchl# OEM-ID=Visopsys 603*380b5c7dSchl>478 ulelong 0 604*380b5c7dSchl>>(1.b+326) string I/O\ Error\ reading\ 605*380b5c7dSchl>>>(1.b+344) string Visopsys\ loader\r 606*380b5c7dSchl>>>>(1.b+361) string Press\ any\ key\ to\ continue.\r \b, Visopsys loader 607*380b5c7dSchl# http://alexfru.chat.ru/epm.html#bootprog 608*380b5c7dSchl>494 ubyte >0x4D 609*380b5c7dSchl>>495 string >E 610*380b5c7dSchl>>>495 string <S 611*380b5c7dSchl#OEM-ID is not reliable 612*380b5c7dSchl>>>>3 string BootProg 613*380b5c7dSchl# It just looks for a program file name at the root directory 614*380b5c7dSchl# and loads corresponding file with following execution. 615*380b5c7dSchl# DOS names like STARTUP.BIN,STARTUPC.COM,STARTUPE.EXE are 8 right space padded bytes+3 bytes 616*380b5c7dSchl>>>>499 ubyte&0xDF >0 \b, COM/EXE Bootloader 617*380b5c7dSchl>>>>>499 string x \b %-.1s 618*380b5c7dSchl>>>>>>500 ubyte&0xDF >0 619*380b5c7dSchl>>>>>>>500 string x \b%-.1s 620*380b5c7dSchl>>>>>>>>501 ubyte&0xDF >0 621*380b5c7dSchl>>>>>>>>>501 string x \b%-.1s 622*380b5c7dSchl>>>>>>>>>>502 ubyte&0xDF >0 623*380b5c7dSchl>>>>>>>>>>>502 string x \b%-.1s 624*380b5c7dSchl>>>>>>>>>>>>503 ubyte&0xDF >0 625*380b5c7dSchl>>>>>>>>>>>>>503 string x \b%-.1s 626*380b5c7dSchl>>>>>>>>>>>>>>504 ubyte&0xDF >0 627*380b5c7dSchl>>>>>>>>>>>>>>>504 string x \b%-.1s 628*380b5c7dSchl>>>>>>>>>>>>>>>>505 ubyte&0xDF >0 629*380b5c7dSchl>>>>>>>>>>>>>>>>>505 string x \b%-.1s 630*380b5c7dSchl>>>>>>>>>>>>>>>>>>506 ubyte&0xDF >0 631*380b5c7dSchl>>>>>>>>>>>>>>>>>>>506 string x \b%-.1s 632*380b5c7dSchl#name extension 633*380b5c7dSchl>>>>>507 ubyte&0xDF >0 \b. 634*380b5c7dSchl>>>>>>507 string x \b%-.1s 635*380b5c7dSchl>>>>>>>508 ubyte&0xDF >0 636*380b5c7dSchl>>>>>>>>508 string x \b%-.1s 637*380b5c7dSchl>>>>>>>>>509 ubyte&0xDF >0 638*380b5c7dSchl>>>>>>>>>>509 string x \b%-.1s 639*380b5c7dSchl#If the boot sector fails to read any other sector, 640*380b5c7dSchl#it prints a very short message ("RE") to the screen and hangs the computer. 641*380b5c7dSchl#If the boot sector fails to find needed program in the root directory, 642*380b5c7dSchl#it also hangs with another message ("NF"). 643*380b5c7dSchl>>>>>492 string RENF \b, FAT (12 bit) 644*380b5c7dSchl>>>>>495 string RENF \b, FAT (16 bit) 645*380b5c7dSchl# http://alexfru.chat.ru/epm.html#bootprog 646*380b5c7dSchl>494 ubyte >0x4D 647*380b5c7dSchl>>495 string >E 648*380b5c7dSchl>>>495 string <S 649*380b5c7dSchl#OEM-ID is not reliable 650*380b5c7dSchl>>>>3 string BootProg 651*380b5c7dSchl# It just looks for a program file name at the root directory 652*380b5c7dSchl# and loads corresponding file with following execution. 653*380b5c7dSchl# DOS names like STARTUP.BIN,STARTUPC.COM,STARTUPE.EXE are 8 right space padded bytes+3 bytes 654*380b5c7dSchl>>>>499 ubyte&0xDF >0 \b, COM/EXE Bootloader 655*380b5c7dSchl>>>>>499 string x \b %-.1s 656*380b5c7dSchl>>>>>>500 ubyte&0xDF >0 657*380b5c7dSchl>>>>>>>500 string x \b%-.1s 658*380b5c7dSchl>>>>>>>>501 ubyte&0xDF >0 659*380b5c7dSchl>>>>>>>>>501 string x \b%-.1s 660*380b5c7dSchl>>>>>>>>>>502 ubyte&0xDF >0 661*380b5c7dSchl>>>>>>>>>>>502 string x \b%-.1s 662*380b5c7dSchl>>>>>>>>>>>>503 ubyte&0xDF >0 663*380b5c7dSchl>>>>>>>>>>>>>503 string x \b%-.1s 664*380b5c7dSchl>>>>>>>>>>>>>>504 ubyte&0xDF >0 665*380b5c7dSchl>>>>>>>>>>>>>>>504 string x \b%-.1s 666*380b5c7dSchl>>>>>>>>>>>>>>>>505 ubyte&0xDF >0 667*380b5c7dSchl>>>>>>>>>>>>>>>>>505 string x \b%-.1s 668*380b5c7dSchl>>>>>>>>>>>>>>>>>>506 ubyte&0xDF >0 669*380b5c7dSchl>>>>>>>>>>>>>>>>>>>506 string x \b%-.1s 670*380b5c7dSchl#name extension 671*380b5c7dSchl>>>>>507 ubyte&0xDF >0 \b. 672*380b5c7dSchl>>>>>>507 string x \b%-.1s 673*380b5c7dSchl>>>>>>>508 ubyte&0xDF >0 674*380b5c7dSchl>>>>>>>>508 string x \b%-.1s 675*380b5c7dSchl>>>>>>>>>509 ubyte&0xDF >0 676*380b5c7dSchl>>>>>>>>>>509 string x \b%-.1s 677*380b5c7dSchl#If the boot sector fails to read any other sector, 678*380b5c7dSchl#it prints a very short message ("RE") to the screen and hangs the computer. 679*380b5c7dSchl#If the boot sector fails to find needed program in the root directory, 680*380b5c7dSchl#it also hangs with another message ("NF"). 681*380b5c7dSchl>>>>>492 string RENF \b, FAT (12 bit) 682*380b5c7dSchl>>>>>495 string RENF \b, FAT (16 bit) 683*380b5c7dSchl# loader end 684*380b5c7dSchl# Joerg Jenderek 685*380b5c7dSchl>446 ubyte 0 686*380b5c7dSchl>>450 ubyte >0 687*380b5c7dSchl>>>482 ubyte 0 688*380b5c7dSchl>>>>498 ubyte 0 689*380b5c7dSchl>>>>466 ubyte 0x05 \b, extended partition table 690*380b5c7dSchl>>>>466 ubyte 0x0F \b, extended partition table (LBA) 691*380b5c7dSchl>>>>466 ubyte 0x0 \b, extended partition table (last) 69236c0c0feStedu# JuMP short bootcodeoffset NOP assembler instructions will usually be EB xx 90 69336c0c0feStedu# older drives may use E9 xx xx 69436c0c0feStedu>0 lelong&0x009000EB 0x009000EB 69536c0c0feStedu>0 lelong&0x000000E9 0x000000E9 69636c0c0feStedu>>1 ubyte >37 \b, code offset 0x%x 69736c0c0feStedu# mtools-3.9.8/msdos.h 69836c0c0feStedu# usual values are marked with comments to get only informations of strange FAT systems 69936c0c0feStedu# valid sectorsize are from 32 to 2048 70036c0c0feStedu>>>11 uleshort <2049 70136c0c0feStedu>>>>11 uleshort >31 70236c0c0feStedu>>>>>3 string >\0 \b, OEM-ID "%8.8s" 70336c0c0feStedu>>>>>11 uleshort >512 \b, Bytes/sector %u 70436c0c0feStedu#>>>>>11 uleshort =512 \b, Bytes/sector %u=512 (usual) 70536c0c0feStedu>>>>>11 uleshort <512 \b, Bytes/sector %u 70636c0c0feStedu>>>>>13 ubyte >1 \b, sectors/cluster %u 70736c0c0feStedu#>>>>>13 ubyte =1 \b, sectors/cluster %u (usual on Floppies) 70836c0c0feStedu>>>>>14 uleshort >32 \b, reserved sectors %u 70936c0c0feStedu#>>>>>14 uleshort =32 \b, reserved sectors %u (usual Fat32) 71036c0c0feStedu#>>>>>14 uleshort >1 \b, reserved sectors %u 71136c0c0feStedu#>>>>>14 uleshort =1 \b, reserved sectors %u (usual FAT12,FAT16) 71236c0c0feStedu>>>>>14 uleshort <1 \b, reserved sectors %u 71336c0c0feStedu>>>>>16 ubyte >2 \b, FATs %u 71436c0c0feStedu#>>>>>16 ubyte =2 \b, FATs %u (usual) 71536c0c0feStedu>>>>>16 ubyte =1 \b, FAT %u 71636c0c0feStedu>>>>>16 ubyte >0 71736c0c0feStedu>>>>>17 uleshort >0 \b, root entries %u 71836c0c0feStedu#>>>>>17 uleshort =0 \b, root entries %u=0 (usual Fat32) 71936c0c0feStedu>>>>>19 uleshort >0 \b, sectors %u (volumes <=32 MB) 72036c0c0feStedu#>>>>>19 uleshort =0 \b, sectors %u=0 (usual Fat32) 72136c0c0feStedu>>>>>21 ubyte >0xF0 \b, Media descriptor 0x%x 72236c0c0feStedu#>>>>>21 ubyte =0xF0 \b, Media descriptor 0x%x (usual floppy) 72336c0c0feStedu>>>>>21 ubyte <0xF0 \b, Media descriptor 0x%x 72436c0c0feStedu>>>>>22 uleshort >0 \b, sectors/FAT %u 72536c0c0feStedu#>>>>>22 uleshort =0 \b, sectors/FAT %u=0 (usual Fat32) 72636c0c0feStedu>>>>>26 ubyte >2 \b, heads %u 72736c0c0feStedu#>>>>>26 ubyte =2 \b, heads %u (usual floppy) 72836c0c0feStedu>>>>>26 ubyte =1 \b, heads %u 72936c0c0feStedu>>>>>28 ulelong >0 \b, hidden sectors %u 73036c0c0feStedu#>>>>>28 ulelong =0 \b, hidden sectors %u (usual floppy) 73136c0c0feStedu>>>>>32 ulelong >0 \b, sectors %u (volumes > 32 MB) 73236c0c0feStedu#>>>>>32 ulelong =0 \b, sectors %u (volumes > 32 MB) 73336c0c0feStedu# FAT<32 specific 73436c0c0feStedu# NOT le FAT3=NOT 3TAF=0xCCABBEB9 73536c0c0feStedu>>>>>82 ulelong&0xCCABBEB9 >0 73636c0c0feStedu>>>>>>36 ubyte >0x80 \b, physical drive 0x%x 73736c0c0feStedu#>>>>>>36 ubyte =0x80 \b, physical drive 0x%x=0x80 (usual harddisk) 73836c0c0feStedu>>>>>>36 ubyte&0x7F >0 \b, physical drive 0x%x 73936c0c0feStedu#>>>>>>36 ubyte =0 \b, physical drive 0x%x=0 (usual floppy) 74036c0c0feStedu>>>>>>37 ubyte >0 \b, reserved 0x%x 74136c0c0feStedu#>>>>>>37 ubyte =0 \b, reserved 0x%x 74236c0c0feStedu>>>>>>38 ubyte >0x29 \b, dos < 4.0 BootSector (0x%x) 74336c0c0feStedu>>>>>>38 ubyte <0x29 \b, dos < 4.0 BootSector (0x%x) 74436c0c0feStedu>>>>>>38 ubyte =0x29 74536c0c0feStedu>>>>>>>39 ulelong x \b, serial number 0x%x 74636c0c0feStedu>>>>>>>43 string <NO\ NAME \b, label: "%11.11s" 74736c0c0feStedu>>>>>>>43 string >NO\ NAME \b, label: "%11.11s" 74836c0c0feStedu>>>>>>>43 string =NO\ NAME \b, unlabeled 749*380b5c7dSchl>>>>>>54 string FAT \b, FAT 75036c0c0feStedu>>>>>>>54 string FAT12 \b (12 bit) 75136c0c0feStedu>>>>>>>54 string FAT16 \b (16 bit) 75236c0c0feStedu# FAT32 specific 75336c0c0feStedu>>>>>82 string FAT32 \b, FAT (32 bit) 75436c0c0feStedu>>>>>>36 ulelong x \b, sectors/FAT %u 75536c0c0feStedu>>>>>>40 uleshort >0 \b, extension flags %u 75636c0c0feStedu#>>>>>>40 uleshort =0 \b, extension flags %u 75736c0c0feStedu>>>>>>42 uleshort >0 \b, fsVersion %u 75836c0c0feStedu#>>>>>>42 uleshort =0 \b, fsVersion %u (usual) 75936c0c0feStedu>>>>>>44 ulelong >2 \b, rootdir cluster %u 76036c0c0feStedu#>>>>>>44 ulelong =2 \b, rootdir cluster %u 76136c0c0feStedu#>>>>>>44 ulelong =1 \b, rootdir cluster %u 76236c0c0feStedu>>>>>>48 uleshort >1 \b, infoSector %u 76336c0c0feStedu#>>>>>>48 uleshort =1 \b, infoSector %u (usual) 76436c0c0feStedu>>>>>>48 uleshort <1 \b, infoSector %u 76536c0c0feStedu>>>>>>50 uleshort >6 \b, Backup boot sector %u 76636c0c0feStedu#>>>>>>50 uleshort =6 \b, Backup boot sector %u (usual) 76736c0c0feStedu>>>>>>50 uleshort <6 \b, Backup boot sector %u 76836c0c0feStedu>>>>>>54 ulelong >0 \b, reserved1 0x%x 76936c0c0feStedu>>>>>>58 ulelong >0 \b, reserved2 0x%x 77036c0c0feStedu>>>>>>62 ulelong >0 \b, reserved3 0x%x 77136c0c0feStedu# same structure as FAT1X 77236c0c0feStedu>>>>>>64 ubyte >0x80 \b, physical drive 0x%x 77336c0c0feStedu#>>>>>>64 ubyte =0x80 \b, physical drive 0x%x=80 (usual harddisk) 77436c0c0feStedu>>>>>>64 ubyte&0x7F >0 \b, physical drive 0x%x 77536c0c0feStedu#>>>>>>64 ubyte =0 \b, physical drive 0x%x=0 (usual floppy) 77636c0c0feStedu>>>>>>65 ubyte >0 \b, reserved 0x%x 77736c0c0feStedu>>>>>>66 ubyte >0x29 \b, dos < 4.0 BootSector (0x%x) 77836c0c0feStedu>>>>>>66 ubyte <0x29 \b, dos < 4.0 BootSector (0x%x) 77936c0c0feStedu>>>>>>66 ubyte =0x29 78036c0c0feStedu>>>>>>>67 ulelong x \b, serial number 0x%x 78136c0c0feStedu>>>>>>>71 string <NO\ NAME \b, label: "%11.11s" 78236c0c0feStedu>>>>>>71 string >NO\ NAME \b, label: "%11.11s" 78336c0c0feStedu>>>>>>71 string =NO\ NAME \b, unlabeled 78436c0c0feStedu### FATs end 78536c0c0feStedu>0x200 lelong 0x82564557 \b, BSD disklabel 786*380b5c7dSchl# FATX 787*380b5c7dSchl0 string FATX FATX filesystem data 788*380b5c7dSchl 78936c0c0feStedu 79036c0c0feStedu# Minix filesystems - Juan Cespedes <cespedes@debian.org> 79136c0c0feStedu0x410 leshort 0x137f Minix filesystem 79236c0c0feStedu0x410 beshort 0x137f Minix filesystem (big endian), 79336c0c0feStedu>0x402 beshort !0 \b, %d zones 79436c0c0feStedu>0x1e string minix \b, bootable 79536c0c0feStedu0x410 leshort 0x138f Minix filesystem, 30 char names 79636c0c0feStedu0x410 leshort 0x2468 Minix filesystem, version 2 79736c0c0feStedu0x410 leshort 0x2478 Minix filesystem, version 2, 30 char names 79836c0c0feStedu 79936c0c0feStedu# romfs filesystems - Juan Cespedes <cespedes@debian.org> 80036c0c0feStedu0 string -rom1fs-\0 romfs filesystem, version 1 80136c0c0feStedu>8 belong x %d bytes, 80236c0c0feStedu>16 string x named %s. 80336c0c0feStedu 80436c0c0feStedu# netboot image - Juan Cespedes <cespedes@debian.org> 80536c0c0feStedu0 lelong 0x1b031336L Netboot image, 80636c0c0feStedu>4 lelong&0xFFFFFF00 0 80736c0c0feStedu>>4 lelong&0x100 0x000 mode 2 80836c0c0feStedu>>4 lelong&0x100 0x100 mode 3 80936c0c0feStedu>4 lelong&0xFFFFFF00 !0 unknown mode 81036c0c0feStedu 81136c0c0feStedu0x18b string OS/2 OS/2 Boot Manager 81236c0c0feStedu 813*380b5c7dSchl# added by Joerg Jenderek 814*380b5c7dSchl# In the second sector (+0x200) are variables according to grub-0.97/stage2/asm.S or 815*380b5c7dSchl# grub-1.94/kern/i386/pc/startup.S 816*380b5c7dSchl# http://www.gnu.org/software/grub/manual/grub.html#Embedded-data 817*380b5c7dSchl# usual values are marked with comments to get only informations of strange GRUB loaders 818*380b5c7dSchl0x200 uleshort 0x70EA 819*380b5c7dSchl# found only version 3.{1,2} 820*380b5c7dSchl>0x206 ubeshort >0x0300 821*380b5c7dSchl# GRUB version (0.5.)95,0.93,0.94,0.96,0.97 > "00" 822*380b5c7dSchl>>0x212 ubyte >0x29 823*380b5c7dSchl>>>0x213 ubyte >0x29 824*380b5c7dSchl# not iso9660_stage1_5 825*380b5c7dSchl#>>>0 ulelong&0x00BE5652 0x00BE5652 826*380b5c7dSchl>>>>0x213 ubyte >0x29 GRand Unified Bootloader 827*380b5c7dSchl# config_file for stage1_5 is 0xffffffff + default "/boot/grub/stage2" 828*380b5c7dSchl>>>>0x217 ubyte 0xFF stage1_5 829*380b5c7dSchl>>>>0x217 ubyte <0xFF stage2 830*380b5c7dSchl>>>>0x206 ubyte x \b version %u 831*380b5c7dSchl>>>>0x207 ubyte x \b.%u 832*380b5c7dSchl# module_size for 1.94 833*380b5c7dSchl>>>>0x208 ulelong <0xffffff \b, installed partition %u 834*380b5c7dSchl#>>>>0x208 ulelong =0xffffff \b, %u (default) 835*380b5c7dSchl>>>>0x208 ulelong >0xffffff \b, installed partition %u 836*380b5c7dSchl# GRUB 0.5.95 unofficial 837*380b5c7dSchl>>>>0x20C ulelong&0x2E300000 0x2E300000 838*380b5c7dSchl# 0=stage2 1=ffs 2=e2fs 3=fat 4=minix 5=reiserfs 839*380b5c7dSchl>>>>>0x20C ubyte x \b, identifier 0x%x 840*380b5c7dSchl#>>>>>0x20D ubyte =0 \b, LBA flag 0x%x (default) 841*380b5c7dSchl>>>>>0x20D ubyte >0 \b, LBA flag 0x%x 842*380b5c7dSchl# GRUB version as string 843*380b5c7dSchl>>>>>0x20E string >\0 \b, GRUB version %-s 844*380b5c7dSchl# for stage1_5 is 0xffffffff + config_file "/boot/grub/stage2" default 845*380b5c7dSchl>>>>>>0x215 ulong 0xffffffff 846*380b5c7dSchl>>>>>>>0x219 string >\0 \b, configuration file %-s 847*380b5c7dSchl>>>>>>0x215 ulong !0xffffffff 848*380b5c7dSchl>>>>>>>0x215 string >\0 \b, configuration file %-s 849*380b5c7dSchl# newer GRUB versions 850*380b5c7dSchl>>>>0x20C ulelong&0x2E300000 !0x2E300000 851*380b5c7dSchl##>>>>>0x20C ulelong =0 \b, saved entry %d (usual) 852*380b5c7dSchl>>>>>0x20C ulelong >0 \b, saved entry %d 853*380b5c7dSchl# for 1.94 contains kernel image size 854*380b5c7dSchl# for 0.93,0.94,0.96,0.97 855*380b5c7dSchl# 0=stage2 1=ffs 2=e2fs 3=fat 4=minix 5=reiserfs 6=vstafs 7=jfs 8=xfs 9=iso9660 a=ufs2 856*380b5c7dSchl>>>>>0x210 ubyte x \b, identifier 0x%x 857*380b5c7dSchl# The flag for LBA forcing is in most cases 0 858*380b5c7dSchl#>>>>>0x211 ubyte =0 \b, LBA flag 0x%x (default) 859*380b5c7dSchl>>>>>0x211 ubyte >0 \b, LBA flag 0x%x 860*380b5c7dSchl# GRUB version as string 861*380b5c7dSchl>>>>>0x212 string >\0 \b, GRUB version %-s 862*380b5c7dSchl# for stage1_5 is 0xffffffff + config_file "/boot/grub/stage2" default 863*380b5c7dSchl>>>>>0x217 ulong 0xffffffff 864*380b5c7dSchl>>>>>>0x21b string >\0 \b, configuration file %-s 865*380b5c7dSchl>>>>>0x217 ulong !0xffffffff 866*380b5c7dSchl>>>>>>0x217 string >\0 \b, configuration file %-s 867*380b5c7dSchl 868*380b5c7dSchl9564 lelong 0x00011954 Unix Fast File system [v1] (little-endian), 86936c0c0feStedu>8404 string x last mounted on %s, 87036c0c0feStedu#>9504 ledate x last checked at %s, 87136c0c0feStedu>8224 ledate x last written at %s, 87236c0c0feStedu>8401 byte x clean flag %d, 87336c0c0feStedu>8228 lelong x number of blocks %d, 87436c0c0feStedu>8232 lelong x number of data blocks %d, 87536c0c0feStedu>8236 lelong x number of cylinder groups %d, 87636c0c0feStedu>8240 lelong x block size %d, 87736c0c0feStedu>8244 lelong x fragment size %d, 87836c0c0feStedu>8252 lelong x minimum percentage of free blocks %d, 87936c0c0feStedu>8256 lelong x rotational delay %dms, 88036c0c0feStedu>8260 lelong x disk rotational speed %drps, 88136c0c0feStedu>8320 lelong 0 TIME optimization 88236c0c0feStedu>8320 lelong 1 SPACE optimization 88336c0c0feStedu 884*380b5c7dSchl42332 lelong 0x19540119 Unix Fast File system [v2] (little-endian) 885*380b5c7dSchl>&-1164 string x last mounted on %s, 886*380b5c7dSchl>&-696 string >\0 volume name %s, 887*380b5c7dSchl>&-304 leqldate x last written at %s, 888*380b5c7dSchl>&-1167 byte x clean flag %d, 889*380b5c7dSchl>&-1168 byte x readonly flag %d, 890*380b5c7dSchl>&-296 lequad x number of blocks %lld, 891*380b5c7dSchl>&-288 lequad x number of data blocks %lld, 892*380b5c7dSchl>&-1332 lelong x number of cylinder groups %d, 893*380b5c7dSchl>&-1328 lelong x block size %d, 894*380b5c7dSchl>&-1324 lelong x fragment size %d, 895*380b5c7dSchl>&-180 lelong x average file size %d, 896*380b5c7dSchl>&-176 lelong x average number of files in dir %d, 897*380b5c7dSchl>&-272 lequad x pending blocks to free %lld, 898*380b5c7dSchl>&-264 lelong x pending inodes to free %ld, 899*380b5c7dSchl>&-664 lequad x system-wide uuid %0llx, 900*380b5c7dSchl>&-1316 lelong x minimum percentage of free blocks %d, 901*380b5c7dSchl>&-1248 lelong 0 TIME optimization 902*380b5c7dSchl>&-1248 lelong 1 SPACE optimization 903*380b5c7dSchl 904*380b5c7dSchl66908 lelong 0x19540119 Unix Fast File system [v2] (little-endian) 905*380b5c7dSchl>&-1164 string x last mounted on %s, 906*380b5c7dSchl>&-696 string >\0 volume name %s, 907*380b5c7dSchl>&-304 leqldate x last written at %s, 908*380b5c7dSchl>&-1167 byte x clean flag %d, 909*380b5c7dSchl>&-1168 byte x readonly flag %d, 910*380b5c7dSchl>&-296 lequad x number of blocks %lld, 911*380b5c7dSchl>&-288 lequad x number of data blocks %lld, 912*380b5c7dSchl>&-1332 lelong x number of cylinder groups %d, 913*380b5c7dSchl>&-1328 lelong x block size %d, 914*380b5c7dSchl>&-1324 lelong x fragment size %d, 915*380b5c7dSchl>&-180 lelong x average file size %d, 916*380b5c7dSchl>&-176 lelong x average number of files in dir %d, 917*380b5c7dSchl>&-272 lequad x pending blocks to free %lld, 918*380b5c7dSchl>&-264 lelong x pending inodes to free %ld, 919*380b5c7dSchl>&-664 lequad x system-wide uuid %0llx, 920*380b5c7dSchl>&-1316 lelong x minimum percentage of free blocks %d, 921*380b5c7dSchl>&-1248 lelong 0 TIME optimization 922*380b5c7dSchl>&-1248 lelong 1 SPACE optimization 923*380b5c7dSchl 924*380b5c7dSchl9564 belong 0x00011954 Unix Fast File system [v1] (big-endian), 925*380b5c7dSchl>7168 belong 0x4c41424c Apple UFS Volume 92636c0c0feStedu>>7186 string x named %s, 92736c0c0feStedu>>7176 belong x volume label version %d, 92836c0c0feStedu>>7180 bedate x created on %s, 92936c0c0feStedu>8404 string x last mounted on %s, 93036c0c0feStedu#>9504 bedate x last checked at %s, 93136c0c0feStedu>8224 bedate x last written at %s, 93236c0c0feStedu>8401 byte x clean flag %d, 93336c0c0feStedu>8228 belong x number of blocks %d, 93436c0c0feStedu>8232 belong x number of data blocks %d, 93536c0c0feStedu>8236 belong x number of cylinder groups %d, 93636c0c0feStedu>8240 belong x block size %d, 93736c0c0feStedu>8244 belong x fragment size %d, 93836c0c0feStedu>8252 belong x minimum percentage of free blocks %d, 93936c0c0feStedu>8256 belong x rotational delay %dms, 94036c0c0feStedu>8260 belong x disk rotational speed %drps, 94136c0c0feStedu>8320 belong 0 TIME optimization 94236c0c0feStedu>8320 belong 1 SPACE optimization 94336c0c0feStedu 944*380b5c7dSchl42332 belong 0x19540119 Unix Fast File system [v2] (big-endian) 945*380b5c7dSchl>&-1164 string x last mounted on %s, 946*380b5c7dSchl>&-696 string >\0 volume name %s, 947*380b5c7dSchl>&-304 beqldate x last written at %s, 948*380b5c7dSchl>&-1167 byte x clean flag %d, 949*380b5c7dSchl>&-1168 byte x readonly flag %d, 950*380b5c7dSchl>&-296 bequad x number of blocks %lld, 951*380b5c7dSchl>&-288 bequad x number of data blocks %lld, 952*380b5c7dSchl>&-1332 belong x number of cylinder groups %d, 953*380b5c7dSchl>&-1328 belong x block size %d, 954*380b5c7dSchl>&-1324 belong x fragment size %d, 955*380b5c7dSchl>&-180 belong x average file size %d, 956*380b5c7dSchl>&-176 belong x average number of files in dir %d, 957*380b5c7dSchl>&-272 bequad x pending blocks to free %lld, 958*380b5c7dSchl>&-264 belong x pending inodes to free %ld, 959*380b5c7dSchl>&-664 bequad x system-wide uuid %0llx, 960*380b5c7dSchl>&-1316 belong x minimum percentage of free blocks %d, 961*380b5c7dSchl>&-1248 belong 0 TIME optimization 962*380b5c7dSchl>&-1248 belong 1 SPACE optimization 963*380b5c7dSchl 964*380b5c7dSchl66908 belong 0x19540119 Unix Fast File system [v2] (big-endian) 965*380b5c7dSchl>&-1164 string x last mounted on %s, 966*380b5c7dSchl>&-696 string >\0 volume name %s, 967*380b5c7dSchl>&-304 beqldate x last written at %s, 968*380b5c7dSchl>&-1167 byte x clean flag %d, 969*380b5c7dSchl>&-1168 byte x readonly flag %d, 970*380b5c7dSchl>&-296 bequad x number of blocks %lld, 971*380b5c7dSchl>&-288 bequad x number of data blocks %lld, 972*380b5c7dSchl>&-1332 belong x number of cylinder groups %d, 973*380b5c7dSchl>&-1328 belong x block size %d, 974*380b5c7dSchl>&-1324 belong x fragment size %d, 975*380b5c7dSchl>&-180 belong x average file size %d, 976*380b5c7dSchl>&-176 belong x average number of files in dir %d, 977*380b5c7dSchl>&-272 bequad x pending blocks to free %lld, 978*380b5c7dSchl>&-264 belong x pending inodes to free %ld, 979*380b5c7dSchl>&-664 bequad x system-wide uuid %0llx, 980*380b5c7dSchl>&-1316 belong x minimum percentage of free blocks %d, 981*380b5c7dSchl>&-1248 belong 0 TIME optimization 982*380b5c7dSchl>&-1248 belong 1 SPACE optimization 983*380b5c7dSchl 98436c0c0feStedu# ext2/ext3 filesystems - Andreas Dilger <adilger@turbolabs.com> 98536c0c0feStedu0x438 leshort 0xEF53 Linux 98636c0c0feStedu>0x44c lelong x rev %d 98736c0c0feStedu>0x43e leshort x \b.%d 98836c0c0feStedu>0x45c lelong ^0x0000004 ext2 filesystem data 98936c0c0feStedu>>0x43a leshort ^0x0000001 (mounted or unclean) 99036c0c0feStedu>0x45c lelong &0x0000004 ext3 filesystem data 99136c0c0feStedu>>0x460 lelong &0x0000004 (needs journal recovery) 99236c0c0feStedu>0x43a leshort &0x0000002 (errors) 99336c0c0feStedu>0x460 lelong &0x0000001 (compressed) 99436c0c0feStedu#>0x460 lelong &0x0000002 (filetype) 99536c0c0feStedu#>0x464 lelong &0x0000001 (sparse_super) 99636c0c0feStedu>0x464 lelong &0x0000002 (large files) 99736c0c0feStedu 99836c0c0feStedu# SGI disk labels - Nathan Scott <nathans@debian.org> 99936c0c0feStedu0 belong 0x0BE5A941 SGI disk label (volume header) 100036c0c0feStedu 100136c0c0feStedu# SGI XFS filesystem - Nathan Scott <nathans@debian.org> 100236c0c0feStedu0 belong 0x58465342 SGI XFS filesystem data 100336c0c0feStedu>0x4 belong x (blksz %d, 100436c0c0feStedu>0x68 beshort x inosz %d, 100536c0c0feStedu>0x64 beshort ^0x2004 v1 dirs) 100636c0c0feStedu>0x64 beshort &0x2004 v2 dirs) 100736c0c0feStedu 100836c0c0feStedu############################################################################ 100936c0c0feStedu# Minix-ST kernel floppy 101036c0c0feStedu0x800 belong 0x46fc2700 Atari-ST Minix kernel image 101136c0c0feStedu>19 string \240\5\371\5\0\011\0\2\0 \b, 720k floppy 101236c0c0feStedu>19 string \320\2\370\5\0\011\0\1\0 \b, 360k floppy 101336c0c0feStedu 101436c0c0feStedu############################################################################ 101536c0c0feStedu# Hmmm, is this a better way of detecting _standard_ floppy images ? 101636c0c0feStedu19 string \320\2\360\3\0\011\0\1\0 DOS floppy 360k 101736c0c0feStedu>0x1FE leshort 0xAA55 \b, x86 hard disk boot sector 101836c0c0feStedu19 string \240\5\371\3\0\011\0\2\0 DOS floppy 720k 101936c0c0feStedu>0x1FE leshort 0xAA55 \b, x86 hard disk boot sector 102036c0c0feStedu19 string \100\013\360\011\0\022\0\2\0 DOS floppy 1440k 102136c0c0feStedu>0x1FE leshort 0xAA55 \b, x86 hard disk boot sector 102236c0c0feStedu 102336c0c0feStedu19 string \240\5\371\5\0\011\0\2\0 DOS floppy 720k, IBM 102436c0c0feStedu>0x1FE leshort 0xAA55 \b, x86 hard disk boot sector 102536c0c0feStedu19 string \100\013\371\5\0\011\0\2\0 DOS floppy 1440k, mkdosfs 102636c0c0feStedu>0x1FE leshort 0xAA55 \b, x86 hard disk boot sector 102736c0c0feStedu 102836c0c0feStedu19 string \320\2\370\5\0\011\0\1\0 Atari-ST floppy 360k 102936c0c0feStedu19 string \240\5\371\5\0\011\0\2\0 Atari-ST floppy 720k 103036c0c0feStedu 103136c0c0feStedu# Valid media descriptor bytes for MS-DOS: 103236c0c0feStedu# 103336c0c0feStedu# Byte Capacity Media Size and Type 103436c0c0feStedu# ------------------------------------------------- 103536c0c0feStedu# 103636c0c0feStedu# F0 2.88 MB 3.5-inch, 2-sided, 36-sector 103736c0c0feStedu# F0 1.44 MB 3.5-inch, 2-sided, 18-sector 103836c0c0feStedu# F9 720K 3.5-inch, 2-sided, 9-sector 103936c0c0feStedu# F9 1.2 MB 5.25-inch, 2-sided, 15-sector 104036c0c0feStedu# FD 360K 5.25-inch, 2-sided, 9-sector 104136c0c0feStedu# FF 320K 5.25-inch, 2-sided, 8-sector 104236c0c0feStedu# FC 180K 5.25-inch, 1-sided, 9-sector 104336c0c0feStedu# FE 160K 5.25-inch, 1-sided, 8-sector 104436c0c0feStedu# FE 250K 8-inch, 1-sided, single-density 104536c0c0feStedu# FD 500K 8-inch, 2-sided, single-density 104636c0c0feStedu# FE 1.2 MB 8-inch, 2-sided, double-density 104736c0c0feStedu# F8 ----- Fixed disk 104836c0c0feStedu# 104936c0c0feStedu# FC xxxK Apricot 70x1x9 boot disk. 105036c0c0feStedu# 105136c0c0feStedu# Originally a bitmap: 105236c0c0feStedu# xxxxxxx0 Not two sided 105336c0c0feStedu# xxxxxxx1 Double sided 105436c0c0feStedu# xxxxxx0x Not 8 SPT 105536c0c0feStedu# xxxxxx1x 8 SPT 105636c0c0feStedu# xxxxx0xx Not Removable drive 105736c0c0feStedu# xxxxx1xx Removable drive 105836c0c0feStedu# 11111xxx Must be one. 105936c0c0feStedu# 106036c0c0feStedu# But now it's rather random: 106136c0c0feStedu# 111111xx Low density disk 106236c0c0feStedu# 00 SS, Not 8 SPT 106336c0c0feStedu# 01 DS, Not 8 SPT 106436c0c0feStedu# 10 SS, 8 SPT 106536c0c0feStedu# 11 DS, 8 SPT 106636c0c0feStedu# 106736c0c0feStedu# 11111001 Double density 3� floppy disk, high density 5� 106836c0c0feStedu# 11110000 High density 3� floppy disk 106936c0c0feStedu# 11111000 Hard disk any format 107036c0c0feStedu# 107136c0c0feStedu 107236c0c0feStedu# CDROM Filesystems 1073*380b5c7dSchl# Modified for UDF by gerardo.cacciari@gmail.com 1074*380b5c7dSchl32769 string CD001 1075*380b5c7dSchl>38913 string !NSR0 ISO 9660 CD-ROM filesystem data 1076*380b5c7dSchl>38913 string NSR01 UDF filesystem data (version 1.0) 1077*380b5c7dSchl>38913 string NSR02 UDF filesystem data (version 1.5) 1078*380b5c7dSchl>38913 string NSR03 UDF filesystem data (version 2.0) 1079*380b5c7dSchl>38913 string >NSR03 UDF filesystem data (unknown version, 1080*380b5c7dSchl>>38917 byte x id 'NSR0%c') 1081*380b5c7dSchl>38913 string <NSR01 UDF filesystem data (unknown version, 1082*380b5c7dSchl>>38917 byte x id 'NSR0%c') 108336c0c0feStedu# "application id" which appears to be used as a volume label 108436c0c0feStedu>32808 string >\0 '%s' 108536c0c0feStedu>34816 string \000CD001\001EL\ TORITO\ SPECIFICATION (bootable) 108636c0c0feStedu37633 string CD001 ISO 9660 CD-ROM filesystem data (raw 2352 byte sectors) 108736c0c0feStedu32776 string CDROM High Sierra CD-ROM filesystem data 108836c0c0feStedu 108936c0c0feStedu# cramfs filesystem - russell@coker.com.au 109036c0c0feStedu0 lelong 0x28cd3d45 Linux Compressed ROM File System data, little endian 109136c0c0feStedu>4 lelong x size %d 109236c0c0feStedu>8 lelong &1 version #2 109336c0c0feStedu>8 lelong &2 sorted_dirs 109436c0c0feStedu>8 lelong &4 hole_support 109536c0c0feStedu>32 lelong x CRC 0x%x, 109636c0c0feStedu>36 lelong x edition %d, 109736c0c0feStedu>40 lelong x %d blocks, 109836c0c0feStedu>44 lelong x %d files 109936c0c0feStedu 110036c0c0feStedu0 belong 0x28cd3d45 Linux Compressed ROM File System data, big endian 110136c0c0feStedu>4 belong x size %d 110236c0c0feStedu>8 belong &1 version #2 110336c0c0feStedu>8 belong &2 sorted_dirs 110436c0c0feStedu>8 belong &4 hole_support 110536c0c0feStedu>32 belong x CRC 0x%x, 110636c0c0feStedu>36 belong x edition %d, 110736c0c0feStedu>40 belong x %d blocks, 110836c0c0feStedu>44 belong x %d files 110936c0c0feStedu 111036c0c0feStedu# reiserfs - russell@coker.com.au 111136c0c0feStedu0x10034 string ReIsErFs ReiserFS V3.5 111236c0c0feStedu0x10034 string ReIsEr2Fs ReiserFS V3.6 111336c0c0feStedu>0x1002c leshort x block size %d 111436c0c0feStedu>0x10032 leshort &2 (mounted or unclean) 111536c0c0feStedu>0x10000 lelong x num blocks %d 111636c0c0feStedu>0x10040 lelong 1 tea hash 111736c0c0feStedu>0x10040 lelong 2 yura hash 111836c0c0feStedu>0x10040 lelong 3 r5 hash 111936c0c0feStedu 112036c0c0feStedu# JFFS - russell@coker.com.au 112136c0c0feStedu0 lelong 0x34383931 Linux Journalled Flash File system, little endian 112236c0c0feStedu0 belong 0x34383931 Linux Journalled Flash File system, big endian 112336c0c0feStedu 112436c0c0feStedu# EST flat binary format (which isn't, but anyway) 112536c0c0feStedu# From: Mark Brown <broonie@sirena.org.uk> 112636c0c0feStedu0 string ESTFBINR EST flat binary 112736c0c0feStedu 112836c0c0feStedu# Aculab VoIP firmware 112936c0c0feStedu# From: Mark Brown <broonie@sirena.org.uk> 113036c0c0feStedu0 string VoIP\ Startup\ and Aculab VoIP firmware 113136c0c0feStedu>35 string x format %s 113236c0c0feStedu 1133*380b5c7dSchl# u-boot/PPCBoot image file 113436c0c0feStedu# From: Mark Brown <broonie@sirena.org.uk> 1135*380b5c7dSchl0 belong 0x27051956 u-boot/PPCBoot image 113636c0c0feStedu>4 string PPCBoot 113736c0c0feStedu>>12 string x version %s 113836c0c0feStedu 113936c0c0feStedu# JFFS2 file system 114036c0c0feStedu0 leshort 0x1984 Linux old jffs2 filesystem data little endian 1141*380b5c7dSchl0 leshort 0x1985 Linux jffs2 filesystem data little endian 1142*380b5c7dSchl 1143*380b5c7dSchl# Squashfs 1144*380b5c7dSchl0 string sqsh Squashfs filesystem, big endian, 1145*380b5c7dSchl>28 beshort x version %d. 1146*380b5c7dSchl>30 beshort x \b%d, 1147*380b5c7dSchl>28 beshort <3 1148*380b5c7dSchl>>8 belong x %d bytes, 1149*380b5c7dSchl>28 beshort >2 1150*380b5c7dSchl>>63 bequad x %lld bytes, 1151*380b5c7dSchl#>>67 belong x %d bytes, 1152*380b5c7dSchl>4 belong x %d inodes, 1153*380b5c7dSchl>28 beshort <2 1154*380b5c7dSchl>>32 beshort x blocksize: %d bytes, 1155*380b5c7dSchl>28 beshort >1 1156*380b5c7dSchl>>51 belong x blocksize: %d bytes, 1157*380b5c7dSchl>39 bedate x created: %s 1158*380b5c7dSchl0 string hsqs Squashfs filesystem, little endian, 1159*380b5c7dSchl>28 leshort x version %d. 1160*380b5c7dSchl>30 leshort x \b%d, 1161*380b5c7dSchl>28 leshort <3 1162*380b5c7dSchl>>8 lelong x %d bytes, 1163*380b5c7dSchl>28 leshort >2 1164*380b5c7dSchl>>63 lequad x %lld bytes, 1165*380b5c7dSchl#>>63 lelong x %d bytes, 1166*380b5c7dSchl>4 lelong x %d inodes, 1167*380b5c7dSchl>28 leshort <2 1168*380b5c7dSchl>>32 leshort x blocksize: %d bytes, 1169*380b5c7dSchl>28 leshort >1 1170*380b5c7dSchl>>51 lelong x blocksize: %d bytes, 1171*380b5c7dSchl>39 ledate x created: %s 1172*380b5c7dSchl 1173*380b5c7dSchl0 string td\000 floppy image data (TeleDisk) 1174*380b5c7dSchl 1175*380b5c7dSchl# AFS Dump Magic 1176*380b5c7dSchl# From: Ty Sarna <tsarna@sarna.org> 1177*380b5c7dSchl0 string \x01\xb3\xa1\x13\x22 AFS Dump 1178*380b5c7dSchl>&0 belong x (v%d) 1179*380b5c7dSchl>>&0 byte 0x76 1180*380b5c7dSchl>>>&0 belong x Vol %d, 1181*380b5c7dSchl>>>>&0 byte 0x6e 1182*380b5c7dSchl>>>>>&0 string x %s 1183*380b5c7dSchl>>>>>>&1 byte 0x74 1184*380b5c7dSchl>>>>>>>&0 beshort 2 1185*380b5c7dSchl>>>>>>>>&4 bedate x on: %s 1186*380b5c7dSchl>>>>>>>>&0 bedate =0 full dump 1187*380b5c7dSchl>>>>>>>>&0 bedate !0 incremental since: %s 1188*380b5c7dSchl 1189*380b5c7dSchl#---------------------------------------------------------- 1190*380b5c7dSchl# VMS backup savesets - gerardo.cacciari@gmail.com 1191*380b5c7dSchl# 1192*380b5c7dSchl4 string \x01\x00\x01\x00\x01\x00 1193*380b5c7dSchl>(0.s+16) string \x01\x01 1194*380b5c7dSchl>>&(&0.b+8) byte 0x42 OpenVMS backup saveset data 1195*380b5c7dSchl>>>40 lelong x (block size %d, 1196*380b5c7dSchl>>>49 string >\0 original name '%s', 1197*380b5c7dSchl>>>2 short 1024 VAX generated) 1198*380b5c7dSchl>>>2 short 2048 AXP generated) 1199*380b5c7dSchl>>>2 short 4096 I64 generated) 1200*380b5c7dSchl 1201*380b5c7dSchl# Compaq/HP RILOE floppy image 1202*380b5c7dSchl# From: Dirk Jagdmann <doj@cubic.org> 1203*380b5c7dSchl0 string CPQRFBLO Compaq/HP RILOE floppy image 1204*380b5c7dSchl 1205*380b5c7dSchl#------------------------------------------------------------------------------ 1206*380b5c7dSchl# Files-11 On-Disk Structure (OpenVMS file system) - gerardo.cacciari@gmail.com 1207*380b5c7dSchl# These bits come from LBN 1 (home block) of ODS-2 and ODS-5 volumes, which is 1208*380b5c7dSchl# mapped to VBN 2 of [000000]INDEXF.SYS;1 1209*380b5c7dSchl# 1210*380b5c7dSchl1008 string DECFILE11B Files-11 On-Disk Structure 1211*380b5c7dSchl>525 byte x Level %d 1212*380b5c7dSchl>525 byte x (ODS-%d OpenVMS file system), 1213*380b5c7dSchl>984 string x volume label is '%-12.12s' 1214