Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1359  / 1 Year ago, sat, april 8, 2023, 1:04:05

I'm trying to get a functional dual-boot of Ubuntu 14.04 and Windows 7 Home Premium. I began with a working Windows 7, then created a partition for Ubuntu. I thought I succeeded in installing Ubuntu on that partition, but it appeared corrupted, so I reinstalled from the CD, choosing "Erase Ubuntu 14.04 LTS and reinstall". At that time, my entire disk was formatted and all 500GB of my HDD were given to the Ubuntu partition, my Windows 7 partition was entirely erased.



At that point, I created a new partition for Windows using gparted and installed Windows 7 successfully in that partition. As expected, this erased the Ubuntu grub bootloader, and my laptop now boots exclusively into Windows. I've tried a number of solutions from the Live CD, including Boot Repair and attempting to run install-grub and update-grub.



The Boot Repair paste is here: http://paste.ubuntu.com/7476445 .
I don't know where to go from here; I feel like I've exhausted all of my options, and at this point what seemed to be a simple endeavor to dual-boot ended up with me over my head.



If anyone could help or point me in the right direction, I would really appreciate it.
Thank you!


More From » boot

 Answers
5

Problem solved! I'm not sure what actually did it, so I'll post all steps.



1) Reinstall Ubuntu, making sure to designate that the bootloader should be installed on the EFI partition. For me, this was /dev/sda1. Previously, I had installed the bootloader on the same partition as Ubuntu (sda2).



2) Follow this tutorial. Seems to be Sony Vaio specific, which is what I have. Turns out Sony sometimes uses a weird custom BIOS that doesn't play nice with standard dual-boot procedure.



http://www.hackourlife.com/sony-vaio-with-insyde-h2o-efi-bios-ubuntu-12-04-dual-boot/



3) update-grub and reboot



4) Viola! Grub now shows Ubuntu and Windows at start menu and I can boot into either at startup.


[#25172] Saturday, April 8, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oleard

Total Points: 344
Total Questions: 105
Total Answers: 113

Location: Bonaire
Member since Tue, Sep 20, 2022
2 Years ago
oleard questions
Mon, Sep 26, 22, 18:21, 2 Years ago
Mon, Nov 1, 21, 21:27, 3 Years ago
Sat, May 7, 22, 20:47, 2 Years ago
Sun, Oct 2, 22, 01:10, 2 Years ago
;