summarylogtreecommitdiffstats
path: root/25_systemrescuecd
blob: ba799b8c2c1aaa94731bfeb71aafd41eda0b2841 (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
#!/bin/sh -e

echo "System Rescue CD" >&2

if [ -r /etc/default/systemrescuecd ] ; then
  . /etc/default/systemrescuecd
fi

cat << EOF
submenu "System Rescue" {

menuentry "System Rescue (x86_64)" {
  linux ${BASE_DIR}/sysrescue/rescue64 subdir=${BASE_DIR}/sysrescue ${CUSTOM_BOOTOPTIONS}
  initrd ${BASE_DIR}/sysrescue/initram.igz
}

menuentry "System Rescue (x86_64) in Memory" {
  linux ${BASE_DIR}/sysrescue/rescue64 subdir=${BASE_DIR}/sysrescue docache ${CUSTOM_BOOTOPTIONS}
  initrd ${BASE_DIR}/sysrescue/initram.igz
}

menuentry "System Rescue (i586)" {
  linux ${BASE_DIR}/sysrescue/rescue32 subdir=${BASE_DIR}/sysrescue ${CUSTOM_BOOTOPTIONS}
  initrd ${BASE_DIR}/sysrescue/initram.igz
}

menuentry "System Rescue (i586) in Memory" {
  linux ${BASE_DIR}/sysrescue/rescue32 subdir=${BASE_DIR}/sysrescue docache ${CUSTOM_BOOTOPTIONS}
  initrd ${BASE_DIR}/sysrescue/initram.igz
}

menuentry "MemTest+" {
  linux16 ${BASE_DIR}/sysrescue/bootdisk/memtestp
}

menuentry "NT Password Editor" {
  linux ${BASE_DIR}/sysrescue/ntpasswd/vmlinuz initrd=/${BASE_DIR}/sysrescue/ntpasswd/scsi.cgz
  initrd ${BASE_DIR}/sysrescue/ntpasswd/initrd.cgz
}

menuentry "FreeDOS" {
  linux16 ${BASE_DIR}/sysrescue/memdisk floppy
  initrd16 ${BASE_DIR}/sysrescue/bootdisk/freedos.img
}

menuentry "Netboot - Boot from Network" {
  linux16 ${BASE_DIR}/sysrescue/netboot
}

menuentry "HDT - Hardware Diagnostic Tool (recent)" {
  linux16 ${BASE_DIR}/sysrescue/memdisk floppy
  initrd16 ${BASE_DIR}/sysrescue/bootdisk/hdt.img
}

menuentry "MHDD - Low-level Hard Drive diagnostic tool" {
  linux16 ${BASE_DIR}/sysrescue/memdisk floppy
  initrd16 ${BASE_DIR}/sysrescue/bootdisk/mhdd.img
}

}
EOF