「grub.cfg」- modified

内容简介

这是个人测试使用的grub.cfg文件,不具备任何参考价值。

文件内容

# This grub.cfg file was created by Lance http://www.pendrivelinux.com
# Suggested Entries and the suggestor, if available, will also be noted.

set timeout=1000
set default=0

# 可正常使用
menuentry "ubuntu-18.04-desktop-amd64" {
 loopback loop /isos/ubuntu/ubuntu-18.04-desktop-amd64.iso
 linux  (loop)/casper/vmlinuz  iso-scan/filename=/isos/ubuntu/ubuntu-18.04-desktop-amd64.iso boot=casper ---
 initrd (loop)/casper/initrd.lz
}

#
# https://askubuntu.com/questions/367011/boot-windows-7-iso-from-grub2
menuentry "cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408" {
    insmod part_msdos
    insmod ntfs
    insmod ntldr
    search --no-floppy --fs-uuid --set=root ____INSERT_PARTITION_UUID_HERE___
    ntldr ($root)/bootmgr
}

menuentry "Linux Mint ISO" {
 loopback loop /linuxmint.iso
 linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper initrd=/casper/initrd.lz iso-scan/filename=/linuxmint.iso noeject noprompt splash --
 initrd (loop)/casper/initrd.lz
}

menuentry "DBAN ISO" {
 loopback loop /dban.iso
 linux (loop)/DBAN.BZI nuke="dwipe" iso-scan/filename=/dban.iso silent --
}

menuentry "Tinycore ISO" {
 loopback loop /tinycore.iso
 linux (loop)/boot/bzImage --
 initrd (loop)/boot/tinycore.gz
}

menuentry "Memtest 86+" {
 linux16 /memtest86+.bin
}

menuentry "SystemRescueCd" {
 loopback loop /systemrescuecd.iso
 linux (loop)/isolinux/rescuecd isoloop=/systemrescuecd.iso setkmap=us docache dostartx
 initrd (loop)/isolinux/initram.igz
}