Skip to content

Commit 53b7b7d

Browse files
committed
Add Linux Mint Debian Edition example to private configuration as temporary workaround (#25)
1 parent fea98ae commit 53b7b7d

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
config_priv/*
22
!config_priv/README.md
3+
!config_priv/lmde

config_priv/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ The updated configuration will be detected automatically.
66

77
Once you have created a new configuration or updated an old one, you can upload the changes to the repository and share the code here:
88
https://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`

config_priv/lmde/lmde.cfg-example

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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

0 commit comments

Comments
 (0)