Wednesday, 30 October 2013

Install Lubuntu 13.10 (Saucy Salamander) with nvidia drivers and keep Windows 8 on the side

Long time no blog... quite busy both at work and with my little one ;-)
Barely have time to play around with my laptop...

So here is the deal :

1) Install Lubuntu 13.04 following one of my previous posts (why starting with 13.04 ? Because the alternate installer for 13.10 is crashing during software installation :-( - at least for me)

2) When you have 13.04 fresh, just perform a :

sudo do-release-upgrade and follow instructions

3) Then (don't install nvidia-prime yet or it will mess up everything unless you're on unflavored Ubuntu) :

sudo apt-get install nvidia-319 nvidia-settings-319

4) For your records, here is the original thread on launchpad regarding the nvidia-prime issue :



and install it using :

sudo dpkg -i nvidia-prime_0.4.2~ubuntu13.10.1_all.deb

5) Reboot and enjoy nvidia power ;-)

6) Also, if you ever lost your Windows 8 entry in grub on the way, here is the magic recipe :

sudo vi /etc/default/grub and add GRUB_DISABLE_OS_PROBER=true at the end

7) Search for the magic String !
This command :

sudo grub-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi

will output a String like XXXX-XXXX, copy it and then create a custom menu entry for Windows 8 with sudo vi /etc/grub.d/40_custom like this :

menuentry "Microsoft Windows_8" {
search --fs-uuid --no-floppy --set=root XXXX-XXXX
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}

8) Run sudo update-grub2 so that the menu entries gets regenerated

9) Reboot and enjoy !