-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample_grub_cfg.txt
150 lines (130 loc) · 4.74 KB
/
sample_grub_cfg.txt
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# example grub.cfg menu entry:
## working
-------------
menuentry "Tiny Core linux 11.1" {
set isofile="/bootable/iso/core.iso"
loopback loop $isofile
linux (loop)/boot/vmlinuz boot=boot iso-scan/filename=$isofile noprompt noeject
initrd (loop)/boot/core.gz
}
menuentry "Manjaro 21.0.7 minimal" {
insmod fat
set isofile="/bootable/iso/manjaro2107minimal.iso"
set dri="free"
set lang="en_US"
set keytable="us"
set timezone="UTC"
set rootlabel="PENDRU"
search --no-floppy --label --set=root $rootlabel
loopback loop $isofile
linux (loop)/boot/vmlinuz-x86_64 img_loop=$isofile driver=$dri tz=$timezone lang=$lang keytable=$keytable copytoram
initrd (loop)/boot/intel_ucode.img (loop)/boot/initramfs-x86_64.img
}
menuentry "Ubuntu 21.04" {
set isofile="/bootable/iso/ubuntu2104.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz iso-scan/filename="${isofile}" boot=casper quiet splash ---
initrd (loop)/casper/initrd
}
menuentry "Fedora 34 0" {
insmod fat
set isofile="/bootable/iso/Fedora34.iso"
loopback loop $isofile
linux (loop)/isolinux/vmlinuz iso-scan/filename="${isofile}" append initrd=initrd.img root=live:CDLABEL=Fedora-WS-Live-34-1-2 rd.live.image quiet
initrd (loop)/isolinux/initrd.img
}
## experimental
-----------------
menuentry "Puppy Linux fossapup64-9.5 0" {
insmod fat
set isofile="/bootable/iso/puppylinux95.iso"
set rootlabel="PENDRU"
search --no-floppy --label --set=root $rootlabel
loopback loop $isofile
linux (loop)/vmlinuz pmedia=$rootlabel pfix=fsck
initrd (loop)/initrd.gz
}
menuentry "Tiny CorePlus linux 12.0" {
set isofile="/bootable/iso/tinycore12.iso"
loopback loop $isofile
linux (loop)/boot/vmlinuz boot=boot iso-scan/filename=$isofile noprompt noeject
initrd (loop)/boot/core.gz
}
menuentry "Fedora 34 1" {
insmod fat
set isofile="/bootable/iso/Fedora34.iso"
loopback loop $isofile
linux (loop)/isolinux/vmlinuz iso-scan/filename="${isofile}" root=live:CDLABEL=Fedora-WS-Live-34-1-2 rd.live.image quiet
initrd (loop)/isolinux/initrd.img
}
menuentry "Fedora 34 2" {
set isofile="/bootable/iso/Fedora34.iso"
loopback loop $isofile
linux (loop)/isolinux/vmlinuz iso-scan/filename="${isofile}" root=live:CDLABEL=Fedora-WS-Live-28 rd.live.image quiet
initrd (loop)/isolinux/initrd.img
}
menuentry "Fedora 34 3" {
insmod fat
set isofile="/bootable/iso/Fedora34.iso"
loopback loop $isofile
linux (loop)/isolinux/vmlinuz iso-scan/filename="${isofile}" root=live:CDLABEL=Fedora
initrd (loop)/isolinux/initrd.img
}
menuentry "Fedora 34 4" {
insmod fat
set rootlabel="PENDRU"
set isofile="/bootable/iso/Fedora34.iso"
search --no-floppy --label --set=root $rootlabel
loopback loop $isofile
linux (loop)/isolinux/vmlinuz iso-scan/filename="${isofile}" root=live:LABEL=$rootlabel:$isofile
initrd (loop)/isolinux/initrd.img
}
menuentry "Fedora 34 5" {
insmod fat
set rootlabel="PENDRU"
set isofile="/bootable/iso/Fedora34.iso"
search --no-floppy --label --set=root $rootlabel
loopback loop $isofile
kernel vmlinuz
linux (loop)/isolinux/vmlinuz iso-scan/filename="${isofile}" append initrd=initrd.img root=live:LABEL=$rootlabel:$isofile rd.live.image quiet
initrd (loop)/isolinux/initrd.img
}
menuentry "Manjaro 21.0.7 minimal 2" {
insmod fat
set isofile="/bootable/iso/manjaro2107minimal.iso"
set dri="free"
set lang="en_US"
set keytable="us"
set timezone="UTC"
set rootlabel="PENDRU"
search --no-floppy --label --set=root $rootlabel
loopback loop $isofile
linux (loop)/boot/vmlinuz-x86_64 img_dev=live:LABEL=$rootlabel img_loop=$isofile driver=$dri tz=$timezone lang=$lang keytable=$keytable copytoram
initrd (loop)/boot/intel_ucode.img (loop)/boot/initramfs-x86_64.img
}
menuentry "Manjaro 21.0.7 minimal 3" {
insmod fat
set isofile="/bootable/iso/manjaro2107minimal.iso"
set dri="free"
set lang="en_US"
set keytable="us"
set timezone="UTC"
set rootlabel="PENDRU"
search --no-floppy --label --set=root $rootlabel
loopback loop $isofile
linux (loop)/boot/vmlinuz-x86_64 root=live:LABEL=$rootlabel img_loop=$isofile driver=$dri tz=$timezone lang=$lang keytable=$keytable copytoram
initrd (loop)/boot/intel_ucode.img (loop)/boot/initramfs-x86_64.img
}
menuentry "Manjaro 21.0.7 minimal 4" {
insmod fat
set isofile="/bootable/iso/manjaro2107minimal.iso"
set dri="free"
set lang="en_US"
set keytable="us"
set timezone="UTC"
set rootlabel="PENDRU"
search --no-floppy --label --set=root $rootlabel
loopback loop $isofile
linux (loop)/boot/vmlinuz-x86_64 img_dev=$rootlabel img_loop=$isofile driver=$dri tz=$timezone lang=$lang keytable=$keytable copytoram
initrd (loop)/boot/intel_ucode.img (loop)/boot/initramfs-x86_64.img
}