-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathclonezilla_eoan.cfg
75 lines (71 loc) · 3.1 KB
/
clonezilla_eoan.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
# For Clonezilla Live (Ubuntu-based)
iso_pattern="clonezilla-live-*-eoan-amd64.iso"
for isofile in $iso_dir/$iso_pattern; do
if [ -e "$isofile" ]; then
regexp --set=isoname "$iso_dir/(.*)" "$isofile"
submenu "$isoname ->" "$isofile" {
iso_path="$2"
LOOPBACK "$iso_path"
isocfg="findiso=$iso_path"
bootoptions='boot=live union=overlay username=user hostname=eoan config quiet components noswap edd=on \
enforcing=0 locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" \
ocs_live_batch="no" ip= net.ifnames=0'
linux_path="(loop)/live/vmlinuz"
initrd_path="(loop)/live/initrd.img"
menuentry "Clonezilla live (Default settings, VGA 800x600)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions nomodeset vga=788 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
echo Loading initrd...
initrd $initrd_path
}
menuentry "Clonezilla live (Default settings, KMS with large font)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions vga=791 splash live_console_font_size=16x32
echo Loading initrd...
initrd $initrd_path
}
menuentry "Clonezilla live (Speech synthesis)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions nomodeset vga=788 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 speakup.synth=soft ---
echo Loading initrd...
initrd $initrd_path
}
menuentry "Clonezilla live (Default settings, VGA 1024x768)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions nomodeset vga=791 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
echo Loading initrd...
initrd $initrd_path
}
menuentry "Clonezilla live (Default settings, VGA 640x480)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions nomodeset vga=785 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
echo Loading initrd...
initrd $initrd_path
}
menuentry "Clonezilla live (Default settings, KMS)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions vga=791 splash
echo Loading initrd...
initrd $initrd_path
}
menuentry "Clonezilla live (To RAM, boot media can be removed later)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions nomodeset vga=788 toram=live,syslinux,EFI,boot,.disk,utils splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
echo Loading initrd...
initrd $initrd_path
}
menuentry "Clonezilla live Safe graphic settings (vga=normal)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions nomodeset nomodeset vga=normal nosplash
echo Loading initrd...
initrd $initrd_path
}
menuentry "Clonezilla live (Failsafe mode)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions nomodeset acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp nomodeset vga=normal nosplash
echo Loading initrd...
initrd $initrd_path
}
}
fi
done