MyWackoSite: Tiny Core Linux

https://wiki.ebal.gr     Version: 1 (09/17/2013 12:34)

Tiny Core Linux


Hits : 11,840

TinyCore Linux – Remaster

Version : 4.5.5

Preparation


a. Download TinyCore[link1] Linux

BASH
wget -c http://distro.ibiblio.org/tinycorelinux/4.x/x86/release/TinyCore-current.iso


b. Create local folders & mount TinyCore



c. Copy & extract Core cpio image



d. At this point you can chroot the new environment for testing it:



Be aware that you need to mount sys,dev & proc with bind option to work properly.

Install packages


a. Download your packages (and their dependencies) from:

http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/



b. Install packages to your tiny core environment

you 'll need squashfs-tools[link2]


Customize your tinycore


Use chroot and customize your new tinycore environment.

If you want your tc user to auto-whatever you need-start something (like X):

a.


(after clear command)

b.

Archive your tinycore environment


first exit from chroot env
You 'll need AdvanceCOMP[link3]

a.


PXE BOOT


If you need to pxe boot your new tinycore, you are done !

below is the configuration to default (pxelinux.cfg/default):

LABEL TinyCoreLinux
	MENU LABEL TinyCoreLinux
	LINUX vmlinuz
	INITRD core.gz		


The vmlinuz image is here: tinymount/boot/vmlinuz

ISO 


If you need an iso 

a. Create the file structure



b. Edit isolinux.cfg



DEFAULT menu.c32
PROMPT 0
TIMEOUT 10

MENU TITLE TinyCore
MENU MARGIN 6
MENU VSHIFT 1
MENU ROWS 13

LABEL TinyCore
MENU DEFAULT
MENU LABEL TinyCore 
KERNEL /vmlinuz
APPEND initrd=/core.gz		


c. Create the iso file: