Results 1 to 10 of 24

Thread: HOWTO: Sony Vaio Pro 13 DualBoot (Win 8 + Ubuntu Trusty 14.04) SecureBoot Wifi LVM

Threaded View

  1. #1
    Join Date
    Apr 2010

    HOWTO: Sony Vaio Pro 13 DualBoot (Win 8 + Ubuntu Trusty 14.04) SecureBoot Wifi LVM


    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...

    1. Check that UEFI and SecureBoot are enabled:
      1. Shutdown your Vaio
      2. Turn Vaio on using the ASSIST button
      3. Enter to BIOS advanced settings
        1. Boot --> Boot Mode --> UEFI
        2. Security --> Secure Boot --> Enabled

    2. Prepare Windows:
      1. Desfragment your hard drive
      2. Shrink your Windows partition
        1. Open Windows Explorer
        2. Right click on Computer --> Manage
        3. Storage --> Disk Management
        4. Right click on (C --> Shrink volume
        5. Resize the Windows partition according to your needs

    3. Install Ubuntu:
      1. Shutdown Windows
      2. Insert the Ubuntu bootable USB
      3. Turn Vaio on using the ASSIST button
      4. Select Boot from external drive
      5. Select "Try Ubuntu without installing"
      6. Run the Ubuntu installer in the desktop:
        1. When you hit the the partitioning section select "Something Else": (Check the NOTE at the end if you want to setup full disk encryption)
          1. Create three partitions in the available space:
            1. 250MB ext2 partition: mount point /boot
            2. 4092MB for Linux swap
            3. Remaining for ext4: mount point /

          2. Select to install the bootloader in the /boot partition (if you had a standard setup it should be /deb/sda7)

        2. Reboot --> The system should boot directly to Windows, without showing the Grub Menu

      7. Tell Windows / EFI to show Grub Secure Boot:
        1. Log into Windows and start an administrative command prompt:
          1. Press Windows key
          2. Search for cmd
          3. Right click --> Run as Administrator

        2. Type this command:
          bcdedit /set "{bootmgr}" path \EFI\ubuntu\shimx64.efi

      8. Reboot

    4. 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:
    1. Using gparted identify the partition you are going to use as swap (in my case it was /dev/sda8)
    2. Get the id of this partition:
      1. Code:
         ls -l /dev/disk/by-id/
      2. Look for the id that maps to your swap partition, it should be something like:
         wwn-0x5002538500056730-part8 -> ../../sda8
        You need the id, you can not use the UUID!

    3. Add the partition to /etc/crypttab and set it aas swap:
      swap /dev/disk/by-id/wwn-0x5002538500056730-part8 /dev/urandom swap
    4. Add the swap partition to /etc/fstab:
      /dev/mapper/swap none swap defaults 0 0
    5. 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:
    # /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:

    Last edited by vargax; June 3rd, 2014 at 02:48 AM. Reason: adding references

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts