amgh:
Complete and hopefully thorough instructions that should get you from start to finish:
STEP 1:Download CorePlus-current.iso from the 4.x repo:
http://tinycorelinux.net/4.x/x86/release/CorePlus-current.isoBurn CorePlus 4.x to CD and boot your DOS box using this disc image.
Run tc-install and reformat the USB stick using 4.x
Tell tc-install to install everything (wireless, you name it.)
When asked about extensions, point tc-install to /mnt/sr0/tce
Allow the installer to "do its thing." Once finished, open a Terminal window and type the following:
fdisk -l | grep bytesThis will show you the drives you have available on the machine. Paying attention to the drive size (in bytes) determine which one is your USB drive - I'm assuming
sda1 for this document.
sudo tune2fs /dev/
sda1 -L tc4 [ENTER]
sudo mount /mnt/
sda1 [ENTER]
cd /mnt/
sda1/tce/boot/extlinux [ENTER]
sudo vi extlinux.conf [ENTER]
Using the arrow keys, navigate to the APPEND line and press the letter "a" to start editing.
Erase and replace the boot codes to read as follows
after initrd=boot/core.gz:
quiet syslog showapps tce=LABEL=tc4 opt=LABEL=tc4 home=LABEL=tc4 local=LABEL=tc4If your DOS box has no internet, also add
nodhcp after showapps.
Press <CTRL>+C to stop editing, then type
:wq to save and exit.
Type in
sync [ENTER] to ensure the changes are written to the stick, then
eject the CD,
sudo poweroff to shut down the machine, then remove the USB stick.
If your DOS box has internet, do the next step on the DOS box, otherwise use the Kubuntu machine.
STEP 2:Boot the internet based machine with the USB stick. If you did a complete install from Core Plus, you should end up on a desktop. We have a lot more than we need, and none of what we want, so the goal here is to create a custom install. Attached you'll find one of our in-house extension tools which should help you along the way. Place this file (package.tar.gz) on the USB stick and extract it into a directory such as /mnt/
sda1/appman
1) From the desktop, press <CTRL>+<ALT>+<BACKSPACE> which should shut down XWin
2) From the prompt, navigate to /mnt/
sda1/appman
3) Copy the extension
cp appman.* /etc/sysconfig/tcedir/optional/4) Add the following line into /opt/bootlocal.sh:
su -c "tce-load -i /etc/sysconfig/tcedir/optional/appman-1.0.1.tcz" tcReboot your machine by entering
sudo rebootAt this point you have everything you need to maintain your software. Now, all that's needed is to tell it what software apps you want to maintain. Once you've rebooted, you should end up on the Plus desktop again. Run the EDITOR from the toolbar and OPEN /opt/.apps.lst which you'll find four of the basic desktop applications/extensions (Xvesa, etc.) Delete all of these lines and add the following:
acpid.tcz
alsa.tcz
dosbox.,tcz
firmware-KERNEL.tcz
libasound.tcz
libogg.tcz
libvorbis.tcz
sdl-sound.tcz
SDL.tcz
* You may need additional drivers for graphics/sound which will have to be experimented with.
Once saved, shut down X-Win (ctrl+alt+backspace) and run the command
reformat from the prompt. When the machine reboots, it'll check and install any software listed from above along with any dependencies needed. You'll obviously need internet for it to do its job, so if your DOS box doesn't have internet, boot the USB stick from your other machine and let the app manager run its duties with 'net access.
The reformat command will remove any software extensions you have installed (and optionally keep wireless networking if you tell it to) and once it reboots, will attempt to reinstall what ever extensions you have listed in /opt/.apps.lst while retaining all of your settings you have in /home and /opt. If you ever clutter up your home directory and want to start that off from scratch, simply delete /mnt/
sda1/home and reboot - a clean home directory will be created. (The same applies to /opt.) If your network is slow to assign addresses to the machine and networking isn't detected when the machine first boots up, simply drop to the command line and run
appman manually.
Finally, if you're not too familiar with dosbox itself, I'd recommend reading the comments from the extension itself.
From the prompt:
tce-abFrom the desktop: "Apps"
Search for "dosbox" and scroll down.
Hope all of this gets you where you need!