Video of this here : https://www.youtube.com/watch?v=8SPV1ODAzoc
This is a great way to repurposed an old computer into a smart TV using LibreELEC/Kodi and a full lightweight antiX Linux as a full O.S. This is ½ of a D.I.Y. home smart TV project. The construction of TV mount and floating laptop desk can be found at URL coming soon.
Any data on this hard drive will be deleted.
] INSTALL LibreELEC [
Install LibreELEC, just enough Linux for Kodi. This a fast install and screenshots are attached to assist.






] INSTALL antiX Linux [


















There are a few more installation screens after this. They are self explanatory.
] FIXING THE DUAL BOOT [
After antiX Linux has installed when you reboot you will notice grub only has antiX Linux as your choice.
Log into antiX Linux. Go to the command line and install the following.
# sudo apt install grub-customizer
If you followed the instructions and used a clean hard drive for installation the following should be the same.
Let us discover how the hard drives are partitions.
# sudo blkid
You should receive an output like this.
/dev/sda1: SEC_TYPE="msdos" LABEL="System" UUID="8E4B-146C" TYPE="vfat" PARTUUID="5c14207c-01"
/dev/sda2: LABEL="Storage" UUID="c978caa6-e8c0-4d71-812a-83291526fb1f" TYPE="ext4" PARTUUID="5c14207c-02"
/dev/sda3: LABEL="swapantiX" UUID="7308e239-adfe-4313-b589-637802d192f8" TYPE="swap" PARTUUID="5c14207c-03"
/dev/sda4: LABEL="rootantiX19" UUID="051a33f2-a4a3-4db1-a7f7-147aee61cc15" TYPE="ext4" PARTUUID="5c14207c-04"
LibreELEC creates these two partitions /dev/sda1: SEC_TYPE=”msdos” and /dev/sda2: LABEL=”Storage” . The partition labeled “msdos” is for the operating system and “ Storage” is for storage. This is the information we need. Change if yours has a different hard drive partition numbering.
Let us create the Grub entry for LibreELEC. Open and edit 40_custom.
Old Laptop Into BEST Smart TV / Dual Boot
# sudo nano /etc/grub.d/40_custom
menuentry "LibreELEC_Kodi" {
set root=(hd0,1)
linux /KERNEL boot=/dev/sda1 disk=/dev/sda2 quiet
}
“set root=(hd0,1)” is the first hard drive denoted with /dev/sdaX. If it was the second it would look like /dev/sdbX.
“boot=/dev/sda1 disk=/dev/sda2” contains the location of the operating system boot information dev/sda1 and storage dev/sda2 for LibreELEC.
Update Grub.
# sudo update-grub
Move LibreELEC to the top so it boots by default using a graphical user interface.
# sudo grub-customizer
Click on “LibreELEC_Kodi” and use the up arrow at the top to move it below the line labeled “Advanced options for Debian”
Reboot and both operating systems will be present and LibreELEC will be the default O.S. that loads.
