Montag, 13. Oktober 2014

How to setup Dual Boot of Linux (Xubuntu) on pre installed Windows 8.1 on Lenovo U430p

Notebook: Lenovo Ideapad U430p Intel 64bit pre installed Windows 8.1 UEFI
Linux distribution to setup as dual boot: Xubuntu 14.04.1

I got a new Lenovo U430p with windows 8.1 and I wanted to have xubuntu installed next to it, so I can boot either windows or linux on my notebook. After trying for days and many fails with that half-knowledge of mine about UEFI, legacy boot, grub, wubi, secure boot etc...  I finally solved this problem. This is how I got things working:

For a shorter howTo check this out: http://danni-kun.blogspot.de/2014/10/quick-dual-boot-installation-on-lenovo.html



Starting point:

For this I used a fresh installation/recovery of windows 8.1 which came with the factory setup. No changes in any settings within windows nor in the bios were made. If you have a backup of your windows, you should install that first. I recovered windows with onekey recovery and had to reinstall xubunu to be able to boot it again...

BIOS default settings


1. create a backup partition


Since you won't get a recovery cd unless you pay Lenovo for it, you're well-advised to create some backups. You can create an external device via "control panel -> recovery" to recover the whole system.
For backing up the windows distribution in case you have some programs/data to backup, you can use the "onekey recovery" tool.
I really recommend theese two steps. Saved my ass!


2. create free/unpartitioned space for your linux distribution


Shrink your main partition (Windows8_OS for example) to create about 50GB (or less) free space.
You can do this via "Computermanagement -> Discmanagement".

Discmanagement (right click on win)

creating free space


3. download your desired linux distribution iso

I just tried this with xubuntu, but I asume it will work with other distributions like ubuntu, lubuntu etc as well. Keep in mind, for 64bit system you need the "64AMD" version of your distribution. Even if your system is an intel 64bit, this will be the right file: xubuntu-14.04.1-desktop-amd64.iso

from http://xubuntu.org/getxubuntu/


4. download rufus and create a boot device

Rufus is used to create UEFI bootable USB drives. You can download rufus from http://rufus.akeo.ie/. Just run the application (no installation needed).

For xubuntu you need at least a 1GB USB device.

Rufus is pretty self-explaining. Just use the settings on your device for UEFI, FAT32 and choose the right ISO. You find a "DONE" in the left bottom corner when your device is ready.

rufus settings (german)


5. reboot from USB device

I wasn't able to boot any USB disc or device while having UEFI enabled. The device created with rufus however was bootable with UEFI.
To boot it, you can press F12 (fn+f12) on restart. Then you should see the boot manager.

bootmanager after pressing F12 on boot

Another option is to change the boot order in BIOS (press F2). Or you can try clicking "restart" in windows while holding shift. Then you can choose to boot from USB device on restart.


6. install xubuntu

After booting from USB device you should be able to install xubuntu. Choose "something else" for install and ignore the fact that there was no OS detected.



Locate your free space you created earlier and create 4 partitions by clicking the "+":

  1. bios-grub: 1MB
  2. efi boot: 250MB
  3. swap: 2-8GB
  4. ext4: remaining space (10-40GB) and add "/" as mount point!
50GB free space



Now you can start to install.


7. done

After xubuntu is installed you are done. After reboot you should be able to choose from ubuntu and windows how it is supposed to be. You can check out my BIOS settings. Ubuntu is not installed under legacy, but under UEFI as well.


ubuntu and windows dual boot option

ubuntu and windows dual boot under UEFI



Keine Kommentare:

Kommentar veröffentlichen