Check out my new, simpler tutorial.
If you’ve previously done my tutorial on Windows 7 PXE Network Installation you can skip to Step #5.
If you want to use both Windows and Ubuntu on your S205 make sure you’ve read my tutorial on Dual-Booting before you proceed with the installation.
If you’ve bought a Lenovo S205 without pre-installed OS – FreeDOS doesn’t count 🙂 – you must’ve wandered how you could install an OS on this device without an internal optical drive. I have good news: you can install it in three different ways.
- via External (USB) DVD drive
- via Pendrive
- and via Network (PXE)
- Router: you can connect your computers directly if you have an Ethernet crossover cable, but you have to configure your server differently.
- Computer with Windows installed: you can use any computer-OS combination as a PXE Server as long as it has a TFTP software (even your smartphone can be a server :)). In this tutorial I’m going to use a Windows 7 PC with Serva because I think this configuration would suit the S205 owners the best. There is an alternative TFTP software for Windows called TFTPD which is more popular than Serva but in my opinion also harder to set up.
- Ubuntu CD/DVD: download the latest desktop version of Ubuntu from the official website.
(!) You should temporarily disable your firewall to avoid potential conflicts.
- Download and extract Serva to a folder (e.g. C:\Serva_Non-Supporter_64_v2.0.0). Choose the appropriate Serva version based on the Ubuntu edition you are about to install (x64 – 64 bit, x86 – 32 bit). I recommend installing the x64 edition of Ubuntu, see a comparison here) . Use the selected architecture consistently throughout this tutorial.
- Create a root folder for Serva (e.g. C:\SERVA_ROOT).
- Run Serva and click on the Settings button at the bottom.
- On TFTP tab tick TFTP server and select the TFTP Server root directory you have created in the previous step (in my case C:\SERVA_ROOT).
- Click on the DHCP tab, set proxyDHCP, make sure that the BINL box is unticked and set pxelinux.0 as Boot File.
- Save your settings and close Serva.
- Open your favorite FTP software and add a new connection (Host name: archive.ubuntu.com, User name: anonymous, Password: [leave it blank], Remote dir: /ubuntu/dists).
- After a successfull connection you should see some Ubuntu distribution folders. Now you have to look up the code name of your Ubuntu version here (12.04 LTS is called Precise Pangolin). Navigate to the /ubuntu/dists/[YOUR_UBUNTU’S_CODE_NAME]/main/installer-[YOUR UBUNTU’S ARCHITECTURE: 32 bit – i386 / 64 bit – amd64]/current/images/netboot folder. Download ubuntu-installer, pxelinux.0 and pxelinux.cfg (∑ ~12 MB) to the Serva root folder that you’ve created.
- Create a new folder in your Serva root directory called ubuntu-desktop. Insert / mount your Ubuntu CD and copy vmlinuz and initrd.lz from the casper folder to the ubuntu-desktop folder.
- Edit your pxelinux.cfg/default file with notepad. Add
append root=/dev/nfs boot=casper netboot=nfs nfsroot=[YOUR.IP.ADRESS][YOUR DVD DRIVE LETTER] initrd=ubuntu-desktop/initrd.lz quiet splash —
Save the file and close Notepad.
- Download and install haneWin NFS Server (30-day trial or google is your friend 🙂 OR you can try to get NFS working using FreeNFS). Open haneWin NFS Server as administrator. Go to Server tab and make sure below both check boxes are ticked. Switch to the Exports tab click the Edit exports file button. Delete / comment out the sample lines and add the following line:
[YOUR DVD DRIVE LETTER] -public
- Run Serva.
- Start your s205 and press Fn+F11 to enter the Boot Menu. Select the PCI LAN: Realtek PXE option. If your settings are correct, after a few seconds you should see Ubuntu’s Installer Boot Menu. Select the extra live option and press Enter to continue.
- Ubuntu Live will start with the nice Unity look and a dedicated Ubuntu installer icon. That’s it. If you want to use both Windows and Ubuntu on your S205 make sure you’ve read my tutorial on Dual-Booting before you proceed with the installation.