『第 4 楼』:
使用 LLM 解释/回答一下
这两天潜水学到了不少东西,有所收获。
我用的是grub4dos-0.4.3
下面是帮助文件中的一部分:
BCDW引导GRUB的可启动光盘
此法是用BCDW制作启动光盘,通过BCDW执行grldr来加载menu.lst菜单。
步骤:
1) 首先下载BCDW软件包,解压后获取所需文件。
2)组织文件。比如在E:下建个bcdwcd目录,此目录下文件将在光盘根目录下,下面建boot\grub目录和bcdw目录,把软件包中bcdw目录下的 bcdw.bin,bcdw.ini和loader.bin拷贝到所建的bcdwcd\bcdw目录下;把grldr、各种img、字体等文件拷贝到 bcdwcd\boot\grub目录。menu.lst文件的编辑方法与上面2.1中介绍的相同。
3) 编辑bcdw.ini文件。打开bcdw.ini,找到部分,比如:
C:\ ; Boot from drive C:
\I386\setupldr.bin ; Microsoft Windows XP Setup
上面的就是BCDW启动菜单的例子。在其中加上grub等项,变成:
\images\gghost.img ; GGhost v6.0 (Ghost8.3/11)
\images\mynet.img ; My net (Ghost8.3)(tcp/ip,cd/usb)
\boot\grub\grldr ; Grub4dos
\WXPE\SETUPLDR.BIN ; Micro Windows XPE (by LaoMaotao)
C:\ ; Boot from drive C:
\I386\setupldr.bin ; Microsoft Windows XP Setup
4)制作ISO文件与刻录ISO的方法与2.1中的基本相同。所不同的只是在制作ISO文件时,要把loader.bin(或bcdw.bin)作为ISO的引导文件。Sample Text
下面是我首次制作成功的光盘中的bcdw.ini文件的内容:
\WXPE\SETUPLDR.BIN; Micro Windows XPE (by LaoMaotao)
\boot\grub\dostools.img ; dostools
\boot\grub\diskgen.img ; diskgen
\boot\grub\setup98.img ; setup98
\boot\grub\remove.img ; remove
C:\ ; Boot from drive C:
:PowerOff ; Power Off
1、BOOT和BCDW文件夹是制作启动盘时建立的,其他文件和文件夹都是老毛桃PE.iso解压到光盘根目录下产生的。
2、尝试修改深山红叶的DOSTOOLS,增加扇区总数到20000。文件容量大了,把SPFDISK和NTFSDSO加入其中,虚拟机中测试能启动成功。喜欢深山红叶的DOS工具箱,但是发现里面只有SPFDISK的名,没有文件。SPFDISK可以按扇区进行分割磁盘,处理有坏道的磁盘很方便。
3、用BCDW做启动光盘,涉及到的语法感觉很少,比GRUBDOS的其他方法要方便,适用于我这样的菜菜。
4、不知道用BCDW做启动光盘时,背景图片如何设置,请高手指教。
Last edited by everest on 2008-4-27 at 10:49 PM ]
These days, I've learned a lot by lurking, and I've gained something.
I'm using grub4dos-0.4.3
The following is part of the help file:
BCDW bootable CD for GRUB
This method is to use BCDW to make a bootable CD, and execute grldr through BCDW to load the menu.lst menu.
Steps:
1) First, download the BCDW software package, extract it to get the required files.
2) Organize the files. For example, create a bcdwcd directory under E:, the files in this directory will be in the root directory of the CD, then create the boot\grub directory and the bcdw directory under it, copy bcdw.bin, bcdw.ini and loader.bin from the bcdw directory in the software package to the bcdwcd\bcdw directory; copy files such as grldr, various imgs, fonts, etc. to the bcdwcd\boot\grub directory. The editing method of the menu.lst file is the same as introduced in 2.1 above.
3) Edit the bcdw.ini file. Open bcdw.ini, find the section, for example:
C:\ ; Boot from drive C:
\I386\setupldr.bin ; Microsoft Windows XP Setup
The above is an example of the BCDW boot menu. Add items like grub here to become:
\images\gghost.img ; GGhost v6.0 (Ghost8.3/11)
\images\mynet.img ; My net (Ghost8.3)(tcp/ip,cd/usb)
\boot\grub\grldr ; Grub4dos
\WXPE\SETUPLDR.BIN ; Micro Windows XPE (by LaoMaotao)
C:\ ; Boot from drive C:
\I386\setupldr.bin ; Microsoft Windows XP Setup
4) The method of making the ISO file and burning the ISO is basically the same as in 2.1. The only difference is that when making the ISO file, loader.bin (or bcdw.bin) should be used as the boot file of the ISO. Sample Text
The following is the content of the bcdw.ini file in the first successfully made CD I made:
\WXPE\SETUPLDR.BIN; Micro Windows XPE (by LaoMaotao)
\boot\grub\dostools.img ; dostools
\boot\grub\diskgen.img ; diskgen
\boot\grub\setup98.img ; setup98
\boot\grub\remove.img ; remove
C:\ ; Boot from drive C:
:PowerOff ; Power Off
1. The BOOT and BCDW folders are established when making the boot disk, and other files and folders are generated by extracting the LaoMaotao PE.iso to the root directory of the CD.
2. Try to modify the DOS tools of Shenshan Hongye, and increase the total number of sectors to 20,000. The file capacity is larger, add SPFDISK and NTFSDSO to it, and it can start successfully in the virtual machine. I like the DOS toolbox of Shenshan Hongye, but I found that there is only the name of SPFDISK in it, and no file. SPFDISK can partition the disk by sectors, which is very convenient for handling disks with bad sectors.
3. When using BCDW to make a bootable CD, the involved grammar feels very few, which is more convenient than other methods of GRUBDOS, and is suitable for dishes like me.
4. I don't know how to set the background picture when using BCDW to make a bootable CD. Please ask experts for guidance.
Last edited by everest on 2008-4-27 at 10:49 PM ]
|