osask吧 关注:81贴子:247
  • 2回复贴,共1

U盘引导的相关资料

只看楼主收藏回复

http://bbs.pediy.com/showthread.php?t=173869
关于USB模拟成软驱启动
如果运气好的话,U盘引导的操作系统其实很容易就完成了。例如,将系统的软盘映像haribote.img (osask项目里)用winhex直接复制到U盘的第一扇区开始的地方,U盘引导盘就完成了。cpu会用软驱模拟器启动USB,因此此模式下USB的读写和软盘相同。
通过实验,在我的Dell一体机里,可以成功引导并进入系统,和在虚拟机里看到的效果一样,可以响应键盘输入,但遗憾的是鼠标不能移动了(why?) ; 而在我的Thinkpad T410 笔记本里却引导失败(能进入引导程序,但加载系统失败,估计读写出了问题,难道启动USB的时候用的是硬盘模拟器而不是软盘模拟器?)。
/*****************************************/
相关资料:
http://board.flatassembler.net/topic.php?t=12389
摘录
USB Booting Secret #2: What happens in the boot sector, stays in the boot sector!
When it comes to USB booting there are basically 4 types of computers:
PC without USB, or with USB and can't boot USB because of old BIOS firmware. ;不支持USB启动
PC that always boots USB with floppy disk emulation. ;总是以软驱模拟器引导
PC that always boots USB with hard drive emulation. ;总是以硬盘驱动器模拟器引导
PC that examines the boot sector to determine the type of emulation and/or with BIOS selection setup.;根据BIOS的设置来决定模拟器类型
相关资料
A simple FAT32 bootloader written in assembly to boot from USB drives.
http://blog.ishans.info/2012/01/19/a-simple-fat32-bootloader-written-in-assembly-to-boot-from-usb-drives/
相关资料
http://board.flatassembler.net/topic.php?t=12469
http://mbldr.sourceforge.net/specsedd30.pdf
摘录
USB Booting Secret # 3: If the PC can boot from USB, you can use the BIOS to access the entire flash drive.
Interrupt 13h, ah=42h Extended Read and ah=43h Extended Write can be used for USB flash drive LBA access.


IP属地:江苏1楼2013-06-28 11:52回复
    关注


    IP属地:福建3楼2014-04-29 21:47
    回复
      直接用模拟机不行吗??


      IP属地:山东来自Android客户端4楼2015-02-07 17:00
      回复