grub4dos-0.4.6a-2014-11-19.7z
发表于更新信息(update log):
- (tinybit) fix a bug that erroneously hooked/unhooked non-fb drives. @chenall
- Update readme doc @chenall
delmod -l XXX 改成返回该模块所在内存的起始位置.
delmod -l XXX 改成返回该模块所在内存的起始位置.
add autogen/bootstrap @Pete Batard
Note: ONLY configure.ac and stage2/Makefile.am were manually modified.
The other files were generated by autotools.
dosstart.S:1356: Warning: using %ax' instead of%eax’ due to `w’ suffix
%ax' instead of%eax’ due to `w’ suffixchar_io.c:283:7: warning: pointer targets in assignment differ in signedness
add autogen/bootstrap @Pete Batard
Note: ONLY configure.ac and stage2/Makefile.am were manually modified.
The other files were generated by autotools.
dosstart.S:1356: Warning: using %ax' instead of%eax’ due to `w’ suffix
%ax' instead of%eax’ due to `w’ suffixchar_io.c:283:7: warning: pointer targets in assignment differ in signedness
支持直访问某个内存区域(md,BASE,SIZE),以字节为单位. @chenall
比如在内存块0x887700长度0x51200是一个软盘镜像,则可以使用如下方式快速访问
ls (md,0x887700,0x51200)/
如果是硬盘镜像,也可以直接访问硬盘分区.
ls (md,0x887700,0x51200,0)/
支持直访问某个内存区域(md,BASE,SIZE),以字节为单位. @chenall
比如在内存块0x887700长度0x51200是一个软盘镜像,则可以使用如下方式快速访问
ls (md,0x887700,0x51200)/
如果是硬盘镜像,也可以直接访问硬盘分区.
ls (md,0x887700,0x51200,0)/
支持读写initrdfs(cpio new format)内部文件.
例子,访问initrd.gz文件里面的文件内容(可以查看修改哦)
也可以利用这个来动态修改initrd的启动脚本实现一些特殊功能,当然了目前还是不能改变文件大小.
map /inirtd.gz (rd)
ls (rd)/
initrd 多个文件时可以生成cpio new格式.
initrd @name=FILE @name1=FILE1
如下例子可以通过WIMBOOT启动WIM文件
kernel /wimboot
initrd @bcd=/boot/bcd @boot.sdi=/boot/boot.sdi @bootmgr=/boot/bootmgr @boot.wim=/boot/boot.wim