filesystems 54 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492
  1. #------------------------------------------------------------------------------
  2. # $File: filesystems,v 1.55 2010/01/16 17:45:12 chl Exp $
  3. # filesystems: file(1) magic for different filesystems
  4. #
  5. 0 string \366\366\366\366 PC formatted floppy with no filesystem
  6. # Sun disk labels
  7. # From /usr/include/sun/dklabel.h:
  8. 0774 beshort 0xdabe
  9. # modified by Joerg Jenderek, because original test
  10. # succeeds for Cabinet archive dao360.dl_ with negative blocks
  11. >0770 long >0 Sun disk label
  12. >>0 string x '%s
  13. >>>31 string >\0 \b%s
  14. >>>>63 string >\0 \b%s
  15. >>>>>95 string >\0 \b%s
  16. >>0 string x \b'
  17. >>0734 short >0 %d rpm,
  18. >>0736 short >0 %d phys cys,
  19. >>0740 short >0 %d alts/cyl,
  20. >>0746 short >0 %d interleave,
  21. >>0750 short >0 %d data cyls,
  22. >>0752 short >0 %d alt cyls,
  23. >>0754 short >0 %d heads/partition,
  24. >>0756 short >0 %d sectors/track,
  25. >>0764 long >0 start cyl %ld,
  26. >>0770 long x %ld blocks
  27. # Is there a boot block written 1 sector in?
  28. >512 belong&077777777 0600407 \b, boot block present
  29. # Joerg Jenderek: Smart Boot Manager backup file is 41 byte header + first sectors of disc
  30. # (http://btmgr.sourceforge.net/docs/user-guide-3.html)
  31. 0 string SBMBAKUP_ Smart Boot Manager backup file
  32. >9 string x \b, version %-5.5s
  33. >>14 string =_
  34. >>>15 string x %-.1s
  35. >>>>16 string =_ \b.
  36. >>>>>17 string x \b%-.1s
  37. >>>>>>18 string =_ \b.
  38. >>>>>>>19 string x \b%-.1s
  39. >>>22 ubyte 0
  40. >>>>21 ubyte x \b, from drive 0x%x
  41. >>>22 ubyte >0
  42. >>>>21 string x \b, from drive %s
  43. # Joerg Jenderek
  44. # DOS Emulator image is 128 byte, null right padded header + harddisc image
  45. 0 string DOSEMU\0
  46. >0x27E leshort 0xAA55
  47. #offset is 128
  48. >>19 ubyte 128
  49. >>>(19.b-1) ubyte 0x0 DOS Emulator image
  50. >>>>7 ulelong >0 \b, %u heads
  51. >>>>11 ulelong >0 \b, %d sectors/track
  52. >>>>15 ulelong >0 \b, %d cylinders
  53. # updated by Joerg Jenderek at Sep 2007
  54. # only for sector sizes with 512 or more Bytes
  55. 0x1FE leshort 0xAA55 x86 boot sector
  56. # to do also for sectors < than 512 Bytes and some other files, GRR
  57. #30 search/481 \x55\xAA x86 boot sector
  58. # not for BeOS floppy 1440k, MBRs
  59. #(11.s-2) uleshort 0xAA55 x86 boot sector
  60. >2 string OSBS \b, OS/BS MBR
  61. # J\xf6rg Jenderek <joerg dot jenderek at web dot de>
  62. >0x8C string Invalid\ partition\ table \b, MS-DOS MBR
  63. # dr-dos with some upper-, lowercase variants
  64. >0x9D string Invalid\ partition\ table$
  65. >>181 string No\ Operating\ System$
  66. >>>201 string Operating\ System\ load\ error$ \b, DR-DOS MBR, Version 7.01 to 7.03
  67. >0x9D string Invalid\ partition\ table$
  68. >>181 string No\ operating\ system$
  69. >>>201 string Operating\ system\ load\ error$ \b, DR-DOS MBR, Version 7.01 to 7.03
  70. >342 string Invalid\ partition\ table$
  71. >>366 string No\ operating\ system$
  72. >>>386 string Operating\ system\ load\ error$ \b, DR-DOS MBR, version 7.01 to 7.03
  73. >295 string NEWLDR\0
  74. >>302 string Bad\ PT\ $
  75. >>>310 string No\ OS\ $
  76. >>>>317 string OS\ load\ err$
  77. >>>>>329 string Moved\ or\ missing\ IBMBIO.LDR\n\r
  78. >>>>>>358 string Press\ any\ key\ to\ continue.\n\r$
  79. >>>>>>>387 string Copyright\ (c)\ 1984,1998
  80. >>>>>>>>411 string Caldera\ Inc.\0 \b, DR-DOS MBR (IBMBIO.LDR)
  81. >0x10F string Ung\201ltige\ Partitionstabelle \b, MS-DOS MBR, german version 4.10.1998, 4.10.2222
  82. >>0x1B8 ubelong >0 \b, Serial 0x%-.4x
  83. >0x8B string Ung\201ltige\ Partitionstabelle \b, MS-DOS MBR, german version 5.00 to 4.00.950
  84. >271 string Invalid\ partition\ table\0
  85. >>295 string Error\ loading\ operating\ system\0
  86. >>>326 string Missing\ operating\ system\0 \b, mbr
  87. #
  88. >139 string Invalid\ partition\ table\0
  89. >>163 string Error\ loading\ operating\ system\0
  90. >>>194 string Missing\ operating\ system\0 \b, Microsoft Windows XP mbr
  91. # http://www.heise.de/ct/05/09/006/ page 184
  92. #HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices\DosDevices\?:=Serial4Bytes+8Bytes
  93. >>>>0x1B8 ulelong >0 \b,Serial 0x%-.4x
  94. >300 string Invalid\ partition\ table\0
  95. >>324 string Error\ loading\ operating\ system\0
  96. >>>355 string Missing\ operating\ system\0 \b, Microsoft Windows XP MBR
  97. #??>>>389 string Invalid\ system\ disk
  98. >>>>0x1B8 ulelong >0 \b, Serial 0x%-.4x
  99. >300 string Ung\201ltige\ Partitionstabelle
  100. #split string to avoid error: String too long
  101. >>328 string Fehler\ beim\ Laden\
  102. >>>346 string des\ Betriebssystems
  103. >>>>366 string Betriebssystem\ nicht\ vorhanden \b, Microsoft Windows XP MBR (german)
  104. >>>>>0x1B8 ulelong >0 \b, Serial 0x%-.4x
  105. #>0x145 string Default:\ F \b, FREE-DOS MBR
  106. #>0x14B string Default:\ F \b, FREE-DOS 1.0 MBR
  107. >0x145 search/7 Default:\ F \b, FREE-DOS MBR
  108. #>>313 string F0\ .\ .\ .
  109. #>>>322 string disk\ 1
  110. #>>>>382 string FAT3
  111. >64 string no\ active\ partition\ found
  112. >>96 string read\ error\ while\ reading\ drive \b, FREE-DOS Beta 0.9 MBR
  113. # Ranish Partition Manager http://www.ranish.com/part/
  114. >387 search/4 \0\ Error!\r
  115. >>378 search/7 Virus!
  116. >>>397 search/4 Booting\
  117. >>>>408 search/4 HD1/\0 \b, Ranish MBR (
  118. >>>>>416 string Writing\ changes... \b2.37
  119. >>>>>>438 ubyte x \b,0x%x dots
  120. >>>>>>440 ubyte >0 \b,virus check
  121. >>>>>>441 ubyte >0 \b,partition %c
  122. #2.38,2.42,2.44
  123. >>>>>416 string !Writing\ changes... \b
  124. >>>>>>418 ubyte 1 \bvirus check,
  125. >>>>>>419 ubyte x \b0x%x seconds
  126. >>>>>>420 ubyte&0x0F >0 \b,partition
  127. >>>>>>>420 ubyte&0x0F <5 \b %x
  128. >>>>>>>420 ubyte&0x0F 0Xf \b ask
  129. >>>>>420 ubyte x \b)
  130. #
  131. >271 string Operating\ system\ loading
  132. >>296 string error\r \b, SYSLINUX MBR (2.10)
  133. # http://www.acronis.de/
  134. >362 string MBR\ Error\ \0\r
  135. >>376 string ress\ any\ key\ to\
  136. >>>392 string boot\ from\ floppy...\0 \b, Acronis MBR
  137. # added by Joerg Jenderek
  138. # http://www.visopsys.org/
  139. # http://partitionlogic.org.uk/
  140. >309 string No\ bootable\ partition\ found\r
  141. >>339 string I/O\ Error\ reading\ boot\ sector\r \b, Visopsys MBR
  142. >349 string No\ bootable\ partition\ found\r
  143. >>379 string I/O\ Error\ reading\ boot\ sector\r \b, simple Visopsys MBR
  144. # bootloader, bootmanager
  145. >0x40 string SBML
  146. # label with 11 characters of FAT 12 bit filesystem
  147. >>43 string SMART\ BTMGR
  148. >>>430 string SBMK\ Bad!\r \b, Smart Boot Manager
  149. # OEM-ID not always "SBM"
  150. #>>>>3 strings SBM
  151. >>>>6 string >\0 \b, version %s
  152. >382 string XOSLLOADXCF \b, eXtended Operating System Loader
  153. >6 string LILO \b, LInux i386 boot LOader
  154. >>120 string LILO \b, version 22.3.4 SuSe
  155. >>172 string LILO \b, version 22.5.8 Debian
  156. # updated by Joerg Jenderek at Oct 2008
  157. # variables according to grub-0.97/stage1/stage1.S or
  158. # http://www.gnu.org/software/grub/manual/grub.html#Embedded-data
  159. # usual values are marked with comments to get only informations of strange GRUB loaders
  160. >342 search/60 \0Geom\0
  161. #>0 ulelong x %x=0x009048EB , 0x2a9048EB 0
  162. >>0x41 ubyte <2
  163. >>>0x3E ubyte >2 \b; GRand Unified Bootloader
  164. # 0x3 for 0.5.95,0.93,0.94,0.96 0x4 for 1.90
  165. >>>>0x3E ubyte x \b, stage1 version 0x%x
  166. #If it is 0xFF, use a drive passed by BIOS
  167. >>>>0x40 ubyte <0xFF \b, boot drive 0x%x
  168. # in most case 0,1,0x2e for GRUB 0.5.95
  169. >>>>0x41 ubyte >0 \b, LBA flag 0x%x
  170. >>>>0x42 uleshort <0x8000 \b, stage2 address 0x%x
  171. #>>>>0x42 uleshort =0x8000 \b, stage2 address 0x%x (usual)
  172. >>>>0x42 uleshort >0x8000 \b, stage2 address 0x%x
  173. #>>>>0x44 ulelong =1 \b, 1st sector stage2 0x%x (default)
  174. >>>>0x44 ulelong >1 \b, 1st sector stage2 0x%x
  175. >>>>0x48 uleshort <0x800 \b, stage2 segment 0x%x
  176. #>>>>0x48 uleshort =0x800 \b, stage2 segment 0x%x (usual)
  177. >>>>0x48 uleshort >0x800 \b, stage2 segment 0x%x
  178. >>>>402 string Geom\0Hard\ Disk\0Read\0\ Error\0
  179. >>>>>394 string stage1 \b, GRUB version 0.5.95
  180. >>>>382 string Geom\0Hard\ Disk\0Read\0\ Error\0
  181. >>>>>376 string GRUB\ \0 \b, GRUB version 0.93 or 1.94
  182. >>>>383 string Geom\0Hard\ Disk\0Read\0\ Error\0
  183. >>>>>377 string GRUB\ \0 \b, GRUB version 0.94
  184. >>>>385 string Geom\0Hard\ Disk\0Read\0\ Error\0
  185. >>>>>379 string GRUB\ \0 \b, GRUB version 0.95 or 0.96
  186. >>>>391 string Geom\0Hard\ Disk\0Read\0\ Error\0
  187. >>>>>385 string GRUB\ \0 \b, GRUB version 0.97
  188. #unkown version
  189. >>>343 string Geom\0Read\0\ Error\0
  190. >>>>321 string Loading\ stage1.5 \b, GRUB version x.y
  191. >>>380 string Geom\0Hard\ Disk\0Read\0\ Error\0
  192. >>>>374 string GRUB\ \0 \b, GRUB version n.m
  193. # http://syslinux.zytor.com/
  194. >478 string Boot\ failed\r
  195. >>495 string LDLINUX\ SYS \b, SYSLINUX bootloader (1.62)
  196. >480 string Boot\ failed\r
  197. >>495 string LDLINUX\ SYS \b, SYSLINUX bootloader (2.06 or 2.11)
  198. >484 string Boot\ error\r \b, SYSLINUX bootloader (3.11)
  199. >395 string chksum\0\ ERROR!\0 \b, Gujin bootloader
  200. # http://www.bcdwb.de/bcdw/index_e.htm
  201. >3 string BCDL
  202. >>498 string BCDL\ \ \ \ BIN \b, Bootable CD Loader (1.50Z)
  203. # mbr partition table entries
  204. # OEM-ID does not contain MicroSoft,NEWLDR,DOS,SYSLINUX,or MTOOLs
  205. >3 string !MS
  206. >>3 string !SYSLINUX
  207. >>>3 string !MTOOL
  208. >>>>3 string !NEWLDR
  209. >>>>>5 string !DOS
  210. # not FAT (32 bit)
  211. >>>>>>82 string !FAT32
  212. #not Linux kernel
  213. >>>>>>>514 string !HdrS
  214. #not BeOS
  215. >>>>>>>>422 string !Be\ Boot\ Loader
  216. # active flag 0 or 0x80 and type > 0
  217. >>>>>>>>>446 ubyte <0x81
  218. >>>>>>>>>>446 ubyte&0x7F 0
  219. >>>>>>>>>>>450 ubyte >0 \b; partition 1: ID=0x%x
  220. >>>>>>>>>>>>446 ubyte 0x80 \b, active
  221. >>>>>>>>>>>>447 ubyte x \b, starthead %u
  222. #>>>>>>>>>>>>448 ubyte x \b, start C_S: 0x%x
  223. #>>>>>>>>>>>>448 ubeshort&1023 x \b, startcylinder? %d
  224. >>>>>>>>>>>>454 ulelong x \b, startsector %u
  225. >>>>>>>>>>>>458 ulelong x \b, %u sectors
  226. #
  227. >>>>>>>>>462 ubyte <0x81
  228. >>>>>>>>>>462 ubyte&0x7F 0
  229. >>>>>>>>>>>466 ubyte >0 \b; partition 2: ID=0x%x
  230. >>>>>>>>>>>>462 ubyte 0x80 \b, active
  231. >>>>>>>>>>>>463 ubyte x \b, starthead %u
  232. #>>>>>>>>>>>>464 ubyte x \b, start C_S: 0x%x
  233. #>>>>>>>>>>>>464 ubeshort&1023 x \b, startcylinder? %d
  234. >>>>>>>>>>>>470 ulelong x \b, startsector %u
  235. >>>>>>>>>>>>474 ulelong x \b, %u sectors
  236. #
  237. >>>>>>>>>478 ubyte <0x81
  238. >>>>>>>>>>478 ubyte&0x7F 0
  239. >>>>>>>>>>>482 ubyte >0 \b; partition 3: ID=0x%x
  240. >>>>>>>>>>>>478 ubyte 0x80 \b, active
  241. >>>>>>>>>>>>479 ubyte x \b, starthead %u
  242. #>>>>>>>>>>>>480 ubyte x \b, start C_S: 0x%x
  243. #>>>>>>>>>>>>481 ubyte x \b, start C2S: 0x%x
  244. #>>>>>>>>>>>>480 ubeshort&1023 x \b, startcylinder? %d
  245. >>>>>>>>>>>>486 ulelong x \b, startsector %u
  246. >>>>>>>>>>>>490 ulelong x \b, %u sectors
  247. #
  248. >>>>>>>>>494 ubyte <0x81
  249. >>>>>>>>>>494 ubyte&0x7F 0
  250. >>>>>>>>>>>498 ubyte >0 \b; partition 4: ID=0x%x
  251. >>>>>>>>>>>>494 ubyte 0x80 \b, active
  252. >>>>>>>>>>>>495 ubyte x \b, starthead %u
  253. #>>>>>>>>>>>>496 ubyte x \b, start C_S: 0x%x
  254. #>>>>>>>>>>>>496 ubeshort&1023 x \b, startcylinder? %d
  255. >>>>>>>>>>>>502 ulelong x \b, startsector %u
  256. >>>>>>>>>>>>506 ulelong x \b, %u sectors
  257. # mbr partition table entries end
  258. # http://www.acronis.de/
  259. #FAT label=ACRONIS\ SZ
  260. #OEM-ID=BOOTWIZ0
  261. >442 string Non-system\ disk,\
  262. >>459 string press\ any\ key...\x7\0 \b, Acronis Startup Recovery Loader
  263. # DOS names like F11.SYS are 8 right space padded bytes+3 bytes
  264. >>>477 ubyte&0xDF >0
  265. >>>>477 string x \b %-.3s
  266. >>>>>480 ubyte&0xDF >0
  267. >>>>>>480 string x \b%-.5s
  268. >>>>485 ubyte&0xDF >0
  269. >>>>>485 string x \b.%-.3s
  270. #
  271. >185 string FDBOOT\ Version\
  272. >>204 string \rNo\ Systemdisk.\
  273. >>>220 string Booting\ from\ harddisk.\n\r
  274. >>>245 string Cannot\ load\ from\ harddisk.\n\r
  275. >>>>273 string Insert\ Systemdisk\
  276. >>>>>291 string and\ press\ any\ key.\n\r \b, FDBOOT harddisk Bootloader
  277. >>>>>>200 string >\0 \b, version %-3s
  278. >242 string Bootsector\ from\ C.H.\ Hochst\204
  279. >>278 string No\ Systemdisk.\
  280. >>>293 string Booting\ from\ harddisk.\n\r
  281. >>>441 string Cannot\ load\ from\ harddisk.\n\r
  282. >>>>469 string Insert\ Systemdisk\
  283. >>>>>487 string and\ press\ any\ key.\n\r \b, WinImage harddisk Bootloader
  284. >>>>>>209 string >\0 \b, version %-4.4s
  285. >(1.b+2) ubyte 0xe
  286. >>(1.b+3) ubyte 0x1f
  287. >>>(1.b+4) ubyte 0xbe
  288. >>>>(1.b+5) ubyte 0x77
  289. >>>>(1.b+6) ubyte 0x7c
  290. >>>>>(1.b+7) ubyte 0xac
  291. >>>>>>(1.b+8) ubyte 0x22
  292. >>>>>>>(1.b+9) ubyte 0xc0
  293. >>>>>>>>(1.b+10) ubyte 0x74
  294. >>>>>>>>>(1.b+11) ubyte 0xb
  295. >>>>>>>>>>(1.b+12) ubyte 0x56
  296. >>>>>>>>>>(1.b+13) ubyte 0xb4 \b, mkdosfs boot message display
  297. >214 string Please\ try\ to\ install\ FreeDOS\ \b, DOS Emulator boot message display
  298. #>>244 string from\ dosemu-freedos-*-bin.tgz\r
  299. #>>>170 string Sorry,\ could\ not\ load\ an\
  300. #>>>>195 string operating\ system.\r\n
  301. #
  302. >103 string This\ is\ not\ a\ bootable\ disk.\
  303. >>132 string Please\ insert\ a\ bootable\
  304. >>>157 string floppy\ and\r\n
  305. >>>>169 string press\ any\ key\ to\ try\ again...\r \b, FREE-DOS message display
  306. #
  307. >66 string Solaris\ Boot\ Sector
  308. >>99 string Incomplete\ MDBoot\ load.
  309. >>>89 string Version \b, Sun Solaris Bootloader
  310. >>>>97 byte x version %c
  311. #
  312. >408 string OS/2\ !!\ SYS01475\r\0
  313. >>429 string OS/2\ !!\ SYS02025\r\0
  314. >>>450 string OS/2\ !!\ SYS02027\r\0
  315. >>>469 string OS2BOOT\ \ \ \ \b, IBM OS/2 Warp bootloader
  316. #
  317. >409 string OS/2\ !!\ SYS01475\r\0
  318. >>430 string OS/2\ !!\ SYS02025\r\0
  319. >>>451 string OS/2\ !!\ SYS02027\r\0
  320. >>>470 string OS2BOOT\ \ \ \ \b, IBM OS/2 Warp Bootloader
  321. >112 string This\ disk\ is\ not\ bootable\r
  322. >>142 string If\ you\ wish\ to\ make\ it\ bootable
  323. >>>176 string run\ the\ DOS\ program\ SYS\
  324. >>>200 string after\ the\r
  325. >>>>216 string system\ has\ been\ loaded\r\n
  326. >>>>>242 string Please\ insert\ a\ DOS\ diskette\
  327. >>>>>271 string into\r\n\ the\ drive\ and\
  328. >>>>>>292 string strike\ any\ key...\0 \b, IBM OS/2 Warp message display
  329. # XP
  330. >430 string NTLDR\ is\ missing\xFF\r\n
  331. >>449 string Disk\ error\xFF\r\n
  332. >>>462 string Press\ any\ key\ to\ restart\r \b, Microsoft Windows XP Bootloader
  333. # DOS names like NTLDR,CMLDR,$LDR$ are 8 right space padded bytes+3 bytes
  334. >>>>417 ubyte&0xDF >0
  335. >>>>>417 string x %-.5s
  336. >>>>>>422 ubyte&0xDF >0
  337. >>>>>>>422 string x \b%-.3s
  338. >>>>>425 ubyte&0xDF >0
  339. >>>>>>425 string >\ \b.%-.3s
  340. #
  341. >>>>371 ubyte >0x20
  342. >>>>>368 ubyte&0xDF >0
  343. >>>>>>368 string x %-.5s
  344. >>>>>>>373 ubyte&0xDF >0
  345. >>>>>>>>373 string x \b%-.3s
  346. >>>>>>376 ubyte&0xDF >0
  347. >>>>>>>376 string x \b.%-.3s
  348. #
  349. >430 string NTLDR\ nicht\ gefunden\xFF\r\n
  350. >>453 string Datentr\204gerfehler\xFF\r\n
  351. >>>473 string Neustart\ mit\ beliebiger\ Taste\r \b, Microsoft Windows XP Bootloader (german)
  352. >>>>417 ubyte&0xDF >0
  353. >>>>>417 string x %-.5s
  354. >>>>>>422 ubyte&0xDF >0
  355. >>>>>>>422 string x \b%-.3s
  356. >>>>>425 ubyte&0xDF >0
  357. >>>>>>425 string >\ \b.%-.3s
  358. # offset variant
  359. >>>>379 string \0
  360. >>>>>368 ubyte&0xDF >0
  361. >>>>>>368 string x %-.5s
  362. >>>>>>>373 ubyte&0xDF >0
  363. >>>>>>>>373 string x \b%-.3s
  364. #
  365. >430 string NTLDR\ fehlt\xFF\r\n
  366. >>444 string Datentr\204gerfehler\xFF\r\n
  367. >>>464 string Neustart\ mit\ beliebiger\ Taste\r \b, Microsoft Windows XP Bootloader (2.german)
  368. >>>>417 ubyte&0xDF >0
  369. >>>>>417 string x %-.5s
  370. >>>>>>422 ubyte&0xDF >0
  371. >>>>>>>422 string x \b%-.3s
  372. >>>>>425 ubyte&0xDF >0
  373. >>>>>>425 string >\ \b.%-.3s
  374. # variant
  375. >>>>371 ubyte >0x20
  376. >>>>>368 ubyte&0xDF >0
  377. >>>>>>368 string x %-.5s
  378. >>>>>>>373 ubyte&0xDF >0
  379. >>>>>>>>373 string x \b%-.3s
  380. >>>>>>376 ubyte&0xDF >0
  381. >>>>>>>376 string x \b.%-.3s
  382. #
  383. >430 string NTLDR\ fehlt\xFF\r\n
  384. >>444 string Medienfehler\xFF\r\n
  385. >>>459 string Neustart:\ Taste\ dr\201cken\r \b, Microsoft Windows XP Bootloader (3.german)
  386. >>>>371 ubyte >0x20
  387. >>>>>368 ubyte&0xDF >0
  388. >>>>>>368 string x %-.5s
  389. >>>>>>>373 ubyte&0xDF >0
  390. >>>>>>>>373 string x \b%-.3s
  391. >>>>>>376 ubyte&0xDF >0
  392. >>>>>>>376 string x \b.%-.3s
  393. # variant
  394. >>>>417 ubyte&0xDF >0
  395. >>>>>417 string x %-.5s
  396. >>>>>>422 ubyte&0xDF >0
  397. >>>>>>>422 string x \b%-.3s
  398. >>>>>425 ubyte&0xDF >0
  399. >>>>>>425 string >\ \b.%-.3s
  400. #
  401. >430 string Datentr\204ger\ entfernen\xFF\r\n
  402. >>454 string Medienfehler\xFF\r\n
  403. >>>469 string Neustart:\ Taste\ dr\201cken\r \b, Microsoft Windows XP Bootloader (4.german)
  404. >>>>379 string \0
  405. >>>>>368 ubyte&0xDF >0
  406. >>>>>>368 string x %-.5s
  407. >>>>>>>373 ubyte&0xDF >0
  408. >>>>>>>>373 string x \b%-.3s
  409. >>>>>>376 ubyte&0xDF >0
  410. >>>>>>>376 string x \b.%-.3s
  411. # variant
  412. >>>>417 ubyte&0xDF >0
  413. >>>>>417 string x %-.5s
  414. >>>>>>422 ubyte&0xDF >0
  415. >>>>>>>422 string x \b%-.3s
  416. >>>>>425 ubyte&0xDF >0
  417. >>>>>>425 string >\ \b.%-.3s
  418. #
  419. #>3 string NTFS\ \ \ \
  420. >389 string Fehler\ beim\ Lesen\
  421. >>407 string des\ Datentr\204gers
  422. >>>426 string NTLDR\ fehlt
  423. >>>>440 string NTLDR\ ist\ komprimiert
  424. >>>>>464 string Neustart\ mit\ Strg+Alt+Entf\r \b, Microsoft Windows XP Bootloader NTFS (german)
  425. #>3 string NTFS\ \ \ \
  426. >313 string A\ disk\ read\ error\ occurred.\r
  427. >>345 string A\ kernel\ file\ is\ missing\
  428. >>>370 string from\ the\ disk.\r
  429. >>>>484 string NTLDR\ is\ compressed
  430. >>>>>429 string Insert\ a\ system\ diskette\
  431. >>>>>>454 string and\ restart\r\nthe\ system.\r \b, Microsoft Windows XP Bootloader NTFS
  432. # DOS loader variants different languages,offsets
  433. >472 ubyte&0xDF >0
  434. >>389 string Invalid\ system\ disk\xFF\r\n
  435. >>>411 string Disk\ I/O\ error
  436. >>>>428 string Replace\ the\ disk,\ and\
  437. >>>>>455 string press\ any\ key \b, Microsoft Windows 98 Bootloader
  438. #IO.SYS
  439. >>>>>>472 ubyte&0xDF >0
  440. >>>>>>>472 string x \b %-.2s
  441. >>>>>>>>474 ubyte&0xDF >0
  442. >>>>>>>>>474 string x \b%-.5s
  443. >>>>>>>>>>479 ubyte&0xDF >0
  444. >>>>>>>>>>>479 string x \b%-.1s
  445. >>>>>>>480 ubyte&0xDF >0
  446. >>>>>>>>480 string x \b.%-.3s
  447. #MSDOS.SYS
  448. >>>>>>>483 ubyte&0xDF >0 \b+
  449. >>>>>>>>483 string x \b%-.5s
  450. >>>>>>>>>488 ubyte&0xDF >0
  451. >>>>>>>>>>488 string x \b%-.3s
  452. >>>>>>>>491 ubyte&0xDF >0
  453. >>>>>>>>>491 string x \b.%-.3s
  454. #
  455. >>390 string Invalid\ system\ disk\xFF\r\n
  456. >>>412 string Disk\ I/O\ error\xFF\r\n
  457. >>>>429 string Replace\ the\ disk,\ and\
  458. >>>>>451 string then\ press\ any\ key\r \b, Microsoft Windows 98 Bootloader
  459. >>388 string Ungueltiges\ System\ \xFF\r\n
  460. >>>410 string E/A-Fehler\ \ \ \ \xFF\r\n
  461. >>>>427 string Datentraeger\ wechseln\ und\
  462. >>>>>453 string Taste\ druecken\r \b, Microsoft Windows 95/98/ME Bootloader (german)
  463. #WINBOOT.SYS only not spaces (0xDF)
  464. >>>>>>497 ubyte&0xDF >0
  465. >>>>>>>497 string x %-.5s
  466. >>>>>>>>502 ubyte&0xDF >0
  467. >>>>>>>>>502 string x \b%-.1s
  468. >>>>>>>>>>503 ubyte&0xDF >0
  469. >>>>>>>>>>>503 string x \b%-.1s
  470. >>>>>>>>>>>>504 ubyte&0xDF >0
  471. >>>>>>>>>>>>>504 string x \b%-.1s
  472. >>>>>>505 ubyte&0xDF >0
  473. >>>>>>>505 string x \b.%-.3s
  474. #IO.SYS
  475. >>>>>>472 ubyte&0xDF >0 or
  476. >>>>>>>472 string x \b %-.2s
  477. >>>>>>>>474 ubyte&0xDF >0
  478. >>>>>>>>>474 string x \b%-.5s
  479. >>>>>>>>>>479 ubyte&0xDF >0
  480. >>>>>>>>>>>479 string x \b%-.1s
  481. >>>>>>>480 ubyte&0xDF >0
  482. >>>>>>>>480 string x \b.%-.3s
  483. #MSDOS.SYS
  484. >>>>>>>483 ubyte&0xDF >0 \b+
  485. >>>>>>>>483 string x \b%-.5s
  486. >>>>>>>>>488 ubyte&0xDF >0
  487. >>>>>>>>>>488 string x \b%-.3s
  488. >>>>>>>>491 ubyte&0xDF >0
  489. >>>>>>>>>491 string x \b.%-.3s
  490. #
  491. >>390 string Ungueltiges\ System\ \xFF\r\n
  492. >>>412 string E/A-Fehler\ \ \ \ \xFF\r\n
  493. >>>>429 string Datentraeger\ wechseln\ und\
  494. >>>>>455 string Taste\ druecken\r \b, Microsoft Windows 95/98/ME Bootloader (German)
  495. #WINBOOT.SYS only not spaces (0xDF)
  496. >>>>>>497 ubyte&0xDF >0
  497. >>>>>>>497 string x %-.7s
  498. >>>>>>>>504 ubyte&0xDF >0
  499. >>>>>>>>>504 string x \b%-.1s
  500. >>>>>>505 ubyte&0xDF >0
  501. >>>>>>>505 string x \b.%-.3s
  502. #IO.SYS
  503. >>>>>>472 ubyte&0xDF >0 or
  504. >>>>>>>472 string x \b %-.2s
  505. >>>>>>>>474 ubyte&0xDF >0
  506. >>>>>>>>>474 string x \b%-.6s
  507. >>>>>>>480 ubyte&0xDF >0
  508. >>>>>>>>480 string x \b.%-.3s
  509. #MSDOS.SYS
  510. >>>>>>>483 ubyte&0xDF >0 \b+
  511. >>>>>>>>483 string x \b%-.5s
  512. >>>>>>>>>488 ubyte&0xDF >0
  513. >>>>>>>>>>488 string x \b%-.3s
  514. >>>>>>>>491 ubyte&0xDF >0
  515. >>>>>>>>>491 string x \b.%-.3s
  516. #
  517. >>389 string Ungueltiges\ System\ \xFF\r\n
  518. >>>411 string E/A-Fehler\ \ \ \ \xFF\r\n
  519. >>>>428 string Datentraeger\ wechseln\ und\
  520. >>>>>454 string Taste\ druecken\r \b, Microsoft Windows 95/98/ME Bootloader (GERMAN)
  521. # DOS names like IO.SYS,WINBOOT.SYS,MSDOS.SYS,WINBOOT.INI are 8 right space padded bytes+3 bytes
  522. >>>>>>472 string x %-.2s
  523. >>>>>>>474 ubyte&0xDF >0
  524. >>>>>>>>474 string x \b%-.5s
  525. >>>>>>>>479 ubyte&0xDF >0
  526. >>>>>>>>>479 string x \b%-.1s
  527. >>>>>>480 ubyte&0xDF >0
  528. >>>>>>>480 string x \b.%-.3s
  529. >>>>>>483 ubyte&0xDF >0 \b+
  530. >>>>>>>483 string x \b%-.5s
  531. >>>>>>>488 ubyte&0xDF >0
  532. >>>>>>>>488 string x \b%-.2s
  533. >>>>>>>>490 ubyte&0xDF >0
  534. >>>>>>>>>490 string x \b%-.1s
  535. >>>>>>>491 ubyte&0xDF >0
  536. >>>>>>>>491 string x \b.%-.3s
  537. >479 ubyte&0xDF >0
  538. >>416 string Kein\ System\ oder\
  539. >>>433 string Laufwerksfehler
  540. >>>>450 string Wechseln\ und\ Taste\ dr\201cken \b, Microsoft DOS Bootloader (german)
  541. #IO.SYS
  542. >>>>>479 string x \b %-.2s
  543. >>>>>>481 ubyte&0xDF >0
  544. >>>>>>>481 string x \b%-.6s
  545. >>>>>487 ubyte&0xDF >0
  546. >>>>>>487 string x \b.%-.3s
  547. #MSDOS.SYS
  548. >>>>>>490 ubyte&0xDF >0 \b+
  549. >>>>>>>490 string x \b%-.5s
  550. >>>>>>>>495 ubyte&0xDF >0
  551. >>>>>>>>>495 string x \b%-.3s
  552. >>>>>>>498 ubyte&0xDF >0
  553. >>>>>>>>498 string x \b.%-.3s
  554. #
  555. >376 search/41 Non-System\ disk\ or\
  556. >>395 search/41 disk\ error\r
  557. >>>407 search/41 Replace\ and\
  558. >>>>419 search/41 press\ \b,
  559. >>>>419 search/41 strike\ \b, old
  560. >>>>426 search/41 any\ key\ when\ ready\r MS or PC-DOS bootloader
  561. #449 Disk\ Boot\ failure\r MS 3.21
  562. #466 Boot\ Failure\r MS 3.30
  563. >>>>>468 search/18 \0
  564. #IO.SYS,IBMBIO.COM
  565. >>>>>>&0 string x \b %-.2s
  566. >>>>>>>&-20 ubyte&0xDF >0
  567. >>>>>>>>&-1 string x \b%-.4s
  568. >>>>>>>>>&-16 ubyte&0xDF >0
  569. >>>>>>>>>>&-1 string x \b%-.2s
  570. >>>>>>&8 ubyte&0xDF >0 \b.
  571. >>>>>>>&-1 string x \b%-.3s
  572. #MSDOS.SYS,IBMDOS.COM
  573. >>>>>>&11 ubyte&0xDF >0 \b+
  574. >>>>>>>&-1 string x \b%-.5s
  575. >>>>>>>>&-6 ubyte&0xDF >0
  576. >>>>>>>>>&-1 string x \b%-.1s
  577. >>>>>>>>>>&-5 ubyte&0xDF >0
  578. >>>>>>>>>>>&-1 string x \b%-.2s
  579. >>>>>>>&7 ubyte&0xDF >0 \b.
  580. >>>>>>>>&-1 string x \b%-.3s
  581. >441 string Cannot\ load\ from\ harddisk.\n\r
  582. >>469 string Insert\ Systemdisk\
  583. >>>487 string and\ press\ any\ key.\n\r \b, MS (2.11) DOS bootloader
  584. #>43 string \224R-LOADER\ \ SYS =label
  585. >54 string SYS
  586. >>324 string VASKK
  587. >>>495 string NEWLDR\0 \b, DR-DOS Bootloader (LOADER.SYS)
  588. #
  589. >98 string Press\ a\ key\ to\ retry\0\r
  590. >>120 string Cannot\ find\ file\ \0\r
  591. >>>139 string Disk\ read\ error\0\r
  592. >>>>156 string Loading\ ...\0 \b, DR-DOS (3.41) Bootloader
  593. #DRBIOS.SYS
  594. >>>>>44 ubyte&0xDF >0
  595. >>>>>>44 string x \b %-.6s
  596. >>>>>>>50 ubyte&0xDF >0
  597. >>>>>>>>50 string x \b%-.2s
  598. >>>>>>52 ubyte&0xDF >0
  599. >>>>>>>52 string x \b.%-.3s
  600. #
  601. >70 string IBMBIO\ \ COM
  602. >>472 string Cannot\ load\ DOS!\
  603. >>>489 string Any\ key\ to\ retry \b, DR-DOS Bootloader
  604. >>471 string Cannot\ load\ DOS\
  605. >>487 string press\ key\ to\ retry \b, Open-DOS Bootloader
  606. #??
  607. >444 string KERNEL\ \ SYS
  608. >>314 string BOOT\ error! \b, FREE-DOS Bootloader
  609. >499 string KERNEL\ \ SYS
  610. >>305 string BOOT\ err!\0 \b, Free-DOS Bootloader
  611. >449 string KERNEL\ \ SYS
  612. >>319 string BOOT\ error! \b, FREE-DOS 0.5 Bootloader
  613. #
  614. >449 string Loading\ FreeDOS
  615. >>0x1AF ulelong >0 \b, FREE-DOS 0.95,1.0 Bootloader
  616. >>>497 ubyte&0xDF >0
  617. >>>>497 string x \b %-.6s
  618. >>>>>503 ubyte&0xDF >0
  619. >>>>>>503 string x \b%-.1s
  620. >>>>>>>504 ubyte&0xDF >0
  621. >>>>>>>>504 string x \b%-.1s
  622. >>>>505 ubyte&0xDF >0
  623. >>>>>505 string x \b.%-.3s
  624. #
  625. >331 string Error!.0 \b, FREE-DOS 1.0 bootloader
  626. #
  627. >125 string Loading\ FreeDOS...\r
  628. >>311 string BOOT\ error!\r \b, FREE-DOS bootloader
  629. >>>441 ubyte&0xDF >0
  630. >>>>441 string x \b %-.6s
  631. >>>>>447 ubyte&0xDF >0
  632. >>>>>>447 string x \b%-.1s
  633. >>>>>>>448 ubyte&0xDF >0
  634. >>>>>>>>448 string x \b%-.1s
  635. >>>>449 ubyte&0xDF >0
  636. >>>>>449 string x \b.%-.3s
  637. >124 string FreeDOS\0
  638. >>331 string \ err\0 \b, FREE-DOS BETa 0.9 Bootloader
  639. # DOS names like KERNEL.SYS,KERNEL16.SYS,KERNEL32.SYS,METAKERN.SYS are 8 right space padded bytes+3 bytes
  640. >>>497 ubyte&0xDF >0
  641. >>>>497 string x \b %-.6s
  642. >>>>>503 ubyte&0xDF >0
  643. >>>>>>503 string x \b%-.1s
  644. >>>>>>>504 ubyte&0xDF >0
  645. >>>>>>>>504 string x \b%-.1s
  646. >>>>505 ubyte&0xDF >0
  647. >>>>>505 string x \b.%-.3s
  648. >>333 string \ err\0 \b, FREE-DOS BEta 0.9 Bootloader
  649. >>>497 ubyte&0xDF >0
  650. >>>>497 string x \b %-.6s
  651. >>>>>503 ubyte&0xDF >0
  652. >>>>>>503 string x \b%-.1s
  653. >>>>>>>504 ubyte&0xDF >0
  654. >>>>>>>>504 string x \b%-.1s
  655. >>>>505 ubyte&0xDF >0
  656. >>>>>505 string x \b.%-.3s
  657. >>334 string \ err\0 \b, FREE-DOS Beta 0.9 Bootloader
  658. >>>497 ubyte&0xDF >0
  659. >>>>497 string x \b %-.6s
  660. >>>>>503 ubyte&0xDF >0
  661. >>>>>>503 string x \b%-.1s
  662. >>>>>>>504 ubyte&0xDF >0
  663. >>>>>>>>504 string x \b%-.1s
  664. >>>>505 ubyte&0xDF >0
  665. >>>>>505 string x \b.%-.3s
  666. >336 string Error!\
  667. >>343 string Hit\ a\ key\ to\ reboot. \b, FREE-DOS Beta 0.9sr1 Bootloader
  668. >>>497 ubyte&0xDF >0
  669. >>>>497 string x \b %-.6s
  670. >>>>>503 ubyte&0xDF >0
  671. >>>>>>503 string x \b%-.1s
  672. >>>>>>>504 ubyte&0xDF >0
  673. >>>>>>>>504 string x \b%-.1s
  674. >>>>505 ubyte&0xDF >0
  675. >>>>>505 string x \b.%-.3s
  676. # added by Joerg Jenderek
  677. # http://www.visopsys.org/
  678. # http://partitionlogic.org.uk/
  679. # OEM-ID=Visopsys
  680. >478 ulelong 0
  681. >>(1.b+326) string I/O\ Error\ reading\
  682. >>>(1.b+344) string Visopsys\ loader\r
  683. >>>>(1.b+361) string Press\ any\ key\ to\ continue.\r \b, Visopsys loader
  684. # http://alexfru.chat.ru/epm.html#bootprog
  685. >494 ubyte >0x4D
  686. >>495 string >E
  687. >>>495 string <S
  688. #OEM-ID is not reliable
  689. >>>>3 string BootProg
  690. # It just looks for a program file name at the root directory
  691. # and loads corresponding file with following execution.
  692. # DOS names like STARTUP.BIN,STARTUPC.COM,STARTUPE.EXE are 8 right space padded bytes+3 bytes
  693. >>>>499 ubyte&0xDF >0 \b, COM/EXE Bootloader
  694. >>>>>499 string x \b %-.1s
  695. >>>>>>500 ubyte&0xDF >0
  696. >>>>>>>500 string x \b%-.1s
  697. >>>>>>>>501 ubyte&0xDF >0
  698. >>>>>>>>>501 string x \b%-.1s
  699. >>>>>>>>>>502 ubyte&0xDF >0
  700. >>>>>>>>>>>502 string x \b%-.1s
  701. >>>>>>>>>>>>503 ubyte&0xDF >0
  702. >>>>>>>>>>>>>503 string x \b%-.1s
  703. >>>>>>>>>>>>>>504 ubyte&0xDF >0
  704. >>>>>>>>>>>>>>>504 string x \b%-.1s
  705. >>>>>>>>>>>>>>>>505 ubyte&0xDF >0
  706. >>>>>>>>>>>>>>>>>505 string x \b%-.1s
  707. >>>>>>>>>>>>>>>>>>506 ubyte&0xDF >0
  708. >>>>>>>>>>>>>>>>>>>506 string x \b%-.1s
  709. #name extension
  710. >>>>>507 ubyte&0xDF >0 \b.
  711. >>>>>>507 string x \b%-.1s
  712. >>>>>>>508 ubyte&0xDF >0
  713. >>>>>>>>508 string x \b%-.1s
  714. >>>>>>>>>509 ubyte&0xDF >0
  715. >>>>>>>>>>509 string x \b%-.1s
  716. #If the boot sector fails to read any other sector,
  717. #it prints a very short message ("RE") to the screen and hangs the computer.
  718. #If the boot sector fails to find needed program in the root directory,
  719. #it also hangs with another message ("NF").
  720. >>>>>492 string RENF \b, FAT (12 bit)
  721. >>>>>495 string RENF \b, FAT (16 bit)
  722. # http://alexfru.chat.ru/epm.html#bootprog
  723. >494 ubyte >0x4D
  724. >>495 string >E
  725. >>>495 string <S
  726. #OEM-ID is not reliable
  727. >>>>3 string BootProg
  728. # It just looks for a program file name at the root directory
  729. # and loads corresponding file with following execution.
  730. # DOS names like STARTUP.BIN,STARTUPC.COM,STARTUPE.EXE are 8 right space padded bytes+3 bytes
  731. >>>>499 ubyte&0xDF >0 \b, COM/EXE Bootloader
  732. >>>>>499 string x \b %-.1s
  733. >>>>>>500 ubyte&0xDF >0
  734. >>>>>>>500 string x \b%-.1s
  735. >>>>>>>>501 ubyte&0xDF >0
  736. >>>>>>>>>501 string x \b%-.1s
  737. >>>>>>>>>>502 ubyte&0xDF >0
  738. >>>>>>>>>>>502 string x \b%-.1s
  739. >>>>>>>>>>>>503 ubyte&0xDF >0
  740. >>>>>>>>>>>>>503 string x \b%-.1s
  741. >>>>>>>>>>>>>>504 ubyte&0xDF >0
  742. >>>>>>>>>>>>>>>504 string x \b%-.1s
  743. >>>>>>>>>>>>>>>>505 ubyte&0xDF >0
  744. >>>>>>>>>>>>>>>>>505 string x \b%-.1s
  745. >>>>>>>>>>>>>>>>>>506 ubyte&0xDF >0
  746. >>>>>>>>>>>>>>>>>>>506 string x \b%-.1s
  747. #name extension
  748. >>>>>507 ubyte&0xDF >0 \b.
  749. >>>>>>507 string x \b%-.1s
  750. >>>>>>>508 ubyte&0xDF >0
  751. >>>>>>>>508 string x \b%-.1s
  752. >>>>>>>>>509 ubyte&0xDF >0
  753. >>>>>>>>>>509 string x \b%-.1s
  754. #If the boot sector fails to read any other sector,
  755. #it prints a very short message ("RE") to the screen and hangs the computer.
  756. #If the boot sector fails to find needed program in the root directory,
  757. #it also hangs with another message ("NF").
  758. >>>>>492 string RENF \b, FAT (12 bit)
  759. >>>>>495 string RENF \b, FAT (16 bit)
  760. # x86 bootloader end
  761. # updated by Joerg Jenderek at Sep 2007
  762. >3 ubyte 0
  763. #no active flag
  764. >>446 ubyte 0
  765. # partition 1 not empty
  766. >>>450 ubyte >0
  767. # partitions 3,4 empty
  768. >>>>482 ubyte 0
  769. >>>>>498 ubyte 0
  770. # partition 2 ID=0,5,15
  771. >>>>>>466 ubyte <0x10
  772. >>>>>>>466 ubyte 0x05 \b, extended partition table
  773. >>>>>>>466 ubyte 0x0F \b, extended partition table (LBA)
  774. >>>>>>>466 ubyte 0x0 \b, extended partition table (last)
  775. # JuMP short bootcodeoffset NOP assembler instructions will usually be EB xx 90
  776. # http://mirror.href.com/thestarman/asm/2bytejumps.htmm#FWD
  777. # older drives may use Near JuMP instruction E9 xx xx
  778. >0 lelong&0x009000EB 0x009000EB
  779. >0 lelong&0x000000E9 0x000000E9
  780. # minimal short forward jump found 03cx??
  781. # maximal short forward jump is 07fx
  782. >1 ubyte <0xff \b, code offset 0x%x
  783. # mtools-3.9.8/msdos.h
  784. # usual values are marked with comments to get only informations of strange FAT systems
  785. # valid sectorsize must be a power of 2 from 32 to 32768
  786. >>11 uleshort&0x000f x
  787. >>>11 uleshort <32769
  788. >>>>11 uleshort >31
  789. >>>>>21 ubyte&0xf0 0xF0
  790. >>>>>>3 string >\0 \b, OEM-ID "%8.8s"
  791. #http://mirror.href.com/thestarman/asm/debug/debug2.htm#IHC
  792. >>>>>>>8 string IHC \b cached by Windows 9M
  793. >>>>>>11 uleshort >512 \b, Bytes/sector %u
  794. #>>>>>>11 uleshort =512 \b, Bytes/sector %u=512 (usual)
  795. >>>>>>11 uleshort <512 \b, Bytes/sector %u
  796. >>>>>>13 ubyte >1 \b, sectors/cluster %u
  797. #>>>>>>13 ubyte =1 \b, sectors/cluster %u (usual on Floppies)
  798. >>>>>>14 uleshort >32 \b, reserved sectors %u
  799. #>>>>>>14 uleshort =32 \b, reserved sectors %u (usual Fat32)
  800. #>>>>>>14 uleshort >1 \b, reserved sectors %u
  801. #>>>>>>14 uleshort =1 \b, reserved sectors %u (usual FAT12,FAT16)
  802. >>>>>>14 uleshort <1 \b, reserved sectors %u
  803. >>>>>>16 ubyte >2 \b, FATs %u
  804. #>>>>>>16 ubyte =2 \b, FATs %u (usual)
  805. >>>>>>16 ubyte =1 \b, FAT %u
  806. >>>>>>16 ubyte >0
  807. >>>>>>17 uleshort >0 \b, root entries %u
  808. #>>>>>>17 uleshort =0 \b, root entries %u=0 (usual Fat32)
  809. >>>>>>19 uleshort >0 \b, sectors %u (volumes <=32 MB)
  810. #>>>>>>19 uleshort =0 \b, sectors %u=0 (usual Fat32)
  811. >>>>>>21 ubyte >0xF0 \b, Media descriptor 0x%x
  812. #>>>>>>21 ubyte =0xF0 \b, Media descriptor 0x%x (usual floppy)
  813. >>>>>>21 ubyte <0xF0 \b, Media descriptor 0x%x
  814. >>>>>>22 uleshort >0 \b, sectors/FAT %u
  815. #>>>>>>22 uleshort =0 \b, sectors/FAT %u=0 (usual Fat32)
  816. >>>>>>26 ubyte >2 \b, heads %u
  817. #>>>>>>26 ubyte =2 \b, heads %u (usual floppy)
  818. >>>>>>26 ubyte =1 \b, heads %u
  819. #skip for Digital Research DOS (version 3.41) 1440 kB Bootdisk
  820. >>>>>>38 ubyte !0x70
  821. >>>>>>>28 ulelong >0 \b, hidden sectors %u
  822. #>>>>>>>28 ulelong =0 \b, hidden sectors %u (usual floppy)
  823. >>>>>>>32 ulelong >0 \b, sectors %u (volumes > 32 MB)
  824. #>>>>>>>32 ulelong =0 \b, sectors %u (volumes > 32 MB)
  825. # FAT<32 specific
  826. >>>>>>82 string !FAT32
  827. #>>>>>>>36 ubyte 0x80 \b, physical drive 0x%x=0x80 (usual harddisk)
  828. #>>>>>>>36 ubyte 0 \b, physical drive 0x%x=0 (usual floppy)
  829. >>>>>>>36 ubyte !0x80
  830. >>>>>>>>36 ubyte !0 \b, physical drive 0x%x
  831. >>>>>>>37 ubyte >0 \b, reserved 0x%x
  832. #>>>>>>>37 ubyte =0 \b, reserved 0x%x
  833. >>>>>>>38 ubyte >0x29 \b, dos < 4.0 BootSector (0x%x)
  834. >>>>>>>38 ubyte <0x29 \b, dos < 4.0 BootSector (0x%x)
  835. >>>>>>>38 ubyte =0x29
  836. >>>>>>>>39 ulelong x \b, serial number 0x%x
  837. >>>>>>>>43 string <NO\ NAME \b, label: "%11.11s"
  838. >>>>>>>>43 string >NO\ NAME \b, label: "%11.11s"
  839. >>>>>>>>43 string =NO\ NAME \b, unlabeled
  840. >>>>>>>54 string FAT \b, FAT
  841. >>>>>>>>54 string FAT12 \b (12 bit)
  842. >>>>>>>>54 string FAT16 \b (16 bit)
  843. # FAT32 specific
  844. >>>>>>82 string FAT32 \b, FAT (32 bit)
  845. >>>>>>>36 ulelong x \b, sectors/FAT %u
  846. >>>>>>>40 uleshort >0 \b, extension flags %u
  847. #>>>>>>>40 uleshort =0 \b, extension flags %u
  848. >>>>>>>42 uleshort >0 \b, fsVersion %u
  849. #>>>>>>>42 uleshort =0 \b, fsVersion %u (usual)
  850. >>>>>>>44 ulelong >2 \b, rootdir cluster %u
  851. #>>>>>>>44 ulelong =2 \b, rootdir cluster %u
  852. #>>>>>>>44 ulelong =1 \b, rootdir cluster %u
  853. >>>>>>>48 uleshort >1 \b, infoSector %u
  854. #>>>>>>>48 uleshort =1 \b, infoSector %u (usual)
  855. >>>>>>>48 uleshort <1 \b, infoSector %u
  856. >>>>>>>50 uleshort >6 \b, Backup boot sector %u
  857. #>>>>>>>50 uleshort =6 \b, Backup boot sector %u (usual)
  858. >>>>>>>50 uleshort <6 \b, Backup boot sector %u
  859. >>>>>>>54 ulelong >0 \b, reserved1 0x%x
  860. >>>>>>>58 ulelong >0 \b, reserved2 0x%x
  861. >>>>>>>62 ulelong >0 \b, reserved3 0x%x
  862. # same structure as FAT1X
  863. >>>>>>>64 ubyte >0x80 \b, physical drive 0x%x
  864. #>>>>>>>64 ubyte =0x80 \b, physical drive 0x%x=80 (usual harddisk)
  865. >>>>>>>64 ubyte&0x7F >0 \b, physical drive 0x%x
  866. #>>>>>>>64 ubyte =0 \b, physical drive 0x%x=0 (usual floppy)
  867. >>>>>>>65 ubyte >0 \b, reserved 0x%x
  868. >>>>>>>66 ubyte >0x29 \b, dos < 4.0 BootSector (0x%x)
  869. >>>>>>>66 ubyte <0x29 \b, dos < 4.0 BootSector (0x%x)
  870. >>>>>>>66 ubyte =0x29
  871. >>>>>>>>67 ulelong x \b, serial number 0x%x
  872. >>>>>>>>71 string <NO\ NAME \b, label: "%11.11s"
  873. >>>>>>>71 string >NO\ NAME \b, label: "%11.11s"
  874. >>>>>>>71 string =NO\ NAME \b, unlabeled
  875. ### FATs end
  876. >0x200 lelong 0x82564557 \b, BSD disklabel
  877. # FATX
  878. 0 string FATX FATX filesystem data
  879. # Minix filesystems - Juan Cespedes <cespedes@debian.org>
  880. 0x410 leshort 0x137f
  881. >0x402 beshort < 100 Minix filesystem, V1, %d zones
  882. >0x1e string minix \b, bootable
  883. 0x410 beshort 0x137f
  884. >0x402 beshort < 100 Minix filesystem, V1 (big endian), %d zones
  885. >0x1e string minix \b, bootable
  886. 0x410 leshort 0x138f
  887. >0x402 beshort < 100 Minix filesystem, V1, 30 char names, %d zones
  888. >0x1e string minix \b, bootable
  889. 0x410 beshort 0x138f
  890. >0x402 beshort < 100 Minix filesystem, V1, 30 char names (big endian), %d zones
  891. >0x1e string minix \b, bootable
  892. 0x410 leshort 0x2468
  893. >0x402 beshort < 100 Minix filesystem, V2, %d zones
  894. >0x1e string minix \b, bootable
  895. 0x410 beshort 0x2468
  896. >0x402 beshort < 100 Minix filesystem, V2 (big endian), %d zones
  897. >0x1e string minix \b, bootable
  898. 0x410 leshort 0x2478
  899. >0x402 beshort < 100 Minix filesystem, V2, 30 char names, %d zones
  900. >0x1e string minix \b, bootable
  901. 0x410 leshort 0x2478
  902. >0x402 beshort < 100 Minix filesystem, V2, 30 char names, %d zones
  903. >0x1e string minix \b, bootable
  904. 0x410 beshort 0x2478
  905. >0x402 beshort !0 Minix filesystem, V2, 30 char names (big endian), %d zones
  906. >0x1e string minix \b, bootable
  907. 0x410 leshort 0x4d5a
  908. >0x402 beshort !0 Minix filesystem, V3, %d zones
  909. >0x1e string minix \b, bootable
  910. # romfs filesystems - Juan Cespedes <cespedes@debian.org>
  911. 0 string -rom1fs- romfs filesystem, version 1
  912. >8 belong x %d bytes,
  913. >16 string x named %s.
  914. # netboot image - Juan Cespedes <cespedes@debian.org>
  915. 0 lelong 0x1b031336L Netboot image,
  916. >4 lelong&0xFFFFFF00 0
  917. >>4 lelong&0x100 0x000 mode 2
  918. >>4 lelong&0x100 0x100 mode 3
  919. >4 lelong&0xFFFFFF00 !0 unknown mode
  920. 0x18b string OS/2 OS/2 Boot Manager
  921. # updated by Joerg Jenderek at Oct 2008!!
  922. # http://syslinux.zytor.com/iso.php
  923. 0 ulelong 0x7c40eafa isolinux Loader
  924. # http://syslinux.zytor.com/pxe.php
  925. 0 ulelong 0x007c05ea pxelinux Loader
  926. 0 ulelong 0x60669c66 pxelinux Loader
  927. # added by Joerg Jenderek
  928. # In the second sector (+0x200) are variables according to grub-0.97/stage2/asm.S or
  929. # grub-1.94/kern/i386/pc/startup.S
  930. # http://www.gnu.org/software/grub/manual/grub.html#Embedded-data
  931. # usual values are marked with comments to get only informations of strange GRUB loaders
  932. 0x200 uleshort 0x70EA
  933. # found only version 3.{1,2}
  934. >0x206 ubeshort >0x0300
  935. # GRUB version (0.5.)95,0.93,0.94,0.96,0.97 > "00"
  936. >>0x212 ubyte >0x29
  937. >>>0x213 ubyte >0x29
  938. # not iso9660_stage1_5
  939. #>>>0 ulelong&0x00BE5652 0x00BE5652
  940. >>>>0x213 ubyte >0x29 GRand Unified Bootloader
  941. # config_file for stage1_5 is 0xffffffff + default "/boot/grub/stage2"
  942. >>>>0x217 ubyte 0xFF stage1_5
  943. >>>>0x217 ubyte <0xFF stage2
  944. >>>>0x206 ubyte x \b version %u
  945. >>>>0x207 ubyte x \b.%u
  946. # module_size for 1.94
  947. >>>>0x208 ulelong <0xffffff \b, installed partition %u
  948. #>>>>0x208 ulelong =0xffffff \b, %u (default)
  949. >>>>0x208 ulelong >0xffffff \b, installed partition %u
  950. # GRUB 0.5.95 unofficial
  951. >>>>0x20C ulelong&0x2E300000 0x2E300000
  952. # 0=stage2 1=ffs 2=e2fs 3=fat 4=minix 5=reiserfs
  953. >>>>>0x20C ubyte x \b, identifier 0x%x
  954. #>>>>>0x20D ubyte =0 \b, LBA flag 0x%x (default)
  955. >>>>>0x20D ubyte >0 \b, LBA flag 0x%x
  956. # GRUB version as string
  957. >>>>>0x20E string >\0 \b, GRUB version %-s
  958. # for stage1_5 is 0xffffffff + config_file "/boot/grub/stage2" default
  959. >>>>>>0x215 ulong 0xffffffff
  960. >>>>>>>0x219 string >\0 \b, configuration file %-s
  961. >>>>>>0x215 ulong !0xffffffff
  962. >>>>>>>0x215 string >\0 \b, configuration file %-s
  963. # newer GRUB versions
  964. >>>>0x20C ulelong&0x2E300000 !0x2E300000
  965. ##>>>>>0x20C ulelong =0 \b, saved entry %d (usual)
  966. >>>>>0x20C ulelong >0 \b, saved entry %d
  967. # for 1.94 contains kernel image size
  968. # for 0.93,0.94,0.96,0.97
  969. # 0=stage2 1=ffs 2=e2fs 3=fat 4=minix 5=reiserfs 6=vstafs 7=jfs 8=xfs 9=iso9660 a=ufs2
  970. >>>>>0x210 ubyte x \b, identifier 0x%x
  971. # The flag for LBA forcing is in most cases 0
  972. #>>>>>0x211 ubyte =0 \b, LBA flag 0x%x (default)
  973. >>>>>0x211 ubyte >0 \b, LBA flag 0x%x
  974. # GRUB version as string
  975. >>>>>0x212 string >\0 \b, GRUB version %-s
  976. # for stage1_5 is 0xffffffff + config_file "/boot/grub/stage2" default
  977. >>>>>0x217 ulong 0xffffffff
  978. >>>>>>0x21b string >\0 \b, configuration file %-s
  979. >>>>>0x217 ulong !0xffffffff
  980. >>>>>>0x217 string >\0 \b, configuration file %-s
  981. 9564 lelong 0x00011954 Unix Fast File system [v1] (little-endian),
  982. >8404 string x last mounted on %s,
  983. #>9504 ledate x last checked at %s,
  984. >8224 ledate x last written at %s,
  985. >8401 byte x clean flag %d,
  986. >8228 lelong x number of blocks %d,
  987. >8232 lelong x number of data blocks %d,
  988. >8236 lelong x number of cylinder groups %d,
  989. >8240 lelong x block size %d,
  990. >8244 lelong x fragment size %d,
  991. >8252 lelong x minimum percentage of free blocks %d,
  992. >8256 lelong x rotational delay %dms,
  993. >8260 lelong x disk rotational speed %drps,
  994. >8320 lelong 0 TIME optimization
  995. >8320 lelong 1 SPACE optimization
  996. 42332 lelong 0x19540119 Unix Fast File system [v2] (little-endian)
  997. >&-1164 string x last mounted on %s,
  998. >&-696 string >\0 volume name %s,
  999. >&-304 leqldate x last written at %s,
  1000. >&-1167 byte x clean flag %d,
  1001. >&-1168 byte x readonly flag %d,
  1002. >&-296 lequad x number of blocks %lld,
  1003. >&-288 lequad x number of data blocks %lld,
  1004. >&-1332 lelong x number of cylinder groups %d,
  1005. >&-1328 lelong x block size %d,
  1006. >&-1324 lelong x fragment size %d,
  1007. >&-180 lelong x average file size %d,
  1008. >&-176 lelong x average number of files in dir %d,
  1009. >&-272 lequad x pending blocks to free %lld,
  1010. >&-264 lelong x pending inodes to free %ld,
  1011. >&-664 lequad x system-wide uuid %0llx,
  1012. >&-1316 lelong x minimum percentage of free blocks %d,
  1013. >&-1248 lelong 0 TIME optimization
  1014. >&-1248 lelong 1 SPACE optimization
  1015. 66908 lelong 0x19540119 Unix Fast File system [v2] (little-endian)
  1016. >&-1164 string x last mounted on %s,
  1017. >&-696 string >\0 volume name %s,
  1018. >&-304 leqldate x last written at %s,
  1019. >&-1167 byte x clean flag %d,
  1020. >&-1168 byte x readonly flag %d,
  1021. >&-296 lequad x number of blocks %lld,
  1022. >&-288 lequad x number of data blocks %lld,
  1023. >&-1332 lelong x number of cylinder groups %d,
  1024. >&-1328 lelong x block size %d,
  1025. >&-1324 lelong x fragment size %d,
  1026. >&-180 lelong x average file size %d,
  1027. >&-176 lelong x average number of files in dir %d,
  1028. >&-272 lequad x pending blocks to free %lld,
  1029. >&-264 lelong x pending inodes to free %ld,
  1030. >&-664 lequad x system-wide uuid %0llx,
  1031. >&-1316 lelong x minimum percentage of free blocks %d,
  1032. >&-1248 lelong 0 TIME optimization
  1033. >&-1248 lelong 1 SPACE optimization
  1034. 9564 belong 0x00011954 Unix Fast File system [v1] (big-endian),
  1035. >7168 belong 0x4c41424c Apple UFS Volume
  1036. >>7186 string x named %s,
  1037. >>7176 belong x volume label version %d,
  1038. >>7180 bedate x created on %s,
  1039. >8404 string x last mounted on %s,
  1040. #>9504 bedate x last checked at %s,
  1041. >8224 bedate x last written at %s,
  1042. >8401 byte x clean flag %d,
  1043. >8228 belong x number of blocks %d,
  1044. >8232 belong x number of data blocks %d,
  1045. >8236 belong x number of cylinder groups %d,
  1046. >8240 belong x block size %d,
  1047. >8244 belong x fragment size %d,
  1048. >8252 belong x minimum percentage of free blocks %d,
  1049. >8256 belong x rotational delay %dms,
  1050. >8260 belong x disk rotational speed %drps,
  1051. >8320 belong 0 TIME optimization
  1052. >8320 belong 1 SPACE optimization
  1053. 42332 belong 0x19540119 Unix Fast File system [v2] (big-endian)
  1054. >&-1164 string x last mounted on %s,
  1055. >&-696 string >\0 volume name %s,
  1056. >&-304 beqldate x last written at %s,
  1057. >&-1167 byte x clean flag %d,
  1058. >&-1168 byte x readonly flag %d,
  1059. >&-296 bequad x number of blocks %lld,
  1060. >&-288 bequad x number of data blocks %lld,
  1061. >&-1332 belong x number of cylinder groups %d,
  1062. >&-1328 belong x block size %d,
  1063. >&-1324 belong x fragment size %d,
  1064. >&-180 belong x average file size %d,
  1065. >&-176 belong x average number of files in dir %d,
  1066. >&-272 bequad x pending blocks to free %lld,
  1067. >&-264 belong x pending inodes to free %ld,
  1068. >&-664 bequad x system-wide uuid %0llx,
  1069. >&-1316 belong x minimum percentage of free blocks %d,
  1070. >&-1248 belong 0 TIME optimization
  1071. >&-1248 belong 1 SPACE optimization
  1072. 66908 belong 0x19540119 Unix Fast File system [v2] (big-endian)
  1073. >&-1164 string x last mounted on %s,
  1074. >&-696 string >\0 volume name %s,
  1075. >&-304 beqldate x last written at %s,
  1076. >&-1167 byte x clean flag %d,
  1077. >&-1168 byte x readonly flag %d,
  1078. >&-296 bequad x number of blocks %lld,
  1079. >&-288 bequad x number of data blocks %lld,
  1080. >&-1332 belong x number of cylinder groups %d,
  1081. >&-1328 belong x block size %d,
  1082. >&-1324 belong x fragment size %d,
  1083. >&-180 belong x average file size %d,
  1084. >&-176 belong x average number of files in dir %d,
  1085. >&-272 bequad x pending blocks to free %lld,
  1086. >&-264 belong x pending inodes to free %ld,
  1087. >&-664 bequad x system-wide uuid %0llx,
  1088. >&-1316 belong x minimum percentage of free blocks %d,
  1089. >&-1248 belong 0 TIME optimization
  1090. >&-1248 belong 1 SPACE optimization
  1091. # ext2/ext3 filesystems - Andreas Dilger <adilger@dilger.ca>
  1092. # ext4 filesystem - Eric Sandeen <sandeen@sandeen.net>
  1093. 0x438 leshort 0xEF53 Linux
  1094. >0x44c lelong x rev %d
  1095. >0x43e leshort x \b.%d
  1096. # No journal? ext2
  1097. >0x45c lelong ^0x0000004 ext2 filesystem data
  1098. >>0x43a leshort ^0x0000001 (mounted or unclean)
  1099. # Has a journal? ext3 or ext4
  1100. >0x45c lelong &0x0000004
  1101. # and small INCOMPAT?
  1102. >>0x460 lelong <0x0000040
  1103. # and small RO_COMPAT?
  1104. >>>0x464 lelong <0x0000008 ext3 filesystem data
  1105. # else large RO_COMPAT?
  1106. >>>0x464 lelong >0x0000007 ext4 filesystem data
  1107. # else large INCOMPAT?
  1108. >>0x460 lelong >0x000003f ext4 filesystem data
  1109. # General flags for any ext* fs
  1110. >0x460 lelong &0x0000004 (needs journal recovery)
  1111. >0x43a leshort &0x0000002 (errors)
  1112. # INCOMPAT flags
  1113. >0x460 lelong &0x0000001 (compressed)
  1114. #>0x460 lelong &0x0000002 (filetype)
  1115. #>0x460 lelong &0x0000010 (meta bg)
  1116. >0x460 lelong &0x0000040 (extents)
  1117. >0x460 lelong &0x0000080 (64bit)
  1118. #>0x460 lelong &0x0000100 (mmp)
  1119. #>0x460 lelong &0x0000200 (flex bg)
  1120. # RO_INCOMPAT flags
  1121. #>0x464 lelong &0x0000001 (sparse super)
  1122. >0x464 lelong &0x0000002 (large files)
  1123. >0x464 lelong &0x0000008 (huge files)
  1124. #>0x464 lelong &0x0000010 (gdt checksum)
  1125. #>0x464 lelong &0x0000020 (many subdirs)
  1126. #>0x463 lelong &0x0000040 (extra isize)
  1127. # SGI disk labels - Nathan Scott <nathans@debian.org>
  1128. 0 belong 0x0BE5A941 SGI disk label (volume header)
  1129. # SGI XFS filesystem - Nathan Scott <nathans@debian.org>
  1130. 0 belong 0x58465342 SGI XFS filesystem data
  1131. >0x4 belong x (blksz %d,
  1132. >0x68 beshort x inosz %d,
  1133. >0x64 beshort ^0x2004 v1 dirs)
  1134. >0x64 beshort &0x2004 v2 dirs)
  1135. ############################################################################
  1136. # Minix-ST kernel floppy
  1137. 0x800 belong 0x46fc2700 Atari-ST Minix kernel image
  1138. >19 string \240\5\371\5\0\011\0\2\0 \b, 720k floppy
  1139. >19 string \320\2\370\5\0\011\0\1\0 \b, 360k floppy
  1140. ############################################################################
  1141. # Hmmm, is this a better way of detecting _standard_ floppy images ?
  1142. 19 string \320\2\360\3\0\011\0\1\0 DOS floppy 360k
  1143. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1144. 19 string \240\5\371\3\0\011\0\2\0 DOS floppy 720k
  1145. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1146. 19 string \100\013\360\011\0\022\0\2\0 DOS floppy 1440k
  1147. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1148. 19 string \240\5\371\5\0\011\0\2\0 DOS floppy 720k, IBM
  1149. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1150. 19 string \100\013\371\5\0\011\0\2\0 DOS floppy 1440k, mkdosfs
  1151. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1152. 19 string \320\2\370\5\0\011\0\1\0 Atari-ST floppy 360k
  1153. 19 string \240\5\371\5\0\011\0\2\0 Atari-ST floppy 720k
  1154. # Valid media descriptor bytes for MS-DOS:
  1155. #
  1156. # Byte Capacity Media Size and Type
  1157. # -------------------------------------------------
  1158. #
  1159. # F0 2.88 MB 3.5-inch, 2-sided, 36-sector
  1160. # F0 1.44 MB 3.5-inch, 2-sided, 18-sector
  1161. # F9 720K 3.5-inch, 2-sided, 9-sector
  1162. # F9 1.2 MB 5.25-inch, 2-sided, 15-sector
  1163. # FD 360K 5.25-inch, 2-sided, 9-sector
  1164. # FF 320K 5.25-inch, 2-sided, 8-sector
  1165. # FC 180K 5.25-inch, 1-sided, 9-sector
  1166. # FE 160K 5.25-inch, 1-sided, 8-sector
  1167. # FE 250K 8-inch, 1-sided, single-density
  1168. # FD 500K 8-inch, 2-sided, single-density
  1169. # FE 1.2 MB 8-inch, 2-sided, double-density
  1170. # F8 ----- Fixed disk
  1171. #
  1172. # FC xxxK Apricot 70x1x9 boot disk.
  1173. #
  1174. # Originally a bitmap:
  1175. # xxxxxxx0 Not two sided
  1176. # xxxxxxx1 Double sided
  1177. # xxxxxx0x Not 8 SPT
  1178. # xxxxxx1x 8 SPT
  1179. # xxxxx0xx Not Removable drive
  1180. # xxxxx1xx Removable drive
  1181. # 11111xxx Must be one.
  1182. #
  1183. # But now it's rather random:
  1184. # 111111xx Low density disk
  1185. # 00 SS, Not 8 SPT
  1186. # 01 DS, Not 8 SPT
  1187. # 10 SS, 8 SPT
  1188. # 11 DS, 8 SPT
  1189. #
  1190. # 11111001 Double density 3½ floppy disk, high density 5¼
  1191. # 11110000 High density 3½ floppy disk
  1192. # 11111000 Hard disk any format
  1193. #
  1194. # CDROM Filesystems
  1195. # Modified for UDF by gerardo.cacciari@gmail.com
  1196. 32769 string CD001
  1197. !:mime application/x-iso9660-image
  1198. >38913 string !NSR0 ISO 9660 CD-ROM filesystem data
  1199. >38913 string NSR0 UDF filesystem data
  1200. >>38917 string 1 (version 1.0)
  1201. >>38917 string 2 (version 1.5)
  1202. >>38917 string 3 (version 2.0)
  1203. >>38917 byte >0x33 (unknown version, ID 0x%X)
  1204. >>38917 byte <0x31 (unknown version, ID 0x%X)
  1205. # "application id" which appears to be used as a volume label
  1206. >32808 string >\0 '%s'
  1207. >34816 string \000CD001\001EL\ TORITO\ SPECIFICATION (bootable)
  1208. 37633 string CD001 ISO 9660 CD-ROM filesystem data (raw 2352 byte sectors)
  1209. !:mime application/x-iso9660-image
  1210. 32776 string CDROM High Sierra CD-ROM filesystem data
  1211. # .cso files
  1212. 0 string CISO Compressed ISO CD image
  1213. # cramfs filesystem - russell@coker.com.au
  1214. 0 lelong 0x28cd3d45 Linux Compressed ROM File System data, little endian
  1215. >4 lelong x size %lu
  1216. >8 lelong &1 version #2
  1217. >8 lelong &2 sorted_dirs
  1218. >8 lelong &4 hole_support
  1219. >32 lelong x CRC 0x%x,
  1220. >36 lelong x edition %lu,
  1221. >40 lelong x %lu blocks,
  1222. >44 lelong x %lu files
  1223. 0 belong 0x28cd3d45 Linux Compressed ROM File System data, big endian
  1224. >4 belong x size %lu
  1225. >8 belong &1 version #2
  1226. >8 belong &2 sorted_dirs
  1227. >8 belong &4 hole_support
  1228. >32 belong x CRC 0x%x,
  1229. >36 belong x edition %lu,
  1230. >40 belong x %lu blocks,
  1231. >44 belong x %lu files
  1232. # reiserfs - russell@coker.com.au
  1233. 0x10034 string ReIsErFs ReiserFS V3.5
  1234. 0x10034 string ReIsEr2Fs ReiserFS V3.6
  1235. >0x1002c leshort x block size %d
  1236. >0x10032 leshort &2 (mounted or unclean)
  1237. >0x10000 lelong x num blocks %d
  1238. >0x10040 lelong 1 tea hash
  1239. >0x10040 lelong 2 yura hash
  1240. >0x10040 lelong 3 r5 hash
  1241. # JFFS - russell@coker.com.au
  1242. 0 lelong 0x34383931 Linux Journalled Flash File system, little endian
  1243. 0 belong 0x34383931 Linux Journalled Flash File system, big endian
  1244. # EST flat binary format (which isn't, but anyway)
  1245. # From: Mark Brown <broonie@sirena.org.uk>
  1246. 0 string ESTFBINR EST flat binary
  1247. # Aculab VoIP firmware
  1248. # From: Mark Brown <broonie@sirena.org.uk>
  1249. 0 string VoIP\ Startup\ and Aculab VoIP firmware
  1250. >35 string x format %s
  1251. # From: Mark Brown <broonie@sirena.org.uk> [old]
  1252. # From: Behan Webster <behanw@websterwood.com>
  1253. 0 belong 0x27051956 u-boot legacy uImage,
  1254. >32 string x %s,
  1255. >28 byte 0 Invalid os/
  1256. >28 byte 1 OpenBSD/
  1257. >28 byte 2 NetBSD/
  1258. >28 byte 3 FreeBSD/
  1259. >28 byte 4 4.4BSD/
  1260. >28 byte 5 Linux/
  1261. >28 byte 6 SVR4/
  1262. >28 byte 7 Esix/
  1263. >28 byte 8 Solaris/
  1264. >28 byte 9 Irix/
  1265. >28 byte 10 SCO/
  1266. >28 byte 11 Dell/
  1267. >28 byte 12 NCR/
  1268. >28 byte 13 LynxOS/
  1269. >28 byte 14 VxWorks/
  1270. >28 byte 15 pSOS/
  1271. >28 byte 16 QNX/
  1272. >28 byte 17 Firmware/
  1273. >28 byte 18 RTEMS/
  1274. >28 byte 19 ARTOS/
  1275. >28 byte 20 Unity OS/
  1276. >28 byte 21 INTEGRITY/
  1277. >29 byte 0 \bInvalid CPU,
  1278. >29 byte 1 \bAlpha,
  1279. >29 byte 2 \bARM,
  1280. >29 byte 3 \bIntel x86,
  1281. >29 byte 4 \bIA64,
  1282. >29 byte 5 \bMIPS,
  1283. >29 byte 6 \bMIPS 64-bit,
  1284. >29 byte 7 \bPowerPC,
  1285. >29 byte 8 \bIBM S390,
  1286. >29 byte 9 \bSuperH,
  1287. >29 byte 10 \bSparc,
  1288. >29 byte 11 \bSparc 64-bit,
  1289. >29 byte 12 \bM68K,
  1290. >29 byte 13 \bNios-32,
  1291. >29 byte 14 \bMicroBlaze,
  1292. >29 byte 15 \bNios-II,
  1293. >29 byte 16 \bBlackfin,
  1294. >29 byte 17 \bAVR32,
  1295. >29 byte 18 \bSTMicroelectronics ST200,
  1296. >30 byte 0 Invalid Image
  1297. >30 byte 1 Standalone Program
  1298. >30 byte 2 OS Kernel Image
  1299. >30 byte 3 RAMDisk Image
  1300. >30 byte 4 Multi-File Image
  1301. >30 byte 5 Firmware Image
  1302. >30 byte 6 Script File
  1303. >30 byte 7 Filesystem Image (any type)
  1304. >30 byte 8 Binary Flat Device Tree BLOB
  1305. >31 byte 0 (Not compressed),
  1306. >31 byte 1 (gzip),
  1307. >31 byte 2 (bzip2),
  1308. >31 byte 3 (lzma),
  1309. >12 belong x %d bytes,
  1310. >8 bedate x %s,
  1311. >16 belong x Load Address: 0x%08X,
  1312. >20 belong x Entry Point: 0x%08X,
  1313. >4 belong x Header CRC: 0x%08X,
  1314. >24 belong x Data CRC: 0x%08X
  1315. # JFFS2 file system
  1316. 0 leshort 0x1984 Linux old jffs2 filesystem data little endian
  1317. 0 leshort 0x1985 Linux jffs2 filesystem data little endian
  1318. # Squashfs
  1319. 0 string sqsh Squashfs filesystem, big endian,
  1320. >28 beshort x version %d.
  1321. >30 beshort x \b%d,
  1322. >28 beshort <3
  1323. >>8 belong x %d bytes,
  1324. >28 beshort >2
  1325. >>63 bequad x %lld bytes,
  1326. #>>67 belong x %d bytes,
  1327. >4 belong x %d inodes,
  1328. >28 beshort <2
  1329. >>32 beshort x blocksize: %d bytes,
  1330. >28 beshort >1
  1331. >>51 belong x blocksize: %d bytes,
  1332. >39 bedate x created: %s
  1333. 0 string hsqs Squashfs filesystem, little endian,
  1334. >28 leshort x version %d.
  1335. >30 leshort x \b%d,
  1336. >28 leshort <3
  1337. >>8 lelong x %d bytes,
  1338. >28 leshort >2
  1339. >>63 lequad x %lld bytes,
  1340. #>>63 lelong x %d bytes,
  1341. >4 lelong x %d inodes,
  1342. >28 leshort <2
  1343. >>32 leshort x blocksize: %d bytes,
  1344. >28 leshort >1
  1345. >>51 lelong x blocksize: %d bytes,
  1346. >39 ledate x created: %s
  1347. 0 string td\000 floppy image data (TeleDisk)
  1348. # AFS Dump Magic
  1349. # From: Ty Sarna <tsarna@sarna.org>
  1350. 0 string \x01\xb3\xa1\x13\x22 AFS Dump
  1351. >&0 belong x (v%d)
  1352. >>&0 byte 0x76
  1353. >>>&0 belong x Vol %d,
  1354. >>>>&0 byte 0x6e
  1355. >>>>>&0 string x %s
  1356. >>>>>>&1 byte 0x74
  1357. >>>>>>>&0 beshort 2
  1358. >>>>>>>>&4 bedate x on: %s
  1359. >>>>>>>>&0 bedate =0 full dump
  1360. >>>>>>>>&0 bedate !0 incremental since: %s
  1361. #----------------------------------------------------------
  1362. #delta ISO Daniel Novotny (dnovotny@redhat.com)
  1363. 0 string DISO Delta ISO data
  1364. >4 belong x version %d
  1365. # VMS backup savesets - gerardo.cacciari@gmail.com
  1366. #
  1367. 4 string \x01\x00\x01\x00\x01\x00
  1368. >(0.s+16) string \x01\x01
  1369. >>&(&0.b+8) byte 0x42 OpenVMS backup saveset data
  1370. >>>40 lelong x (block size %d,
  1371. >>>49 string >\0 original name '%s',
  1372. >>>2 short 1024 VAX generated)
  1373. >>>2 short 2048 AXP generated)
  1374. >>>2 short 4096 I64 generated)
  1375. # Summary: Oracle Clustered Filesystem
  1376. # Created by: Aaron Botsis <redhat@digitalmafia.org>
  1377. 8 string OracleCFS Oracle Clustered Filesystem,
  1378. >4 long x rev %d
  1379. >0 long x \b.%d,
  1380. >560 string x label: %.64s,
  1381. >136 string x mountpoint: %.128s
  1382. # Summary: Oracle ASM tagged volume
  1383. # Created by: Aaron Botsis <redhat@digitalmafia.org>
  1384. 32 string ORCLDISK Oracle ASM Volume,
  1385. >40 string x Disk Name: %0.12s
  1386. 32 string ORCLCLRD Oracle ASM Volume (cleared),
  1387. >40 string x Disk Name: %0.12s
  1388. # Oracle Clustered Filesystem - Aaron Botsis <redhat@digitalmafia.org>
  1389. 8 string OracleCFS Oracle Clustered Filesystem,
  1390. >4 long x rev %d
  1391. >0 long x \b.%d,
  1392. >560 string x label: %.64s,
  1393. >136 string x mountpoint: %.128s
  1394. # Oracle ASM tagged volume - Aaron Botsis <redhat@digitalmafia.org>
  1395. 32 string ORCLDISK Oracle ASM Volume,
  1396. >40 string x Disk Name: %0.12s
  1397. 32 string ORCLCLRD Oracle ASM Volume (cleared),
  1398. >40 string x Disk Name: %0.12s
  1399. # Compaq/HP RILOE floppy image
  1400. # From: Dirk Jagdmann <doj@cubic.org>
  1401. 0 string CPQRFBLO Compaq/HP RILOE floppy image
  1402. #------------------------------------------------------------------------------
  1403. # Files-11 On-Disk Structure (OpenVMS file system) - gerardo.cacciari@gmail.com
  1404. # These bits come from LBN 1 (home block) of ODS-2 and ODS-5 volumes, which is
  1405. # mapped to VBN 2 of [000000]INDEXF.SYS;1
  1406. #
  1407. 1008 string DECFILE11B Files-11 On-Disk Structure
  1408. >525 byte x Level %d
  1409. >525 byte x (ODS-%d OpenVMS file system),
  1410. >984 string x volume label is '%-12.12s'
  1411. # From: Thomas Klausner <wiz@NetBSD.org>
  1412. # http://filext.com/file-extension/DAA
  1413. # describes the daa file format. The magic would be:
  1414. 0 string DAA\x0\x0\x0\x0\x0 PowerISO Direct-Access-Archive
  1415. # From Albert Cahalan <acahalan@gmail.com>
  1416. # really le32 operation,destination,payloadsize (but quite predictable)
  1417. # 01 00 00 00 00 00 00 c0 00 02 00 00
  1418. 0 string \1\0\0\0\0\0\0\300\0\2\0\0 Marvell Libertas firmware
  1419. # From Eric Sandeen
  1420. # GFS2
  1421. 0x10000 belong 0x01161970 GFS2 Filesystem
  1422. >0x10024 belong x (blocksize %d,
  1423. >0x10060 string >\0 lockproto %s)
  1424. # BTRFS
  1425. 0x10040 string _BHRfS_M BTRFS Filesystem
  1426. >0x1012b string >\0 (label "%s",
  1427. >0x10090 lelong x sectorsize %d,
  1428. >0x10094 lelong x nodesize %d,
  1429. >0x10098 lelong x leafsize %d)
  1430. # dvdisaster's .ecc
  1431. # From: "Nelson A. de Oliveira" <naoliv@gmail.com>
  1432. 0 string *dvdisaster* dvdisaster error correction file
  1433. # xfs metadump image
  1434. # mb_magic XFSM at 0; superblock magic XFSB at 1 << mb_blocklog
  1435. # but can we do the << ? For now it's always 512 (0x200) anyway.
  1436. 0 string XFSM
  1437. >0x200 string XFSB XFS filesystem metadump image