[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mkdosfs patch to enable booting



This patch makes mkdosfs accept a new option "-B" that allows it to make a
bootable partition.   Requires that you give the filename of a file
containing valid boot sector as an argument to -B.  Will work if you give
a bootable partition as argument.

EG:
mkdosfs -F 16 -B bootsect.fat16 /dev/sda1
mkdosfs -F 32 -B bootsect.fat32 /dev/sda1
or to keep current boot code...
mkdosfs -F 32 -B /dev/sda1 /dev/sda1


NOTE: sent to redhat binutils list as it seemed to be the closest to the
proper list.  There seems to be no real maintainer for mkdosfs anymore...

Sam

Attachment: dosfstools-2.8-bootcode.patch
Description: Binary data

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: