@Jop: No, the X server is the core of the linux GUI; it's a fairly substantial package. Window managers like openbox are just a layer on top of X. When skimming that wikipedia article I mistook 'fltk' for 'lxde', but 'flwm' (the window manager on tiny core that uses fltk) is stil an Xorg client. If you're already running a DHCP on Windows, add option 66 (pxe server IP) and 67 (pxelinux.0). Otherwise set up DHCP in CentOS. Install core-remaster.tcz using Apps tool. Our company just started adopting Linux and Unix and we are forced to setup a PXE boot environment. I Installed Centos 7 on my parallels for mac and installed the.
I have download Tiny Core Linux from the official site. I searched on the official site, but could not find a solution for my actual problem.
How can I make a bootable USB stick and how can I install this Linux distribution?
My Laptop configurations are RAM: 2 GB, HDD: 256 GB, DVD-RW, USB-slot available.
- Vishal,did Jeffery's reply solve your question? Please let us know whether you were able to install Tiny Core. Thank you!
- I use UNetBootin to burn my ISO images, it supports burning to a USB.
http://unetbootin.sourceforge.net/Once you burn the image to your USB, you'll need to configure your BIOS so that it boots to the USB and not your HDD. To do so, press the 'delete' button AS SOON AS THE SYSTEM STARTS. If that doesn't work, restart and look for the small text indicating which key launches you into the BIOS setup.
More information on changing the boot order:
http://www.hiren.info/pages/bios-boot-cdromOnce you are in there change the first one to 'USB' or 'USB/FLASH'. Make sure the second is 'HDD'. Save and reboot and you should be able to install from the USB. Once it is installed, change the boot order back to the way it was before and profit!
Learning has never been so easy!
Set up a PXE server in CentOS so we can boot into TinyCore over a LAN
6 Steps total
Step 1: Set up tftp server
yum install tftp-server
vi /etc/xinetd.d/tftp
vi /etc/xinetd.d/tftp
disable = no
server_args = -s /tftpboot
server_args = -s /tftpboot
service xinetd restart
yum install syslinux
mkdir /tftpboot
cp /usr/share/syslinux/pxelinux.0 /tftpboot
cp /usr/share/syslinux/menu.c32 /tftpboot
cp /usr/share/syslinux/memdisk /tftpboot
cp /usr/share/syslinux/mboot.c32 /tftpboot
cp /usr/share/syslinux/chain.c32 /tftpboot
yum install syslinux
mkdir /tftpboot
cp /usr/share/syslinux/pxelinux.0 /tftpboot
cp /usr/share/syslinux/menu.c32 /tftpboot
cp /usr/share/syslinux/memdisk /tftpboot
cp /usr/share/syslinux/mboot.c32 /tftpboot
cp /usr/share/syslinux/chain.c32 /tftpboot
Step 2: Set up DHCP
If you're already running a DHCP on Windows, add option 66 (pxe server IP) and 67 (pxelinux.0).
Otherwise set up DHCP in CentOS:
yum install dhcp
vi /etc/dhcp/dhcpd.conf
yum install dhcp
vi /etc/dhcp/dhcpd.conf
allow booting;
allow bootp;
option option-128 code 128 = string;
option option-129 code 129 = text;
next-server 10.0.0.100;
filename '/pxelinux.0';
subnet 10.0.0.0 netmask 255.255.255.0 {
range dynamic-bootp 10.0.0.1 10.0.0.10;
}
:wq to save and quit
allow bootp;
option option-128 code 128 = string;
option option-129 code 129 = text;
next-server 10.0.0.100;
filename '/pxelinux.0';
subnet 10.0.0.0 netmask 255.255.255.0 {
range dynamic-bootp 10.0.0.1 10.0.0.10;
}
:wq to save and quit
service dhcpd restart
Step 3: Set up TinyCore
wget http://distro.ibiblio.org/tinycorelinux/5.x/x86/release/TinyCore-current.iso
mkdir -p /tftpboot/images/TC
mount -o loop tinycore-current.iso /mnt/TC
cp -R /mnt/TC/boot /tftpboot/images/TC/
cp -R /mnt/TC/cde /tftpboot/images/TC/
mkdir -p /tftpboot/images/TC
mount -o loop tinycore-current.iso /mnt/TC
cp -R /mnt/TC/boot /tftpboot/images/TC/
cp -R /mnt/TC/cde /tftpboot/images/TC/
Step 4: Add TinyCore entry to PXE menu
vi /tftpboot/pxelinux.cfg/default
default menu.c32
prompt 0
timeout 300
ONTIMEOUT local
MENU TITLE PXE Menu
LABEL tinycore
MENU LABEL TinyCore
kernel images/TC/boot/vmlinuz
append initrd=/images/TC/boot/core.gz tce=/cde
:wq to save and quit
prompt 0
timeout 300
ONTIMEOUT local
MENU TITLE PXE Menu
LABEL tinycore
MENU LABEL TinyCore
kernel images/TC/boot/vmlinuz
append initrd=/images/TC/boot/core.gz tce=/cde
:wq to save and quit
Step 5: Remaster TinyCore (so it can find the cde folder)
Copy folders from TinyCore-current.iso to USB drive
Boot into TinyCore using TinyCore-current.iso (a VM with no HDD is fine for this)
Mount USB drive in TinyCore using mount tool
Copy core.gz from boot folder on USB drive to /tmp
Install core-remaster.tcz using Apps tool
Run core-remaster to extract files from core.gz
Copy cde folder from USB drive to /tmp/core_extract
Run core-remaster to package files back into core.gz
Copy /tmp/core_package/core.gz to USB drive
Copy new core.gz from USB drive to /tftpboot/images/TC/boot on CentOS machine
Boot into TinyCore using TinyCore-current.iso (a VM with no HDD is fine for this)
Mount USB drive in TinyCore using mount tool
Copy core.gz from boot folder on USB drive to /tmp
Install core-remaster.tcz using Apps tool
Run core-remaster to extract files from core.gz
Copy cde folder from USB drive to /tmp/core_extract
Run core-remaster to package files back into core.gz
Copy /tmp/core_package/core.gz to USB drive
Copy new core.gz from USB drive to /tftpboot/images/TC/boot on CentOS machine
Step 6: Another Way
Rather than remastering core.gz to include the cde folder, you can also use the tftplist bootcode:
Add tftplist=://images/TC/cde/tftpboot.lst to /tftpboot/pxelinux.cfg/default and remove the tce=/cde bootcode.
Eg. 'append initrd=/images/TC/boot/core.gz tftplist=://images/TC/cde/tftpboot.ls'
Eg. 'append initrd=/images/TC/boot/core.gz tftplist=://images/TC/cde/tftpboot.ls'
Then copy /tftpboot/images/TC/cde/onboot.lst to tftpboot.lst and add /images/TC/cde/optional/ to each line before the .tgz filename.
Eg. /images/TC/cde/optional/Xlibs.tcz
Eg. /images/TC/cde/optional/Xlibs.tcz
This method is a bit slower than the other way and doesn't work 100% for me, but I thought I'd include it anyway.
You should now be able to boot into TinyCore using PXE.
Published: Sep 12, 2014 ยท Last Updated: Sep 24, 2014
4 Comments
- SerranoShawnCB Sep 12, 2014 at 09:29amDorrel this is awesome dude, Our company just started adopting Linux and Unix and we are forced to setup a PXE boot environment. I Installed Centos 7 on my parallels for mac and installed the Tinycore following your instructions and it worked to the T. Thanks Mate
- SerranoDorrel Sep 12, 2014 at 11:28amNo problem. Thanks for the spice!
TinyCore is pretty cool - I've even got it to connect to our Exchange server. If you're interested, I'll write up another How-to for that as well. - SerranoShawnCB Sep 15, 2014 at 10:53amPlease do Dorrel.
This is free tools and its amazing. I'm currently busy installing Salt and Nagios to Monitor the Windows Infrastructure. And what's amazing is that I only know Linux for about six months. All on Centos 7 and then deployment on the Red Hat Prod Servers. - SerranoDorrel Sep 24, 2014 at 01:59pmHere's how to set up an email client to connect to Exchange 2010:
http://community.spiceworks.com/how_to/show/94103-connect-to-exchange-2010-server-in-tinycore