SlideShare a Scribd company logo
1 of 5
Download to read offline
[SONY VAIO Pro 13] Windows 8 + Ubuntu 13.10 with UEFI
2013/10/22 (Tue)
Tinydile Caspian
Tinydile@gmail.com

This document describes how to deploy dual boot environment on
SONY VAIO Pro 13 with UEFI boot.

Target Environment
Hardware: SONY VAIO Pro 13 with SSD 512GB
Operating System: Windows 8 and Ubuntu 13.10

Preparation
[A] Change BIOS settings
Press ASSIST button to powering on
Enter BIOS Setting menu

Security
Secure Boot: Disabled
Boot
Boot Mode: UEFI
External Device Boot: Enabled
Boot Priority: External Device -> Internal Hard Disk Drive

[B] Create Recovery DVD/Disk
This step is strongly recommended. If you take a mistake during following steps, you
cannot recover your VAIO unless using Recovery DVD/Disk (internal recovery partition
may not be accessible when you are in trouble).

1/5
[C] Reduce Windows Partition
Use “Disk Management” on Windows 8

[D] Disable Fast Restarting Feature
Windows 8 with enabling fast restarting feature will “recover” some data including
EFI bootloaders when shutting down. Therefore, after you finish setting up dual boot
environment and boot Windows 8 once, you will lost your dual boot settings by next boot.
That’s why you need to turn off the fast restarting feature.
Start cmd.exe as Administrator
powercfg /h off

Verify settings
powercfg /a

References:
http://superuser.com/questions/499923/preinstalled-windows-8-and-linux-uefi-dual-boot-on
-a-laptop?rq=1
http://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html#windows8
http://technet.microsoft.com/en-us/library/cc748940%28v=ws.10%29.aspx

[E] Create Live USB/DVD for Ubuntu 13.10
Download Ubuntu Image
http://releases.ubuntu.com/saucy/ubuntu-13.10-desktop-amd64.iso
Create Live USB by using Linux Live USB Creator
http://www.linuxliveusb.com/
Settings for Ubuntu 13.04 was OK for Ubuntu 13.10

2/5
Install Ubuntu 13.10
Connect Live USB/DVD
Powering on
Install Ubuntu
CAUTION: You need to specify the partition for Ubuntu. Ubuntu recognize current Linux
partition and ask you to use the partition. But Ubuntu 13.10 installer doesn’t care about
destroying Windows partition.
Reboot

Setting up dual boot environment
[F] Connect USB-LAN to Internet
You need to get some files from internet.

[G] Check current partitioning
Launch xterm
$ sudo bash
# apt-get install gdisk
# gdisk -l /dev/sda

/dev/sda3 assumed as EFI partition
/dev/sda5 assumed as Windows 8 System partition
/dev/sda8 assumed as Ubuntu root(“/”) partition

# mount /dev/sda8 /mnt
# mount /dev/sda3 /mnt/boot/efi
# for i in /dev /dev/pts /proc /sys; do mount -B ${i} /mnt${i}; done
# modprobe efivars
# cp /etc/resolv.conf /mnt/etc/
# chroot /mnt

References:
http://superuser.com/questions/376470/how-to-reinstall-grub2-efi

3/5
[H] Install bootloaders
[H-1] Install grub
# apt-get install grub-efi-amd64

[H-2] Configure grub
Ubuntu 13.10 fails to UEFI boot on VAIO Pro 13 in default. Here is the steps to fix the issue.

# vi /etc/default/grub

Old:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

New:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash libata.force=noncq"

Then update grub
# update-grub

References:
http://askubuntu.com/questions/360285/13-10-on-vaio-pro-with-uefi
http://www.nicksplace.com.au/2013/07/04/fedora-19-on-vaio-pro-13-ssd-issues/
[H-3] Install rEFInd
Get rEFInd for bootloader
rEFInd Boot Manager
http://www.rodsbooks.com/refind/

# wget -O refind_0.7.4-1_amd64.deb ¥
http://sourceforge.net/projects/refind/files/0.7.4/refind_0.7.4-1_amd64.deb/download
# dpkg -i refind_0.7.4-1_amd64.deb

4/5
[I] Check EFI partition
# cd /boot/efi/EFI
# ls

You will see several directories; Microsoft, refind, ubuntu, ...,

[J] Hack SONY firmware
SONY VAIO’s UEFI firmware seems to kick only “EFI/Microsoft/Boot/bootmgfw.efi”
however you put other efi files into EFI partition. Other efi binaries are never called. To get
dual boot environment, you need to replace the binary “EFI/Microsoft/Boot/bootmgfw.efi”
with refind boot manager.

# cd /boot/efi/EFI/Microsoft/Boot
# mv bootmgfw.efi ../
# cd /boot/efi/EFI/refind
# mv refind_x64.efi refind_x64.efi.default
# cp refind_x64.efi.default /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
# cp refind.conf /boot/efi/EFI/Microsoft/Boot/
# cp -r ./icons ./keys ./drivers_x64 /boot/efi/EFI/Microsoft/Boot/

References:
http://askubuntu.com/questions/150174/sony-vaio-with-insyde-h2o-efi-bios-will-not-boot-in
to-grub-efi

[K] Finish

# exit
# for i in /sys /proc /dev/pts /dev; do umount /mnt${i}; done
# umount /mnt/boot/efi
# umount /mnt
# reboot

Now, you can select Windows 8 or Ubuntu 13.10 for boot.

- END 5/5

More Related Content

Recently uploaded

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 

Recently uploaded (20)

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

[SONY VAIO Pro13] win8_ubuntu13.10_uefi

  • 1. [SONY VAIO Pro 13] Windows 8 + Ubuntu 13.10 with UEFI 2013/10/22 (Tue) Tinydile Caspian Tinydile@gmail.com This document describes how to deploy dual boot environment on SONY VAIO Pro 13 with UEFI boot. Target Environment Hardware: SONY VAIO Pro 13 with SSD 512GB Operating System: Windows 8 and Ubuntu 13.10 Preparation [A] Change BIOS settings Press ASSIST button to powering on Enter BIOS Setting menu Security Secure Boot: Disabled Boot Boot Mode: UEFI External Device Boot: Enabled Boot Priority: External Device -> Internal Hard Disk Drive [B] Create Recovery DVD/Disk This step is strongly recommended. If you take a mistake during following steps, you cannot recover your VAIO unless using Recovery DVD/Disk (internal recovery partition may not be accessible when you are in trouble). 1/5
  • 2. [C] Reduce Windows Partition Use “Disk Management” on Windows 8 [D] Disable Fast Restarting Feature Windows 8 with enabling fast restarting feature will “recover” some data including EFI bootloaders when shutting down. Therefore, after you finish setting up dual boot environment and boot Windows 8 once, you will lost your dual boot settings by next boot. That’s why you need to turn off the fast restarting feature. Start cmd.exe as Administrator powercfg /h off Verify settings powercfg /a References: http://superuser.com/questions/499923/preinstalled-windows-8-and-linux-uefi-dual-boot-on -a-laptop?rq=1 http://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html#windows8 http://technet.microsoft.com/en-us/library/cc748940%28v=ws.10%29.aspx [E] Create Live USB/DVD for Ubuntu 13.10 Download Ubuntu Image http://releases.ubuntu.com/saucy/ubuntu-13.10-desktop-amd64.iso Create Live USB by using Linux Live USB Creator http://www.linuxliveusb.com/ Settings for Ubuntu 13.04 was OK for Ubuntu 13.10 2/5
  • 3. Install Ubuntu 13.10 Connect Live USB/DVD Powering on Install Ubuntu CAUTION: You need to specify the partition for Ubuntu. Ubuntu recognize current Linux partition and ask you to use the partition. But Ubuntu 13.10 installer doesn’t care about destroying Windows partition. Reboot Setting up dual boot environment [F] Connect USB-LAN to Internet You need to get some files from internet. [G] Check current partitioning Launch xterm $ sudo bash # apt-get install gdisk # gdisk -l /dev/sda /dev/sda3 assumed as EFI partition /dev/sda5 assumed as Windows 8 System partition /dev/sda8 assumed as Ubuntu root(“/”) partition # mount /dev/sda8 /mnt # mount /dev/sda3 /mnt/boot/efi # for i in /dev /dev/pts /proc /sys; do mount -B ${i} /mnt${i}; done # modprobe efivars # cp /etc/resolv.conf /mnt/etc/ # chroot /mnt References: http://superuser.com/questions/376470/how-to-reinstall-grub2-efi 3/5
  • 4. [H] Install bootloaders [H-1] Install grub # apt-get install grub-efi-amd64 [H-2] Configure grub Ubuntu 13.10 fails to UEFI boot on VAIO Pro 13 in default. Here is the steps to fix the issue. # vi /etc/default/grub Old: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" New: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash libata.force=noncq" Then update grub # update-grub References: http://askubuntu.com/questions/360285/13-10-on-vaio-pro-with-uefi http://www.nicksplace.com.au/2013/07/04/fedora-19-on-vaio-pro-13-ssd-issues/ [H-3] Install rEFInd Get rEFInd for bootloader rEFInd Boot Manager http://www.rodsbooks.com/refind/ # wget -O refind_0.7.4-1_amd64.deb ¥ http://sourceforge.net/projects/refind/files/0.7.4/refind_0.7.4-1_amd64.deb/download # dpkg -i refind_0.7.4-1_amd64.deb 4/5
  • 5. [I] Check EFI partition # cd /boot/efi/EFI # ls You will see several directories; Microsoft, refind, ubuntu, ..., [J] Hack SONY firmware SONY VAIO’s UEFI firmware seems to kick only “EFI/Microsoft/Boot/bootmgfw.efi” however you put other efi files into EFI partition. Other efi binaries are never called. To get dual boot environment, you need to replace the binary “EFI/Microsoft/Boot/bootmgfw.efi” with refind boot manager. # cd /boot/efi/EFI/Microsoft/Boot # mv bootmgfw.efi ../ # cd /boot/efi/EFI/refind # mv refind_x64.efi refind_x64.efi.default # cp refind_x64.efi.default /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi # cp refind.conf /boot/efi/EFI/Microsoft/Boot/ # cp -r ./icons ./keys ./drivers_x64 /boot/efi/EFI/Microsoft/Boot/ References: http://askubuntu.com/questions/150174/sony-vaio-with-insyde-h2o-efi-bios-will-not-boot-in to-grub-efi [K] Finish # exit # for i in /sys /proc /dev/pts /dev; do umount /mnt${i}; done # umount /mnt/boot/efi # umount /mnt # reboot Now, you can select Windows 8 or Ubuntu 13.10 for boot. - END 5/5