-
Notifications
You must be signed in to change notification settings - Fork 0
/
40_custom
213 lines (197 loc) · 10.4 KB
/
40_custom
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
#!/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.
submenu "Power Options ->" {
menuentry "Desligar" {
echo "Desligando o sistema..."
halt
}
menuentry "Reiniciar" {
echo "Reiniciando o sistema..."
reboot
}
}
menuentry "Memtest 86+" --class=memtest --hotkey=m {
insmod part_gpt
#insmod part_msdos
#insmod f2fs
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
search --no-floppy --fs-uuid --set=root 79041a97-c74a-4ede-b0f8-6588a17e0b6f
linux16 /boot/memtest86+/memtest.bin root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
}
submenu "MULTIBOOT (Distros and Tools) - ISO Images ->" {
menuentry "Archlabs-2020.05.04.iso" --hotkey=l --class dvd {
insmod part_gpt
#insmod part_msdos
#insmod f2fs
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
set isofile="/ISOs/archlabs-2020.05.04.iso" root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
set dri="free"
search --no-floppy -f --set=root $isofile
probe -u $root --set=abc
set pqr="/dev/disk/by-uuid/$abc"
loopback loop $isofile
#efi_bootfile="(loop)/EFI/boot/bootx64.efi"
linux (loop)/arch/boot/x86_64/vmlinuz img_dev=$pqr img_loop=$isofile driver=$dri
initrd (loop)/arch/boot/x86_64/archiso.img
}
menuentry "Artix-lxde-openrc-20200210-x86_64.iso" --hotkey=o --class=artix.x86_64 {
insmod part_gpt
#insmod part_msdos
#insmod f2fs
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
set isofile="/ISOs/artix-lxde-openrc-20200210-x86_64.iso" root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
search --no-floppy -f --set=root $isofile
probe -u $root --set=abc
set pqr="/dev/disk/by-uuid/$abc"
loopback loop $isofile
efi_bootfile="(loop)/efi/boot/bootx64.efi"
linux (loop)/boot/vmlinuz-x86_64 img_dev=$pqr img_loop=$isofile
initrd (loop)/boot/intel-ucode.img (loop)/boot/amd-ucode.img (loop)/boot/initramfs-x86_64.img (loop)/boot/efi.img
}
submenu "Endeavouros-2020.09.20-x86_64.iso ->" {
menuentry "Endeavouros-2020.09.20-x86_64.iso Free" --hotkey=e --class dvd {
insmod part_gpt
#insmod part_msdos
#insmod f2fs
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
set isofile="/ISOs/endeavouros-2020.09.20-x86_64.iso" root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
set dri="free"
search --no-floppy -f --set=root $isofile
probe -u $root --set=abc
set pqr="/dev/disk/by-uuid/$abc"
loopback loop $isofile
#efi_bootfile="(loop)/EFI/boot/bootx64.efi"
linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=$pqr img_loop=$isofile archisobasedir=arch cow_spacesize=10G archisolabel=ENDEAVOUROS earlymodules=loop modules-load=loop rd.modules-load=loop i915.modeset=1 radeon.modeset=1 nvidia.blacklist=yes modprobe.blacklist=nvidia nouveau.modeset=1 nouveau
initrd (loop)/arch/boot/intel-ucode.img (loop)/arch/boot/amd-ucode.img (loop)/arch/boot/x86_64/archiso.img
}
menuentry "Endeavouros-2020.09.20-x86_64.iso NonFree (Proprietary driver)" --class dvd {
insmod part_gpt
#insmod part_msdos
#insmod f2fs
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
set isofile="/ISOs/endeavouros-2020.09.20-x86_64.iso" root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
set dri="free"
search --no-floppy -f --set=root $isofile
probe -u $root --set=abc
set pqr="/dev/disk/by-uuid/$abc"
loopback loop $isofile
#efi_bootfile="(loop)/EFI/boot/bootx64.efi"
linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=$pqr img_loop=$isofile archisobasedir=arch cow_spacesize=10G archisolabel=ENDEAVOUROS earlymodules=loop modules-load=loop rd.modules-load=loop nvidia nouveau.modeset=0 nouveau.blacklist=yes modprobe.blacklist=nouveau i915.modeset=1 radeon.modeset=1
initrd (loop)/arch/boot/intel-ucode.img (loop)/arch/boot/amd-ucode.img (loop)/arch/boot/x86_64/archiso.img
}
}
menuentry "AntivirusLiveCD-34.0-0.102.4.iso" --class dvd {
insmod part_gpt
#insmod part_msdos
#insmod f2fs
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
set isofile="/ISOs/AntivirusLiveCD-34.0-0.102.4.iso" root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
set dri="free"
search --no-floppy -f --set=root $isofile
probe -u $root --set=abc
set pqr="/dev/disk/by-uuid/$abc"
loopback loop $isofile
linux (loop)/boot/bzImage img_dev=$pqr img_loop=$isofile driver=$dri root=/dev/ram0 vga=normal
initrd (loop)/boot/initrd.gz
# vga=ask
}
menuentry "Clonezilla x86_64 (Default settings, VGA 1024x768) - iso" --class dvd {
insmod part_gpt
#insmod part_msdos
#insmod f2fs
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
set isofile="/ISOs/clonezilla-live-20200703-focal-amd64.iso" root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
set dri="free"
search --no-floppy -f --set=root $isofile
probe -u $root --set=abc
set pqr="/dev/disk/by-uuid/$abc"
loopback loop $isofile
linux (loop)/live/vmlinuz img_dev=$pqr img_loop=$isofile driver=$dri boot=live union=overlay username=user hostname=focal config quiet components noswap edd=on nomodeset enforcing=0 locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=791 toram=filesystem.squashfs ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
initrd (loop)/live/initrd.img
}
}
submenu "MULTIBOOT OSs (Windows/Linux/Android) and Tools - on Partition ->" {
menuentry "Tiny Core Plus - Partition" --class core --class gnu-linux --class gnu {
insmod part_gpt
insmod gzio
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
search --no-floppy --fs-uuid --set=root 79041a97-c74a-4ede-b0f8-6588a17e0b6f
linux /boot/vmlinuz
initrd /boot/core.gz cde showapps lst=xibase.lst base desktop=openbox
}
submenu "PrimeOS_mainline_0.4.5 Partition ->" {
menuentry "PrimeOS_mainline_0.4.5 Live Partition" --class android-x86 {
insmod part_gpt
#insmod part_msdos
#insmod f2fs
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
search --no-floppy --fs-uuid --set=root 79041a97-c74a-4ede-b0f8-6588a17e0b6f
linux /PrimeOS/kernel root=/dev/ram0 root=/dev/ram0 androidboot.selinux=permissive buildvariant=userdebug
initrd /PrimeOS/initrd.img
}
menuentry "PrimeOS_mainline_0.4.5 Installer Partition" --hotkey=a --class android-x86 {
insmod part_gpt
#insmod part_msdos
#insmod f2fs
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
search --no-floppy --fs-uuid --set=root 79041a97-c74a-4ede-b0f8-6588a17e0b6f
linux /PrimeOS/kernel root=/dev/ram0 root=/dev/ram0 androidboot.selinux=permissive buildvariant=userdebug INSTALL=1 DEBUG=
initrd /PrimeOS/initrd.img
}
}
submenu "Phoenix OS (Android_x86) ->" {
menuentry "Phoenix OS Live" --class android-x86 {
insmod part_gpt
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
search --file --no-floppy --set=root /PhoenixOS/system.sfs
linux /PhoenixOS/kernel root=/dev/ram0 androidboot.hardware=android_x86 quiet SRC= DATA= vga=788
initrd /PhoenixOS/initrd.img
}
menuentry "Phoenix OS Install" --class android-x86 {
insmod part_gpt
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
search --file --no-floppy --set=root /PhoenixOS/system.sfs
linux /PhoenixOS/kernel root=/dev/ram0 quiet CMDLINE INSTALL=1 DEBUG=
initrd /PhoenixOS/initrd.img
}
}
menuentry "Kaspersky Rescue Disk 18.0.11.0 Partition" --class dvd {
insmod part_gpt
#insmod part_msdos
#insmod f2fs
insmod search_fs_uuid
set root=UUID=79041a97-c74a-4ede-b0f8-6588a17e0b6f
search --no-floppy --fs-uuid --set=root 79041a97-c74a-4ede-b0f8-6588a17e0b6f
set dri="free"
efi_bootfile="/efi/boot/bootx64.efi"
linux /boot/grub/k-x86_64 net.ifnames=0 lang=en dostartx driver=$dri
initrd /boot/grub/initrd.xz
#nomodeset xforcevesa
}
menuentry "Windows 8.1 Installer Partition" --hotkey=w --class windows --class os {
insmod part_gpt
#insmod part_msdos
insmod chain
insmod exfat
insmod fat
insmod search_fs_uuid
set root=UUID=4BCE-3A8F
search --no-floppy --fs-uuid --set=root 4BCE-3A8F
chainloader /efi/boot/bootx64.efi root=UUID=4BCE-3A8F
}
}