summaryrefslogtreecommitdiff
path: root/grubiso/boot/grub/grub.cfg
blob: 08f1fe11401aedba9859ed9307d3e4edde1cc927 (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
set timeout=0 //seconds

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

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

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

menuentry "FoolOS (2560x1600x32)" {
	multiboot /boot/foolos.bin
	set gfxpayload=2560x1600x32
	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
}