-
Notifications
You must be signed in to change notification settings - Fork 1
/
40_custom_etc_grub.d
30 lines (30 loc) · 1.47 KB
/
40_custom_etc_grub.d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Ubuntu 16.04 Desktop ISO centos_root" {
loopback loop /ubuntu-16.04-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu-16.04-desktop-amd64.iso noeject noprompt splash --
initrd (loop)/casper/initrd.lz
}
menuentry "Ubuntu 16.04 Desktop ISO /dev/sdb" {
loopback loop /dev/sdb/ubuntu-16.04-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/dev/sdb/ubuntu-16.04-desktop-amd64.iso noeject noprompt splash --
initrd (loop)/casper/initrd.lz
}
menuentry "Ubuntu 16.04 Desktop ISO/dev/sdb1" {
loopback loop /dev/sdb1/ubuntu-16.04-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/dev/sdb1/ubuntu-16.04-desktop-amd64.iso noeject noprompt splash --
initrd (loop)/casper/initrd.lz
}
menuentry "Ubuntu 16.04 Desktop ISO/dev/sdb2" {
loopback loop /dev/sdb2/ubuntu-16.04-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/dev/sdb2/ubuntu-16.04-desktop-amd64.iso noeject noprompt splash --
initrd (loop)/casper/initrd.lz
}
menuentry "Ubuntu 16.04 Desktop ISO/dev/sdb3/" {
loopback loop /dev/sdb3/ubuntu-16.04-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/dev/sdb3/ubuntu-16.04-desktop-amd64.iso noeject noprompt splash --
initrd (loop)/casper/initrd.lz
}