Setup persistent TinyCore image
This commit is contained in:
parent
509669cdca
commit
340cab168f
3 changed files with 44 additions and 0 deletions
|
@ -50,6 +50,12 @@ menuentry "[c] CPU info " --hotkey=c {
|
||||||
sleep --interruptible 10
|
sleep --interruptible 10
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ -f "/boot/tinycore/tinycore.cfg" ]; then
|
||||||
|
menuentry "[t] Tiny Core" --hotkey=t {
|
||||||
|
configfile /boot/tinycore/tinycore.cfg
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
menuentry "[l] Local Boot" --hotkey=l {
|
menuentry "[l] Local Boot" --hotkey=l {
|
||||||
insmod chain
|
insmod chain
|
||||||
|
|
||||||
|
|
12
boot/tinycore/README.md
Normal file
12
boot/tinycore/README.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# TinyCore
|
||||||
|
|
||||||
|
Unpack a TinyCore iso file to this directory.
|
||||||
|
|
||||||
|
TinyCore downloads: http://www.tinycorelinux.net/
|
||||||
|
|
||||||
|
Minimal tree:
|
||||||
|
```
|
||||||
|
.
|
||||||
|
├── boot
|
||||||
|
└── cde
|
||||||
|
```
|
26
boot/tinycore/tinycore.cfg
Normal file
26
boot/tinycore/tinycore.cfg
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Adapted from isolinux.cfg in *.iso file
|
||||||
|
|
||||||
|
menuentry "TinyCore command line only" --class=core {
|
||||||
|
linux /boot/tinycore/boot/vmlinuz loglevel=3 base
|
||||||
|
initrd /boot/tinycore/boot/core.gz
|
||||||
|
}
|
||||||
|
|
||||||
|
menuentry "TinyCore CDE" --class=core {
|
||||||
|
linux /boot/tinycore/boot/vmlinuz loglevel=3 cde
|
||||||
|
initrd /boot/tinycore/boot/core.gz
|
||||||
|
}
|
||||||
|
|
||||||
|
# Core Plus
|
||||||
|
if true; then
|
||||||
|
menuentry "Core Plus (default)" --class=core --class=gui {
|
||||||
|
# Values for desktop: flwm_outside, jwm, icewm, fluxbox, hackedbox, openbox, flwm
|
||||||
|
linux /boot/tinycore/boot/vmlinuz loglevel=3 cde showapps desktop=flwm_topside
|
||||||
|
initrd /boot/tinycore/boot/core.gz
|
||||||
|
}
|
||||||
|
|
||||||
|
menuentry "Core Plus with X/GUI + Wifi + Firmware" --class=core {
|
||||||
|
#
|
||||||
|
linux /boot/tinycore/boot/vmlinuz loglevel=3 cde showapps lst=xfbase.lst desktop=flwm_topside
|
||||||
|
initrd /boot/tinycore/boot/core.gz
|
||||||
|
}
|
||||||
|
fi
|
Loading…
Reference in a new issue