Skip to content

Commit

Permalink
. 使用 bootlace.com 安装 grldr.mbr 到 gpt 分区类型的设备。
Browse files Browse the repository at this point in the history
  • Loading branch information
yaya committed Sep 23, 2014
1 parent 99f65af commit cc53a00
Show file tree
Hide file tree
Showing 7 changed files with 379 additions and 159 deletions.
7 changes: 4 additions & 3 deletions ChangeLog_chenall.txt
@@ -1,7 +1,8 @@
更新说明:

2014-09-02(yaya)
2014-09-23(yaya)
1.使用 bootlace.com 安装 grldr.mbr 到 gpt 分区类型的设备。

2014-09-02(yaya)
1.ext4 分区支持 64 位功能,支持元块组。
2.grldr头部、grldr.mbr 支持搜索 gpt 分区的 grldr。
3.修正了 bootlace。
Expand Down Expand Up @@ -53,7 +54,7 @@
2.支持有碎片的文件仿真,最多 8 个片段。占用 11Kb - 13Kb 内存(由是否加载光驱确定)。
3.支持 WinXP 系统的短文件名小写。根据短文件名偏移 0x0c 处:位 3=1 表示文件名小写,位 4=1 表示文件扩展名小写。
4.可以正确识别 mkisofs 2.00/2.01 生成有 bug 的 Joliet 格式光盘。

2013-10-18
1.新增功能类似CMD的PATHEXT,可以设置默认的扩展名。
使用command --set-ext设置,每个扩展名使用";"分隔
Expand Down
2 changes: 2 additions & 0 deletions README_GRUB4DOS.txt
Expand Up @@ -1233,6 +1233,8 @@ OPTIONS:
--install-partition=I Install the boot record onto the boot area of
partition number I of the specified hard drive
or harddrive image DEVICE_OR_FILE.

--gpt Install the grldr.mbr to the GPT partition type device.

DEVICE_OR_FILE: Filename of the device or the image file. For DOS, a BIOS drive
number(hex 0xHH or decimal DDD) can be used to access the drive. BIOS drive
Expand Down
2 changes: 2 additions & 0 deletions README_GRUB4DOS_CN.txt
Expand Up @@ -1121,6 +1121,8 @@ BOOTLACE.COM 能将GRLDR的引导记录安装到硬盘驱动器或硬盘映像

--install-partition=I 将引导记录安装到指定的硬盘驱动器或硬盘映像(设备或文件)
的第 I 号分区的引导区中。

--gpt 安装 grldr.mbr 到 gpt 分区类型的设备。


DEVICE_OR_FILE: 设备或者映像文件的文件名。对于DOS,BIOS驱动器号(两位的十六进制
Expand Down
4 changes: 2 additions & 2 deletions stage2/Makefile.am
Expand Up @@ -127,8 +127,8 @@ bootlace.com: bootlacestart #Note: S
-rm -f bootlace.com
-rm -f grldr.pbr
cp bootlacestart bootlace.com && chmod a+x bootlace.com
dd if=bootlace.com of=grldr.pbr bs=512 skip=54 count=10 #skip(1): "EB 58 90 00" position in the bootlace.com redress: skip +(-) 1
dd if=bootlace.com of=grldr_cd.bin bs=512 skip=64 count=1 #skip(2): = skip(1) + 10
dd if=bootlace.com of=grldr.pbr bs=512 skip=56 count=10 #skip(1): "EB 58 90 00" position in the bootlace.com redress: skip +(-) 1
dd if=bootlace.com of=grldr_cd.bin bs=512 skip=66 count=1 #skip(2): = skip(1) + 10
cat grldr.mbr >> bootlace.com

hmloadstart_exec_SOURCES = hmloadstart.S
Expand Down
4 changes: 2 additions & 2 deletions stage2/Makefile.in
Expand Up @@ -1405,8 +1405,8 @@ bootlace.com: bootlacestart #Note: Sync
-rm -f bootlace.com
-rm -f grldr.pbr
cp bootlacestart bootlace.com && chmod a+x bootlace.com
dd if=bootlace.com of=grldr.pbr bs=512 skip=54 count=10 #skip(1): "EB 58 90 00" position in the bootlace.com redress: skip +(-) 1
dd if=bootlace.com of=grldr_cd.bin bs=512 skip=64 count=1 #skip(2): = skip(1) + 10
dd if=bootlace.com of=grldr.pbr bs=512 skip=56 count=10 #skip(1): "EB 58 90 00" position in the bootlace.com redress: skip +(-) 1
dd if=bootlace.com of=grldr_cd.bin bs=512 skip=66 count=1 #skip(2): = skip(1) + 10
cat grldr.mbr >> bootlace.com

hmloadstart_exec-hmloadstart.$(OBJEXT): stage2_size.h
Expand Down

0 comments on commit cc53a00

Please sign in to comment.