Jump to content

- - - - -

Grub4dos "vol" command and label (and label)

  • Please log in to reply
No replies to this topic

#1 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15106 posts
  • Location:The Outside of the Asylum (gate is closed)

Posted 4 weeks ago

Only for information, it just came out that the "vol" command of recent grub4dos behaves like the "label" command of XP (and later) and unlike the "label" command of DOS/Win9x.



  1. DOS/Win9x label command BOTH creates a "special entry" in the filesystem (in root directory for FAT12/16) with attribute 0x28 AND changes the label in the bootsector (11 character field, [SPACE] aka 0x20 padded at offset 0x2B)  
  2. NT based systems (surely 2K/XP, probably also NT 3.x/4) ONLY creates a "special entry" in the filesystem (in root directory for FAT12/16) BUT with attribute 0x08 instead

Seemingly grub4dos vol --write command behaves like #2 above.


More info here:


and (tangentially) here:



This is NOT a "bug", only a characteristic, though it would be nice if in a next release of grub4dos a "modifier" to the vol command could be added to emulate (optionally) the DOS/Win9x behaviour, i.e. besides the:


 there could be an additional 

and/or a

attr_type=0x08 | 0x28




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users