File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed
Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 11config_priv /*
22! config_priv /README.md
3+ ! config_priv /lmde
Original file line number Diff line number Diff line change @@ -6,3 +6,6 @@ The updated configuration will be detected automatically.
66
77Once you have created a new configuration or updated an old one, you can upload the changes to the repository and share the code here:
88https://github.com/Mexit/MultiOS-USB/issues
9+
10+ Example configuration:
11+ To use the example configuration file remove ` -example ` from ` /MultiOS-USB/config_priv/lmde/lmde.cfg-example `
Original file line number Diff line number Diff line change 1+ # LMDE - Linux Mint Debian Edition
2+ # https://www.linuxmint.com
3+
4+ iso_pattern="lmde-*-64bit.iso"
5+
6+ for isofile in $iso_dir/$iso_pattern; do
7+ if [ -e "$isofile" ]; then
8+ regexp --set=isoname "$iso_dir/(.*)" "$isofile"
9+
10+ submenu "$isoname ->" "$isofile" {
11+ iso_path="$2"
12+ LOOPBACK "$iso_path"
13+ isocfg="findiso=$iso_path"
14+ bootoptions="boot=live live-config live-media-path=/casper"
15+ linux_path="(loop)/casper/vmlinuz"
16+ initrd_path="(loop)/casper/initrd.lz"
17+
18+ menuentry "Start LMDE 64-bit" --class linuxmint {
19+ echo Loading kernel...
20+ linux $linux_path $isocfg $bootoptions quiet splash --
21+ echo Loading initrd...
22+ initrd $initrd_path
23+ }
24+ menuentry "Start LMDE 64-bit (compatibility mode)" --class linuxmint {
25+ echo Loading kernel...
26+ linux $linux_path $isocfg $bootoptions ramdisk_size=1048576 root=/dev/ram rw xforcevesa noapic noacpi nosplash irqpoll --
27+ echo Loading initrd...
28+ initrd $initrd_path
29+ }
30+ }
31+ fi
32+ done
You can’t perform that action at this time.
0 commit comments