-
Notifications
You must be signed in to change notification settings - Fork 3
/
xengrub.cfg
executable file
·162 lines (137 loc) · 6.2 KB
/
xengrub.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
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
serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
terminal_input --append serial
terminal_output --append serial
set timeout=120
set default=0
###########################################################################
#### Standalone Entries -- Put these in /boot/isos/ of the flash disk.
###########################################################################
menuentry "Kamikazi Live Xen ISO RAMROOT v0.7.0 (64Bit)" {
set isofile="/boot/isos/kamikazi64.iso"
loopback loop $isofile
set gfxpayload=keep
multiboot (loop)/casper/xen-4.4-amd64.gz loglvl=all guest_loglvl=all cpuinfo tsc=unstable dom0_mem=4G dom0_max_vcpus=32 # com2=115200,8n1 console=com2
module (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile console=hvc0,115200 console=tty0 earlyprintk=xen noprompt libata.ignore_hpa=1 nodmraid raid=noautodetect ip=frommedia TORAM=Yes --
module --nounzip (loop)/casper/initrd.lz
}
menuentry "Kamikazi Live ISO RAMROOT v0.7.0 (64Bit)" {
set isofile="/boot/isos/kamikazi64.iso"
loopback loop $isofile
set gfxpayload=keep
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile console=ttyS0,115200 console=tty0 noprompt libata.ignore_hpa=1 nodmraid raid=noautodetect ip=frommedia TORAM=Yes --
initrd (loop)/casper/initrd.lz
}
###########################################################################
#### Ubuntu ISOs -- Put these in /boot/isos/ of the flash disk.
###########################################################################
submenu "> Load Ubuntu" {
menuentry "Kamikazi Live Xen ISO RAMROOT v0.7.0 (64Bit)" {
set isofile="/boot/isos/kamikazi64.iso"
loopback loop $isofile
set gfxpayload=keep
multiboot (loop)/casper/xen-4.4-amd64.gz loglvl=all guest_loglvl=all cpuinfo tsc=unstable dom0_mem=4G dom0_max_vcpus=32 # com2=115200,8n1 console=com2
module (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile console=hvc0,115200 console=tty0 earlyprintk=xen noprompt libata.ignore_hpa=1 nodmraid raid=noautodetect ip=frommedia TORAM=Yes --
module --nounzip (loop)/casper/initrd.lz
}
menuentry "Kamikazi Live ISO RAMROOT v0.7.0 (64Bit)" {
set isofile="/boot/isos/kamikazi64.iso"
loopback loop $isofile
set gfxpayload=keep
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile console=ttyS0,115200 console=tty0 noprompt libata.ignore_hpa=1 nodmraid raid=noautodetect ip=frommedia TORAM=Yes --
initrd (loop)/casper/initrd.lz
}
menuentry "Kamikazi Live ISO RAMROOT v0.7.0 (EFI64Bit)" {
set isofile="/boot/isos/kamikazi64.iso"
loopback loop $isofile
set gfxpayload=keep
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile console=ttyS0,115200 console=tty0 noprompt libata.ignore_hpa=1 nodmraid raid=noautodetect ip=frommedia TORAM=Yes --
initrd (loop)/casper/initrd.lz
}
menuentry "Kamikazi Live ISO v0.7.0 (64Bit)" {
set isofile="/boot/isos/kamikazi64.iso"
loopback loop $isofile
set gfxpayload=keep
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile console=ttyS0,115200 console=tty0 noprompt libata.ignore_hpa=1 nodmraid raid=noautodetect ip=frommedia --
initrd (loop)/casper/initrd.lz
}
menuentry "Kamikazi Live ISO v0.7.0 (EFI64Bit)" {
set isofile="/boot/isos/kamikazi64.iso"
loopback loop $isofile
set gfxpayload=keep
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile console=ttyS0,115200 console=tty0 noprompt libata.ignore_hpa=1 nodmraid raid=noautodetect ip=frommedia --
initrd (loop)/casper/initrd.lz
}
###########################################################################
#### Disk Utilities -- Put these in /boot/isos/ of the flash disk.
###########################################################################
submenu "> Disk Utilities" {
# Here is a template for adding newer parted magic ISOs.
#menuentry "PartedMagic.com 20XX XX XX ISO (32Bit)" {
# set isofile="/boot/isos/pmagic_20XX_XX_XX.iso"
# loopback loop $isofile
# linux (loop)/pmagic/bzImage edd=off noapic load_ramdisk=1 prompt_ramdisk=0 \
# rw loglevel=0 max_loop=256 noeject iso_location=boot/isos
# initrd (loop)/pmagic/initrd.img
#}
menuentry "PartedMagic.com 2012 12 25 ISO (32Bit)" {
set isofile="/boot/isos/pmagic_2012_12_25.iso"
loopback loop $isofile
linux (loop)/pmagic/bzImage edd=off noapic load_ramdisk=1 prompt_ramdisk=0 \
rw loglevel=0 max_loop=256 noeject libata.ignore_hpa=1 iso_location=boot/isos
initrd (loop)/pmagic/initrd.img
}
}
###########################################################################
#### Network Booting -- Put these in /boot/isos/ of the flash disk.
###########################################################################
submenu "> Network Boot" {
menuentry "Boot iPXE-stock from ISO (32Bit)" {
linux16 /boot/grub/memdisk iso
initrd16 /boot/isos/ipxe-stock.iso
}
menuentry "Boot iPXE-network from ISO (32Bit)" {
linux16 /boot/grub/memdisk iso
initrd16 /boot/isos/ipxe-network.iso
}
menuentry "Boot iPXE-https from ISO (32Bit)" {
linux16 /boot/grub/memdisk iso
initrd16 /boot/isos/ipxe-https.iso
}
menuentry "Boot iPXE-custom from ISO (32Bit)" {
linux16 /boot/grub/memdisk iso
initrd16 /boot/isos/ipxe-custom.iso
}
}
###########################################################################
#### Hardware Tools -- Put these in /boot/isos/ of the flash disk.
###########################################################################
submenu "> Hardware Tools" {
menuentry "Boot Hardware Detection Tool from floppyimage (32Bit)" {
linux16 /boot/grub/memdisk
initrd16 /boot/hdt.img
}
menuentry "Boot Hardware Detection Tool from iso (32Bit)" {
linux16 /boot/grub/memdisk iso
initrd16 /boot/isos/hdt.iso
}
menuentry "Boot Memtest86+ 5 Tool from iso (32Bit)" {
linux16 /boot/grub/memdisk iso
initrd16 /boot/isos/memtest.iso
}
menuentry "Boot FreeDOS from floppy image (32Bit)" {
linux16 /boot/grub/memdisk
initrd16 /boot/fdboot.img
}
menuentry "Boot FreeDOS from floppy image (with 'raw' parameter, 32Bit)" {
linux16 /boot/grub/memdisk raw
initrd16 /boot/fdboot.img
}
menuentry "Boot FreeDOS from ISO image (32Bit)" {
linux16 /boot/grub/memdisk iso
initrd16 /boot/isos/fd11src.iso
}
menuentry "Boot FreeDOS from ISO image (with 'raw' parameter, 32Bit)" {
linux16 /boot/grub/memdisk iso raw
initrd16 /boot/isos/fd11src.iso
}
}