Setup persistent TinyCore image

This commit is contained in:
Eric Teunis de Boone 2023-04-07 19:04:26 +02:00
parent 509669cdca
commit 340cab168f
3 changed files with 44 additions and 0 deletions

View File

@ -50,6 +50,12 @@ menuentry "[c] CPU info " --hotkey=c {
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 {
insmod chain

12
boot/tinycore/README.md Normal file
View File

@ -0,0 +1,12 @@
# TinyCore
Unpack a TinyCore iso file to this directory.
TinyCore downloads: http://www.tinycorelinux.net/
Minimal tree:
```
.
├── boot
└── cde
```

View 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