Hi!

> Why not use SYS? It does this (although not like dd.)
> SYS writes the FreeDOS boot to MBR.

No - SYS writes to the boot sector of the partition.
It NEVER writes to the MBR. The SYS of other DOS and
Win9x never write the MBR either, but for example the
FIXMBR tool of Windows does write the MBR...

If you want to read/write the MBR, you can for example
use FreeDOS FDISK. It does not only let you edit the
partitioning manually, but it also features a variety
of script-controlled commands, including backup and
restore of the MBR :-). Please use FDISK 1.3.1 or newer,
as previous versions sometimes tried to recover from
problems by deleting the whole partition table without
first asking the user!

www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/fdisk/

Eric

PS: Note that because SYS only takes care of the boot
sector, you can only boot primary partitions marked as
bootable directly. However, boot menus can help you to
invoke DOS boot sectors on other locations as well :-)




------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to