
Install Turnkey Linux on the Raspberry Pi B
Installing Turnkey Linux on the Raspberry Pi B
Get a copy of Raspbian Wheezy
Getting a copy of Wheezy is a must, this project will not work correctly on Jessie. The newest version of Wheezy at time of writing this is July 2013.
http://downloads.raspberrypi.org/raspbian/images
Burn the .img file to your SD card, and fire up your Raspberry Pi.
Next do some initial configuration.
Wait for the raspi-config menu. Once loaded, do the following…
Expand your SD card.
Set your Locale, Time-zone, etc.
In the Advanced menu, set your gpu ram to 16mb.
In the Advanced menu, enable SSH.
In the Overclock menu, bump to Modest, or whatever value you feel comfortable with.
Now Finish, and allow the Raspberry Pi to Reboot.
Set up a Root Password
Set up a root user password by entering the following command.
sudo passwd root
Make sure you pick a strong password. Enter it twice to confirm.
Convert to Turnkey Linux
Next lets install Turnkey Linux using the TKL_Patch. Thank you to ghoulmann & Mort’z
We are going to need Root access for this.
sudo su
Clone the git repo to the Raspberry Pi
git clone https://github.com/mortezaPRK/Raspliance-Core /tmp/tkl
Next lets compile the Patch.
cd /tmp/tkl/
./compile_tklpatch.sh
Next lets turn TurnKey into a system path.
tklpatch-apply / ./core/
This may take a while… Once complete reboot.
reboot
Logging in to Turnkey.
Once the reboot is complete, you will be prompted to login again. Login with
root
(your password)
Set up our Network Interfaces.
On the initial install, we will be missing our Network Interfaces. At the prompt enter the following… (Assuming your logged in with root. If not, prefix the following command with ‘sudo’)
nano /etc/network/interfaces
This will likely give you a blank file. If you want to use your DHCP Server for the IP address for your Server enter the following…
# UNCONFIGURED INTERFACES
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
If you would like to add a static IP address to your Turnkey server (recommended) enter the following, but set to your networks configuration…
# UNCONFIGURED INTERFACES
auto lo eth0
iface lo inet loopback
# Set the following to your network settings
iface eth0 inet static
address 192.168.10.10
netmask 255.255.255.0
broadcast 192.168.10.255
network 192.168.10.0
gateway 192.168.10.1
dns-nameservers 192.168.10.1
When finished, press Ctrl+x, y to conform save and exit. This should set up your Network adapter to work in Turnkey.
Lets give this a reboot, and let the system come up again.
reboot
Logging in to Webmin
On initial installation Webmin doesn’t run. We need to start the service. Start your web browser and enter the following URL.
http://(your ip address):4200
You will be prompted for your login information. You can log in with your pi username and password. Once logged in, enter the following.
service webmin start
Once completed, you can now log into the Webmin interface by entering the following in your browser.
http://(your ip address):12321
Now you should be logged into the Webmin panel. Go ahead and have fun!
Great guide, helped tons. Keep it up!
Thanks Felipe, glad it helped!
On this step…
Next lets turn TurnKey into a system path.
tklpatch-apply / ./core/
This may take a while… Once complete reboot.
How long should it take? I am asking because my screen has been black with a underscore blinking for a little while now.
Thank you
Hi Andrew, if I remember correctly it took a while, 20 minutes or so.
It looks like my image was corrupted, but when I reformatted the sd with a fresh image I am only getting the rainbow gradient splash screen. Have you run into this issue before?
In the directions you also mention that the latest version of wheezy is from june 2015, but I could only find one from May 2015.
Hi Andrew, the image is actually from July. Just checked and it is still there… 2013-07-26-wheezy-raspbian/ As for the corrupted image, try re-downloading again and re-imaging again. If you still have the same problem, test another SD card if you have one.
yeah but its is 2013 not 2015. I have been looking for a download from 2015 as well 😉
You are absolutely correct, sorry guys. I will correct this now!
hello
setup
1. rapberry pi 2
i tried following
1. raspbian stretch
2, raspbian wheezy (jul 2013 version as suggested)
with raspbian stretch, just as someone pointed out after tklpatch-apply step the screen goes blank
with raspbian wheezy raspberry pi is not booting up
has anyone been successful in making it work for raspbian stretch on raspberry pi 2
Hi Jagnan,
As far as I know the tlkpatch didn’t work on Raspian Jessie, so I doubt it will work on Stretch either without a lot of modification. I haven’t tried it on the Raspberry Pi2, but I know Wheezy is compatible with that model. Maybe try writing the image again and see if that helps. It should boot…
The 2013-07-26 wheezy-raspbian doesn’t boot on my raspberry pi 3 model B only the newer versions which don’t have wheezy would boot it up so the SD-Card can’t be the problem. what could I do?
As far as I know Tobi, Wheezy doesn’t have any support for the ARMv8 kernel in the Raspberry Pi 3. Its seems this this will only work on the Raspberry Pi 2 hardware or older.