summaryrefslogtreecommitdiff
path: root/grubiso/boot/grub/grub.cfg
blob: 86a5f1da16a07ef57cd9652911360e2579256b4e (plain)
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
set timeout=0 //seconds
set default=4

if loadfont ${prefix}/fonts/unicode.pf2

insmod efi_gop
insmod efi_uga
insmod vbe
insmod font
insmod png

then
    insmod gfxterm
    set gfxmode=auto
    set gfxmode=640x480
    set gfxpayload=keep
    terminal_output gfxterm
    background_image /boot/grub_bg.png
    set color_normal=white/black
    set color_highlight=black/white
fi

menuentry "FoolOS (320x200x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=320x200x32
	module /boot/ext2.img
}

menuentry "FoolOS (640x400x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=640x400x32
	module /boot/ext2.img
}

menuentry "FoolOS (640x480x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=640x480x32
	module /boot/ext2.img
}

menuentry "FoolOS (800x600x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=800x600x32
	module /boot/ext2.img
}

menuentry "FoolOS (1024x768x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=1024x768x32
	module /boot/ext2.img
}

menuentry "FoolOS (1280x1024x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=1280x1024x32
	module /boot/ext2.img
}

menuentry "FoolOS (1600x1200x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=1600x1200x32
	module /boot/ext2.img
}

menuentry "FoolOS (1280x768x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=1280x768x32
	module /boot/ext2.img
}

menuentry "FoolOS (1280x800x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=1280x800x32
	module /boot/ext2.img
}

menuentry "FoolOS (1400x1050x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=1400x1050x32
	module /boot/ext2.img
}

menuentry "FoolOS (1680x1050x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=1680x1050x32
	module /boot/ext2.img
}

menuentry "FoolOS (1280x720x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=1280x720x32
	module /boot/ext2.img
}

menuentry "FoolOS (1920x1080x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=1920x1080x32
	module /boot/ext2.img
}

menuentry "FoolOS (1920x1080x24)" {
	multiboot /boot/foolos.bin
	set gfxpayload=1920x1080x24
	module /boot/ext2.img
}

menuentry "FoolOS (text-mode)" {
	multiboot /boot/foolos.bin
	set gfxpayload=text
	module /boot/ext2.img
}

menuentry "FoolOS (Custom Resolution)" {
	set pager=1
	echo "MODES SUPPORTED:"
	vbeinfo
	set pager=0
	echo "BOOT WITH CUSTOM RESOLUTION/DEPTH:"
	echo "width:"
	read __width
	echo "...OK"
	echo "height:"
	read __height
	echo "...OK"
	echo "bits per pixel / depth:"
	read __bpp
	echo "...OK"
	echo "booting with ${__width}x${__height}x${__bpp} ..."
	multiboot /boot/foolos.bin
	set gfxpayload=${__width}x${__height}x${__bpp}
	module /boot/ext2.img
}