我觉得把MBR重写就行了。DiskGen用的DOS是freedos。那看来USBoot就用的是ms-dos了。
不过,在一些buggy(有很多bug)的主板上,通过msdos启动时,U盘可能无法正常访问,而用freedos却正常,因为MSDOS不支持LBA方式访问U盘,而freedos却支持。
详见这个帖子中的讨论:
http://bbs.znpc.net/viewthread.php?tid=5335&page=3&fromuid=16#pid32951
重写MBR的方法:你可以用WinHex之类的工具手动编辑,也可以用Diskgen for Windows重写主引导记录(这个操作应该总是安全的)。也可以将U盘全盘当作VMware虚拟机的硬盘(将真实物理盘当作VM的硬盘使用),然后在虚拟机中启动到DOS下,使用fdisk /mbr重写,总之方法很多,看你怎么方便怎么发挥了。
Last edited by Climbing on 2008-11-17 at 16:57 ]
I think rewriting the MBR is enough. The DOS used by DiskGen is freedos. Then it seems that USBoot uses ms-dos.
However, on some buggy (with many bugs) motherboards, when booting with msdos, the USB flash drive may not be accessed normally, but it works normally with freedos, because MSDOS does not support LBA mode to access the USB flash drive, while freedos does.
See the discussion in this post:
http://bbs.znpc.net/viewthread.php?tid=5335&page=3&fromuid=16#pid32951
Methods to rewrite the MBR: You can manually edit with tools like WinHex, or use Diskgen for Windows to rewrite the master boot record (this operation should always be safe). You can also treat the entire USB flash drive as the hard disk of a VMware virtual machine (treating the real physical disk as the hard disk of the VM), and then boot into DOS in the virtual machine, and use fdisk /mbr to rewrite. In short, there are many methods, depending on which is convenient for you to play.
Last edited by Climbing on 2008-11-17 at 16:57 ]