歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> Grub引導方式收集

Grub引導方式收集

日期:2017/3/1 14:51:51   编辑:關於Linux
Grub引導方式收集 title Boot from a primary partition rootnoverify (hd0,0) chainloader +1 title Windows 7 or above find --set-root --ignore-floppies /bootmgr chainloader /bootmgr title Windows 2003/XP or below find --set-root --ignore-floppies /ntldr chainloader /ntldr title Boot from ISO image file root (hd0,0) map /image.iso (0xff) || map --mem /image.iso (0xff) map --hook chainloader (0xff) title Boot from *.IMG/IMA/MZ/SYS disk file root (hd0,0) find --set-root --ignore-floppies /disk.img map --mem /disk.img (fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0) ttitle Boot from CD/DVD cdrom --init map --hook chainloader (cd0) title Boot from Local harddisk (USB-HDD) map (hd0) (hd1) map (hd1) (hd0) rootnoverify (hd1,0) makeactive chainloader +1 title Boot from Local harddisk (USB-ZIP/CDROM) rootnoverify (hd0,0) makeactive chainloader +1 title Boot from PXE Server kernel /boot/grub/memdisk.gz initrd /boot/grub/lqpxe.img title Reboot the computer reboot title Shutdown the computer halt
Copyright © Linux教程網 All Rights Reserved