Run Your Old Notebook Back to the Future
by vittvi in Circuits > Computers
325 Views, 2 Favorites, 0 Comments
Run Your Old Notebook Back to the Future
Do you have a beautiful full working old notebook but that cannot handle online meeting or web navigation anymore?
You don't have to get it into waste! You can still use it's monitor, keyboard, battery and soundcard!
Just remove the Optical Drive and replace it with a Single Board Computer!
Resources:
- Usage of mouse and keyboard between two computers:
- Barrier (MacOS, Windows, Linux) link
- Mouse without Borders (windows) link
- Logitech sinergy
- Other useful hints
- Usage of notebook monitor for raspberry without VNC: link
- Usage of optical bay for SBC: link
Supplies
You need to take
- ethernet cable
- HDMI usb capture card
- HDMI cable (shorter is better)
- VLC media player: link
- Any VNC client SW (only needed for the first setup): I suggest this
- Single board PC (SBC) for your needs: (Rockpro64, Raspberry PI4, Asus TinkerBoard, Lattepanda, mac mini, an old Smarphone HDMI out capable)
- Operating system you prefer (even MS Windows, if you really want it and cannot live without it)
This sw allows you to share notebook keyboard and mouse to the SBC:
- Barrier (MacOS, Windows, Linux) link
- Mouse without Borders (windows) link
- Logitech sinergy
- Other useful hints
FULL INTEGRATION OPTION: replace your optical drive with the new motherboard (SBC) for you notebook.
- One SATA or ATA cable like this
Power Up the Devices
Power the SBC and connect it to your router with ethernet cable.
Download and install VNC client
Connect to SBC
OPTIONAL: Run Your Laptop Without OS Nor Hard Disk
Here’s a synthesized version of the steps to create a working PXE server for a thin client ISO based on the tutorial from LinuxConfig.org1:
Steps to Create a PXE Server on Raspberry Pi
- Install Required Packages:
- Update your package list and install dnsmasq, pxelinux, and syslinux-efi:
sudo apt-get update
sudo apt-get install dnsmasq pxelinux syslinux-efi
- Set Up File Structure:
- Create directories for BIOS and EFI boot files:
mkdir -p /mnt/data/netboot/{bios,efi64}
- Copy necessary syslinux files to the respective directories:
cp /usr/lib/syslinux/modules/bios/{ldlinux,vesamenu,libcom32,libutil}.c32 /usr/lib/PXELINUX/pxelinux.0 /mnt/data/netboot/bios
cp /usr/lib/syslinux/modules/efi64/{ldlinux.e64,vesamenu.c32,libcom32.c32,libutil.c32} /mnt/data/netboot/efi64
- Extract ISO Files:
- Mount the thin client ISO and copy its contents to the netboot directory (we'll use only the .iso I created for this purpose, not Debian as explained in the tutorial)
sudo mount -o loop /path/to/thinclient.iso /mnt
sudo cp -r /mnt/* /mnt/data/netboot
sudo umount /mnt
- Configure PXELINUX:
- Create a PXELINUX configuration file:
mkdir -p /mnt/data/netboot/pxelinux.cfg
nano /mnt/data/netboot/pxelinux.cfg/default
- Add the following configuration to the default file:
DEFAULT vesamenu.c32
PROMPT 0
MENU TITLE PXE Boot Menu
LABEL thinclient
MENU LABEL Thin Client
KERNEL /path/to/kernel
APPEND initrd=/path/to/initrd boot=live
- Configure dnsmasq:
- Edit the dnsmasq configuration file:
sudo nano /etc/dnsmasq.conf
- Add the following configuration:
interface=eth0
dhcp-range=192.168.5.100,192.168.5.200,12h
dhcp-boot=pxelinux.0
enable-tftp
tftp-root=/mnt/data/netboot
Final phase
- Start dnsmasq:
- Restart the dnsmasq service to apply changes:
sudo systemctl restart dnsmasq
- Boot the Thin Client:
- Connect the thin client to the network and configure it to boot from the network (PXE).
Configure SW
Download and install BARRIER (or one of the other suggested keyboard sharing SWs) from Debauchee repository on your notebook ad on the SBC
Configure your notebook as "server"
Configure your SBC as "client" and add it to the server.
Once the keyboard and mouse are shared between the computers you can connect the SBC to the HDMI input of your USB capture device.
Download and install VLC player on your notebook: open "USB capture device"
You can now stop using VNC and enjoy the full performances of you renewed notebook.