Hi,
These are the steeps I followed to do a clean dual boot between Windows 8 and Ubuntu 14.04 in a Vaio Pro 13 without disable SecureBoot... It may work with Windows 8.1 and other Vaio models...
- Check that UEFI and SecureBoot are enabled:
- Shutdown your Vaio
- Turn Vaio on using the ASSIST button
- Enter to BIOS advanced settings
- Boot --> Boot Mode --> UEFI
- Security --> Secure Boot --> Enabled
- Prepare Windows:
- Desfragment your hard drive
- Shrink your Windows partition
- Open Windows Explorer
- Right click on Computer --> Manage
- Storage --> Disk Management
- Right click on (C --> Shrink volume
- Resize the Windows partition according to your needs
- Install Ubuntu:
- Shutdown Windows
- Insert the Ubuntu bootable USB
- Turn Vaio on using the ASSIST button
- Select Boot from external drive
- Select "Try Ubuntu without installing"
- Run the Ubuntu installer in the desktop:
- When you hit the the partitioning section select "Something Else": (Check the NOTE at the end if you want to setup full disk encryption)
- Create three partitions in the available space:
- 250MB ext2 partition: mount point /boot
- 4092MB for Linux swap
- Remaining for ext4: mount point /
- Select to install the bootloader in the /boot partition (if you had a standard setup it should be /deb/sda7)
- Reboot --> The system should boot directly to Windows, without showing the Grub Menu
- Tell Windows / EFI to show Grub Secure Boot:
- Log into Windows and start an administrative command prompt:
- Press Windows key
- Search for cmd
- Right click --> Run as Administrator
- Type this command:
Code:
bcdedit /set "{bootmgr}" path \EFI\ubuntu\shimx64.efi
- Reboot
- Test Grub: You should see now the Grub menu and select Ubuntu or Windows
NOTE: If you want to use full disk encryption for the Ubuntu you should create the same three partitions. For the swap partition select "Do not use this partition" and for the root partition select "physical volume for encryption", setup the password and then select ext4 and mount point / in the crypto partition. The installer would complain that you don't have swap... just select "continue without swap" and finish the installation. Setting up cryptoswap is a little tricky:
- Using gparted identify the partition you are going to use as swap (in my case it was /dev/sda8)
- Get the id of this partition:
Code:
ls -l /dev/disk/by-id/
- Look for the id that maps to your swap partition, it should be something like:
Code:
wwn-0x5002538500056730-part8 -> ../../sda8
You need the id, you can not use the UUID!
- Add the partition to /etc/crypttab and set it aas swap:
Code:
swap /dev/disk/by-id/wwn-0x5002538500056730-part8 /dev/urandom swap
- Add the swap partition to /etc/fstab:
Code:
/dev/mapper/swap none swap defaults 0 0
- Reboot and check that swap is working (using system monitor for example)
If you have trouble with WiFi change /etc/modprobe.d/iwlwifi.conf for:
Code:
# /etc/modprobe.d/iwlwifi.conf# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
# microcode file installed on the system. When removing iwlwifi, first
# remove the iwl?vm module and then iwlwifi.
#remove iwlwifi \
#(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
#&& /sbin/modprobe -r mac80211
#options iwlwifi 11n_disable=1
options iwlwifi bt_coex_active=0 power_save=1
If you want you can install the official Intel Graphics Driver for Linux: https://01.org/linuxgraphics/downloa...er-1.0.5-linux
References:
http://steffankarger.nl/2013/12/10/u...y-vaio-pro-13/
http://www.everydaylinuxuser.com/201...e-windows.html
https://wiki.archlinux.org/index.php...wap_encryption
http://www.microhowto.info/howto/cre...swap_area.html
http://www.cioby.ro/linux/creating-a...-on-linux.html
http://iwtf.net/2010/01/05/encryptin...wap-partition/
Bookmarks