-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrub.cfg
67 lines (58 loc) · 3.09 KB
/
grub.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
set default=0
# SOURCE: http://centos.mirrors.ovh.net/ftp.centos.org/7.3.1611/isos/x86_64/CentOS-7-x86_64-NetInstall-1611.iso
menuentry "Install CentOS 7" {
set iso_path="/targets/CentOS-7-x86_64-NetInstall-1611.iso"
loopback loop $iso_path
linux (loop)/isolinux/vmlinuz inst.stage2=hd:/dev/sda1:$iso_path noeject rootfstype=auto ro debug verbose
initrd (loop)/isolinux/initrd.img
}
menuentry "Install CentOS 7 (text mode)" {
set iso_path="/targets/CentOS-7-x86_64-NetInstall-1611.iso"
loopback loop $iso_path
linux (loop)/isolinux/vmlinuz inst.stage2=hd:/dev/sda1:$iso_path noeject rootfstype=auto ro text
initrd (loop)/isolinux/initrd.img
}
# SOURCE: http://distfiles.gentoo.org/releases/amd64/autobuilds/20160623/install-amd64-minimal-20160623.iso
menuentry "Gentoo" {
set iso_path="/targets/install-amd64-minimal-20160623.iso"
loopback loop $iso_path
linux (loop)/isolinux/gentoo root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz isoboot=$iso_path
initrd (loop)/isolinux/gentoo.igz
}
# SOURCE: https://download.fedoraproject.org/pub/fedora/linux/releases/31/Server/x86_64/iso/Fedora-Server-netinst-x86_64-31-1.9.iso
menuentry "Install Fedora 31" {
set iso_path="/targets/Fedora-Server-netinst-x86_64-31-1.9.iso"
loopback loop $iso_path
linux (loop)/isolinux/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-31 noeject rootfstype=auto ro iso-scan/filename=$iso_path
initrd (loop)/isolinux/initrd.img
}
menuentry "Install Fedora 31 (text mode)" {
set iso_path="/targets/Fedora-Server-netinst-x86_64-31-1.9.iso"
loopback loop $iso_path
linux (loop)/isolinux/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-31 noeject rootfstype=auto ro iso-scan/filename=$iso_path text
initrd (loop)/isolinux/initrd.img
}
# SOURCE: http://www.memtest.org/download/5.01/memtest86+-5.01.bin
menuentry "Memtest 86+" {
linux16 /targets/memtest86+-5.01.bin
}
# SOURCE: http://downloads.sourceforge.net/project/systemrescuecd/sysresccd-x86/4.7.3/systemrescuecd-x86-4.7.3.iso
menuentry "SystemRescueCd" {
set iso_path="/targets/systemrescuecd-x86-4.7.3.iso"
loopback loop $iso_path
linux (loop)/isolinux/rescue64 isoloop=$iso_path setkmap=fr docache dostartx
initrd (loop)/isolinux/initram.igz
}
menuentry "NTPASSWD: Reset or edit Windows passwords" {
set iso_path="/targets/systemrescuecd-x86-4.7.3.iso"
loopback loop $iso_path
linux (loop)/ntpasswd/vmlinuz isoloop=$iso_path rw vga=1 initrd=/ntpasswd/scsi.cgz
initrd (loop)/ntpasswd/initrd.cgz
}
# SOURCE: http://downloads.sourceforge.net/project/clonezilla/clonezilla_live_stable/2.4.6-25/clonezilla-live-2.4.6-25-amd64.iso
menuentry "Clonezilla" {
set iso_path="/targets/clonezilla-live-2.4.6-25-amd64.iso"
loopback loop $iso_path
linux (loop)/live/vmlinuz boot=live union=overlay username=user config components noswap edd=on nomodeset nodmraid noeject locales= keyboard-layouts= ocs_live_run='ocs-live-general' ocs_live_extra_param='' ocs_live_batch=no ip= nosplash findiso=$iso_path acpi=off irqpoll
initrd (loop)/live/initrd.img
}