-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
devuan_minimal-live.cfg
50 lines (46 loc) · 1.43 KB
/
devuan_minimal-live.cfg
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Devuan amd64 minimal live
# https://www.devuan.org
iso_pattern="devuan_*_amd64_minimal-live.iso"
for isofile in $iso_dir/$iso_pattern; do
if [ -e "$isofile" ]; then
regexp --set=isoname "$iso_dir/(.*)" "$isofile"
submenu "$isoname ->" "$isofile" {
iso_path="$2"
LOOPBACK "$iso_path"
isocfg="findiso=$iso_path"
bootoptions="boot=live"
linux_path="(loop)/live/vmlinuz"
initrd_path="(loop)/live/initrd.img"
menuentry "Devuan Live Minimal (std)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions noautologin vga=auto
echo Loading initrd...
initrd $initrd_path
}
menuentry "Devuan Live Minimal (access)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions noautologin 4 vga=normal
echo Loading initrd...
initrd $initrd_path
}
menuentry "Devuan Live Minimal (std-toram)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions noautologin vga=auto toram
echo Loading initrd...
initrd $initrd_path
}
menuentry "Devuan Live Minimal (access-toram)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions noautologin 4 vga=normal toram
echo Loading initrd...
initrd $initrd_path
}
menuentry "Devuan Live Minimal (no probe)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions noapic noapm nodma nomce nolapic nosmp vga=auto
echo Loading initrd...
initrd $initrd_path
}
}
fi
done