My previous tutorial is still available here but this one is a lot easier thanks to the new features introduced in Serva 2.1.
- 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.1.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 and make sure that the BINL box is checked.
- Save your settings and restart Serva.
- In your root directory you should see some files that Serva has created. Right click on the NWA_PXE folder and select properties. On the Sharing tab select Advanced sharing. Tick Share folder and set the Share name to NWA_PXE_SHARE.
- Create a subfolder under NWA_PXE. You can name it freely (e.g. UBUNTU_12_10_X64_LIVE). Copy the contents of the downloaded Ubuntu iso into this folder and create a ServaAsset.inf file (you can use Notepad) with the following content:
;-Serva v2.1 Non-Windows Asset Information File
; Ubuntu 12.10 Live
; \NWA_PXE\ offered as MS share NWA_PXE_SHARE user=serva password=avres
; When installed on a real PC there are not passwords asked
; When installed on VMWare a password is first asked (text mode); just hit enter
; The GUI asks for user=ubuntu with empty password.
asset = Ubuntu 12.10 Live
platform = x64
kernel = NWA_PXE/$HEAD_DIR$/casper/vmlinuz
append = showmounts toram root=/dev/cifs initrd=NWA_PXE/$HEAD_DIR$/casper/initrd.lz boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=YOUR USER NAME,pass=YOUR PASSWORD,ro ip=dhcp ro
The non-static fields are asset (you can name it freely), platform (x86/x64), user and pass (your Windows account is needed to access the shared folder) and the intitial ram disk file (Ubuntu 12.10 – initrd.lz, Ubuntu 12.04 – INITRD_N02.GZ which you have to download into the appropriate folder). Your file should look similar to this:
- Restart Serva for the last time.
- 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 Serva’s Install Menu with the Ubuntu option. Press Enter to continue. Ubuntu will be loaded into the memory (it takes a few minutes).
- 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.
Posted by Balint Banyasz on February 13, 2013
I’ve created a public Google Drive folder for the Lenovo S205 Drivers. The main advantage is that now you will be able download all the drivers as a single .zip archive. Also, the download speed should be better than the official Lenovo site’s.
I can’t garantee that I’ll update the drivers as soon as they are released (I don’t have enough time and bandwith) but I’d be glad to give edit rights to anyone willing to contribute to this project.
– The first drivers are still being uploaded. –
Posted by Balint Banyasz on November 25, 2012
Installing the Video Card Driver
- Launch System Settings and click on Additional Drivers (under Hardware group).
- Select the ATI/AMD proprietary FGLRX graphics driver and click install.
- After the installer finished, Reboot.
Fixing Ubuntu Boot Animation
- Open a Terminal
- Execute the following command:
gksu gedit /etc/initramfs-tools/conf.d/splash
- Paste this line into the file:
- Save the file, and then run
sudo update-initramfs -u -k all
- Reboot and enjoy the boot animation.
Posted by Balint Banyasz on November 3, 2012
If you’ve installed your operation systems correctly, then both Windows and Ubuntu will support the stand-by and hibernation functions.
In the latest Ubuntu (12.04, Precise Pangolin) you have to enable hibernation manually.
- To test whether hibernation is working, open a Terminal and run the following command:
- If Ubuntu powered down and on restart resumed the previous state correctly, then hibernation works. When Ubuntu prepares hibernation it may display error massages (like bluetooth, rt2800pci – wifi) for a short time, but it’s all good as long as it restarts properly.
- Open a Terminal and execute the following command:
sudo gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
- Paste this text into the file:
[Re-enable hibernate by default]
- Save the file and close gedit.
- After reboot, you’ll be able to use the hibernate option from the system menu.
Posted by Balint Banyasz on October 27, 2012
This well-known problem is due to the built-in Realtek Card Reader’s Linux driver. This issue affects other laptops as well, and is currently (in Ubuntu 12.04) unsolved.
This temporary ‘fix’ will produce the the following result:
- The card reader will be disabled by default
- All the USB ports (left and right side) are going to work by default
- You will be able to enable the card reader manually
- If you enable the card reader after connecting your devices to the USB ports on the right side, you will be able to use both the card reader and your USB devices at the same time
Here are the steps:
- Run Terminal and execute the following command:
sudo gedit /etc/modprobe.d/blacklist.conf
- Add the following line to the end of the file:
- Save the file and close gedit.
- After restart, your card reader will be disabled but all the USB ports are going to fuction properly.
Use this command to temporarly enable the card reader:
sudo modprobe rts5139
And this one to disable it:
sudo rmmod rts5139
To permanently re-enable the card reader, simply remove/comment out the blacklist rts5139 entry in blacklist.conf.
Source: Daniel Walton (launchpad)
Posted by Balint Banyasz on October 27, 2012
Important: If you follow this tutorial you wont’t be able to use Lenovo OneKey Recovery anymore (but on the other hand, you will get a fully-functional secondary OS and a more secure partition structure instead :)).
Recommendations / Guidelines:
- There’s a difference between advertised and actual capacity of an HDD. You can use this calculator to get the actual size of you drive. My 320 GB hard drive has the capacity of only 298.02 GB.
- According to the official requirements Windows 7 needs at least 16 GB (32-bit) / 20 GB (64-bit) hard disk space. Keep in mind that Windows tends to grow over time and don’t forget to add the the sofwares/games you are going to install to the final size as well. For someone who wants Windows as primary OS, I recommend an at least 80 GB partition.
- Ubuntu’s documentation says it’s going to need at least 5 GB hard disk space. For a general user (who just wants to have a secondary/backup OS or simply wants to try Ubuntu) I recommend a 10 GB partition. In this tutorial you don’t have to create any Linux partition as Ubuntu will automatically create them for you on the empty space. Linux experts will probably set the partition types and sizes manually anyway 😉
- People tend to use the standard Documents folder (or even worse: Desktop) for file storage. THIS IS WRONG AND IRRESPONSIBLE. Your OS can die anytime/virus can hit and I don’t think you would like to spend your time with recovery. It’s a lot easier and safer to just create a partition for your stuff. Besides, this partition can be used under both Windows and Ubuntu without any conflict. WORK or PERSONAL partition size should equal HDD capacity – Win7 partition – Ubuntu partition. In my case 300-80-10 = 210 GB.
- Don’t expect partition sizes to be exactly the same you’ve entered. Windows will subtract a small 100/200 MB partition from your System drive and there will be differences due to rounding as well.
- You have to enter partition sizes in MB (1 GB = 1024 MB ).
Scenario #1: You’ve bought your netbook with pre-installed Windows.
Your partitions should look similar to this:
- No drive letter | 100 MB / 200 MB | SYSTEM_DRV / No label
This is a Windows System Reserved space. DO NOT MESS WITH IT.
- C: | Windows_system / Windows7_OS / any other Win related label
This is your Windows partition. DO NOT DELETE IT.
- D: | LENOVO
Partition containing your Lenovo Drivers & Softwares.
- No drive letter | LENOVO_PART / No label
OneKey Recovery backup partition.
You have two options:
- Use Wubi (Ubuntu Installer for Windows) – Recommended (this is the only method which won’t disable OneKey Recovery)
Installs Ubuntu on your Windows drive without messing with the partition table. You can install/uninstall it like any other Windows software. Keep in mind, that Wubi won’t be as fast as the standard Ubuntu (see pros/cons here).
- Re-partition your hard drive.
- If you’ve stored files on your D: (Lenovo) drive, back them all up to your C: partition. You might want to back up the Lenovo stuff as well.
- Type in diskmgmt.msc in Start menu and Disk Management will pop-up.
- Delete Lenovo’s partitions: LENOVO and LENOVO_PART (it’s the last one with “OEM Partition” attribute, not necessarily have a label). Be careful not to remove any Windows-related or personal volume.
- Right click on your C: drive and choose Shrink. Enter the desired size in MB (see my recommendation above, I’ve set it to 81 920 MB).
- You should see two partitions and an unallocated space.
- Right click on the unallocated space and select New Partition. In New Parition Wizard select Primary partition > Enter the desired size in MB (see my recommendation above, I’ve set it to 215 040 MB). > Assign the letter ‘D’ > Select Format, choose NTFS as file system and enter a Volume label. I named it WORK.
- The Windows part is over. If everything went well, you should have your computer ready for Ubuntu. Proceed with the Ubuntu installation tutorial below.
Scenario #2: You’ve bought your netbook without pre-installed Windows.
Important: You have to install Windows in Legacy/BIOS mode instead of the default UEFI mode (otherwise WiFi/Sleep/Hibernation won’t work due to their incompatibility with UEFI).
- You have three ways to install Windows on your device:
- If you want to install Windows via DVD, do these extra steps to start Windows installer in Legacy mode:
- Enter BIOS (press F2 when you see the Lenovo logo) and set SATA Controller working mode to ‘AHCI’ under the Configuration tab. Switch to Exit and select Exit Saving Changes. Reboot.
- Enter Boot menu (press FN+F11 when you see the Lenovo logo). Select your DVD drive.
- Windows installer’s “Press any key to boot from CD/DVD…” message will appear but DO NOT PRESS ANY KEY – WAIT.
- It will then either boot straight from the DVD or it will once again say “Press any key to boot from CD/DVD…”, but in a slightly different (DOS-like, low-resolution) font. This is when you need to press a key.
- If everything went well, Windows installer will now start in legacy mode.
- Windows Installer
- Set your localization > Install now > Accept the licence terms > Choose Custom (advanced) installation
- You will see some default FreeDOS / Lenovo partitions. We are going to delete all of them.
- Click on Drive options (advanced) and delete the partitions one-by-one until you have a single Unallocated Space on your drive.
- Click on New, enter the desired partition size for the System volume (see my recommendation above, I’ve set it to 81 920 MB) and click Apply. Windows will automatically create an additional partition (System Reserved) along with the new partition.
Important: If it creates three partitions, it means that Windows installer is still in UEFI mode. Delete these partitions and do the steps again.
- Create your work/personal partition the same way (this partition is going to be accessible by booth Windows and Ubuntu). As for the partition size, see my recommendation above. I’ve set it to 215 040 MB.
- Now, you should see three partitions and some unallocated space.
- Select Partition 2 and click next.
- That’s it. The rest is self-explanatory. After the Windows installation is done, you can proceed with the Ubuntu installation tutorial below.
- You have three ways to install Ubuntu on your device:
- In Ubuntu’s Boot Menu choose “Try Ubuntu without installing”. This will start Ubuntu in Live mode.
- Click on the “Install Ubuntu 12.04” icon on your desktop.
- Ubuntu Installer
- Set localization
- Check “Download updates while installing” and “Install this third-party software” if you have a working internet connection. Ubuntu live may have trouble setting up wifi and ethernet, in this case you can either try to fix the network devices (see my tutorials) or install the updates later.
- Select “Install Ubuntu alongside Windows 7”.
- That’s it. The rest is self-explanatory.
- If you want to customize your boot loader (change default operating system, waiting time, etc.), read my GRUB customization tutorial.
GRUB 1.99 – This is what you are going to see when the computer starts.
Partitions under Windows 7 (Disk Management)
Partitions under Ubuntu 12.04 (GParted)
Posted by Balint Banyasz on October 13, 2012