Linux编辑grldr文件,使用syslinux完美引导GRLDR。
syslinux的界面比較漂亮。而且聽說(shuō)兼容性也相當(dāng)好就選用syslinux去引導(dǎo)grldr。
首先使u盤以syslinux引導(dǎo)成功。這在論壇上內(nèi)容很多。就是下載一個(gè)syslinux.exe。然后cmd運(yùn)行進(jìn)入存放的文件夾。運(yùn)行syslinux X: (X為U盤盤符)
現(xiàn)在說(shuō)怎么引grldr。
使用mkimage.exe
附件ldntldr提供。
解壓縮后把grldr放入ldntldr文件夾
運(yùn)行cmd
進(jìn)入ldntldr文件夾。
運(yùn)行 mkimage ldntldr.bin grldr Xgrldr
Xgrldr是我們要得到的最終文件。之后把Xgrldr復(fù)制到U盤根目錄。改名為grldr
編輯syslinux.cfg
加入菜單
LABEL Start GRUB FOR DOS
MENU LABEL Start GRUB FOR DOS
KERNEL /GRLDR
現(xiàn)在可以引導(dǎo)的不過(guò)無(wú)法顯示中文跟背景。
現(xiàn)在用grldr菜單編輯器編輯
find --set-root /BOOT/FONTS
fontfile /BOOT/FONTS
find --set-root /boot/Windows7.xpm.gz
splashimage /boot/Windows7.xpm.gz
加入find語(yǔ)句。
其他的就可以不用改了。
之后測(cè)試完美運(yùn)行。可以直接加載 iso,img
貼上自己的菜單
pxe detect
configfile
default 0
timeout 30
fallback 1
find --set-root /BOOT/FONTS
fontfile /BOOT/FONTS
find --set-root /boot/Windows7.xpm.gz
splashimage /boot/Windows7.xpm.gz
title 1. WINPE維護(hù)系統(tǒng)
find --set-root /WXPE/PE.ISO
map /WXPE/PE.ISO (hd32)
map --hook
chainloader (hd32)
boot
title 2. 分區(qū)魔法師8.05
find --set-root /boot/PQ8.IMG
map --mem /boot/PQ8.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title 3. 一鍵ghost備份與恢復(fù)
map --mem /boot/ghost.img (fd0)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title 4. Boot CD-Rom 光盤啟動(dòng)
cdrom --init
map --hook
chainloader (cd0)
title 5. 重啟
reboot
title 6. 關(guān)機(jī)
halt
title 7. 加載ISO鏡像
map /ISO.ISO (hd32)
map --hook
chainloader (hd32)
占時(shí)沒(méi)有發(fā)現(xiàn)問(wèn)題。在我的T61上運(yùn)行PE速度相當(dāng)快跟以前直接用grldr沒(méi)有區(qū)別 ldntldr.rar (161.02 KB)
總結(jié)
以上是生活随笔為你收集整理的Linux编辑grldr文件,使用syslinux完美引导GRLDR。的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 让你认清楚JSP中的所有东西(java/
- 下一篇: 中国移动、阿里云、百度天工三大物联网平台