Page 1 of 3 123 LastLast
Results 1 to 10 of 21

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

  1. #1
    Join Date
    Apr 2010
    Beans
    23

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

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

    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:
          Code:
          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:
        Code:
         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:
      Code:
      swap /dev/disk/by-id/wwn-0x5002538500056730-part8 /dev/urandom swap
    4. Add the swap partition to /etc/fstab:
      Code:
      /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:
    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/
    Last edited by vargax; June 3rd, 2014 at 02:48 AM. Reason: adding references

  2. #2
    Join Date
    Jun 2014
    Beans
    1

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

    Hello,

    I followed your steps closely with no success. Do you think the fact that my vaio pro runs win 8.1. makes a difference?

  3. #3
    Join Date
    Apr 2010
    Beans
    23

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

    In what step are you stuck? Tell me what is the issue and maybe I can help you... I just update my laptop to Win 8.1 and everything is working...

  4. #4
    Join Date
    Apr 2007
    Beans
    40

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

    Hi vargax,
    I followed your steps but no success. I get the grub menu, but if I choose Ubuntu, I get a black screen that tells me "gave up waiting for the root device" I also tells me: "ALERT! /dev/disk/by-uuid/..... does not exist (the ... is a 20 character or so number/letter code)

    Any idea what could be wrong? Any suggestions?

    Thanks!

  5. #5
    Join Date
    Apr 2010
    Beans
    23

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

    So you can not enter Ubuntu but you can enter Windows, right?

    You should tried to re-install Ubuntu... check that you set up the /boot partition correctly and you select that partition for the bootloader...

    It would be great if you can take a screenshot or a picture of the partitioning step of the setup, so we can check your partitions and the way you are setting up them...

  6. #6
    Join Date
    Apr 2007
    Beans
    40

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

    Thanks! I got it to work with one extra step at the end: change the grub line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash libata.force=noncq" as explained here:
    http://askubuntu.com/questions/36028...-pro-with-uefi

    That did the trick.

    Thanks so much for your simple and elegant manual. It's the best I've found, after hunting for solutions for over a month.

  7. #7
    Join Date
    Apr 2007
    Beans
    40

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

    Oh, and here's the screenshot of the partitions, in case it helps
    partition.jpg

  8. #8
    Join Date
    Jun 2014
    Beans
    1

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

    bcdedit /set "{bootmgr}" path \EFI\ubuntu\shimx64.efi




    helped a lot, thx

  9. #9
    Join Date
    Jul 2014
    Beans
    1

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

    Hi,
    just got myself a vayo pro 13 (svp132a1cm) preinstalled with windows...

    i m sorry, i have problems with step 3.6 : repartitionning the free space isn t an given option... am I missing something.

    i m no expert, as youi can guess...

    Thanks for your post!

  10. #10
    Join Date
    Jul 2014
    Beans
    3

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

    Hi, I followed your guide to try to install elementary os on my SVP but instead of a grub menu it just boots straight to windows 8.
    I've tried to install this twice. Can anyone give me any suggestions on how to get dual boot working?

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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