grub.cfg

为什么80%的码农都做不了架构师?>>>   hot3.png

set uuid=2C69-9ECA

menuentry "Windows" {
    insmod ntfs
    set root=(hd0,1)
    chainloader +1
}

menuentry "LMT ISO" {
    search --set=root --fs-uuid $uuid
    loopback loop /LMT.ISO
    ntldr (loop)/bootmgr
}

menuentry "Windows installation" {
    search --set=root --fs-uuid $uuid
    ntldr /bootmgr
}

menuentry "ubuntu/mint" {
    search --set=root --fs-uuid $uuid
    set isofile=linuxmint-19-cinnamon-64bit-v2.iso
    loopback loop /$isofile
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/$isofile quiet splash
    initrd (loop)/casper/initrd.lz
}

menuentry "debian live" {
    search --set=root --fs-uuid $uuid
    linux  /live/vmlinuz-4.9.0-3-amd64 boot=live components
    initrd /live/initrd.img-4.9.0-3-amd64
}

menuentry "debian installation" {
    search --set=root --fs-uuid $uuid
    linux /d-i/gtk/vmlinuz append video=vesa:ywrap,mtrr vga=788
    initrd /d-i/gtk/initrd.gz
}

menuentry "fedora" {
    search --set=root --fs-uuid $uuid
    linux /isolinux/vmlinuz root=live:UUID=$uuid rd.live.image quiet
    initrd /isolinux/initrd.img
}

menuentry "Manjaro ISO" {
    search --set=root --fs-uuid $uuid
    set isofile=/manjaro-xfce-18.0-stable-x86_64.iso
    loopback loop $isofile
    linux (loop)/boot/vmlinuz-x86_64  img_dev=/dev/disk/by-uuid/$uuid img_loop=$isofile driver=free
    initrd (loop)/boot/intel_ucode.img (loop)/boot/initramfs-x86_64.img
}

menuentry "LMDE 3 ISO" {
    search --set=root --fs-uuid $uuid
    linux /live/vmlinuz boot=live config live-media-path=/live quiet splash --
    initrd /live/initrd.lz
}

menuentry "centos 7 live" {
    search --set=root --fs-uuid $uuid
    linux /isolinux/vmlinuz0 root=live:UUID=$uuid rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
    initrd /isolinux/initrd0.img
}

 

转载于:https://my.oschina.net/guzhou/blog/2992652

你可能感兴趣的:(grub.cfg)