newfs_msdos bootstrap file

Henrik W Lund henrik.w.lund at broadpark.no
Sun Aug 29 09:55:03 PDT 2004


Matthew Crowe wrote:

> Hi All,
>
> In the newfs_msdos(8) man page, there is a -B option to add a 
> bootstrap from a file.  How do you generate this bootstrap?
>
> I wanted to make a FAT32 filesystem that Windows or Dos could boot, 
> from freebsd.  Newfs_msdos creates the filesystem just fine.. it just 
> won't boot anything :)
>
> Thanks,
> Matt 

Greetings!

Have you tried the file /boot/mbr or even /boot/boot0? These files are 
"boot code", so why not try them?

I may be totally off here, but hey - nothing ventured, nothing gained, 
eh? ;-)

-Henrik W Lund


More information about the freebsd-questions mailing list