Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4805  / 2 Years ago, fri, january 14, 2022, 4:49:59

I will try to make this as quick as I can, while still being as in depth as possible. I have a Gateway laptop running Windows 8. I tried to install Ubuntu 13.04 side-by-side with Windows, and I can not seem to boot into Ubuntu (or see GRUB at all), no matter what I do.



First I went into Windows Disc Management, and shrunk my Hard Drive (C:) by 120GB.



I downloaded the 64bit Ubuntu 13.04 ISO and used a Disc Image creator to burn the ISO to a disc creating an Ubuntu LiveCD. I then disabled FastBoot in Windows 8 through the Power Options in Control Panel (basically disables Hibernation, and doesn't save a Windows state to the HardDrive for faster bootup) and booted to the UEFI settings. I disabled Secure Boot inside of the UEFI firmware settings and changed boot priority to boot off of the DVD drive first, and inserted the disc, and booted into the LiveCD. I selected Install Ubuntu and continued to the installation. When the installation started up, Ubuntu did not find/recognize my Windows 8 installation. I selected Something Else from the menu and created two partitions on the Free Space portion of my HDD. I used 115GB as Primary, ext4 journaling file system, mount point set to root. I then created a 5GB swap partition (also set to primary I believe). The installation finished without a hitch.



Since finishing the install, I am unable to see GRUB on boot up, and am launched straight to Windows 8. I tried using EasyBCD to add Ubuntu to the Windows boot menu, which worked in adding Ubuntu, but when I select it, I get a "Windows is unable to load" error, and listed NST/NeoGrub.mbr as corrupt or missing. I have since restored the EasyBCD backup I made before changing anything, and uninstalled EasyBCD altogether. I then booted into the LiveCD again, this time selecting "Try Ubuntu Without Installing" and ran the following commands in terminal: sudo add-apt-repository ppa:yannubuntu/boot-repair followed by sudo apt-get install boot-repair I then ran a command to update Boot Repair (can't remember the exact command, maybe sudo apt-get update boot-repair) and then sudo run boot-repair.



I ran Boot Repair and the paste from that can be found at: http://paste.ubuntu.com/6156885/



It said that my kernel was "buggy" and should be backed up and replaced. I selected no, because I had read a lot about WINDOWS not booting once that is done, and I certainly didn't want to make matters worse than they already were.



I need to know how to fix my booting issues. I have a theory that the reason it will not work, is because my computer already had 3 partitions on it when I started (Recovery, C:/, and another Recovery). Could this cause the boot problems I am describing? Can I format the partition containing Ubuntu (would this completely uninstall Ubuntu?) and start over after backing up the Recovery partitions and formatting them? Would it even make a difference? I am mad, because I love my laptop. It's fast, its got a beautiful display, and plenty of bells and whistles, but I NEED Ubuntu. If I didn't RELY on Windows for work software that can't run inside of a VM, I would scrap Windows altogether. Please help me.


More From » 13.04

 Answers
5

OK, I FINALLY SOLVED THIS! YAY!



OK, so for ANYONE that is having this problem, this is what I did:



I re-formatted the partitions that I had installed Ubuntu on. After I was done, I re-created the partitions. This time I allocated 200GB as free space (for use with Ubuntu). I then inserted the LiveCD and rebooted my computer. Once the Ubuntu LiveCD booted, I chose "Install Ubuntu". As usual, Ubuntu failed to recognize my Windows 8 installation. I chose the bottom option: Something Else. I then set up 2 partitions. I made a 2GB swap partition (set up as Logical, beginning of area, set to Swap Area), I then allocated the rest of the free space to the Ubuntu install (Primary, ext4 journalling, beginning of area, Mount point set to root (/)). I then selected the primary 198GB partition I had allocated, and selected Install. I installed Ubuntu and then rebooted.



Low and behold, it boot directly into Windows 8 (damn you Microsoft!). I then re-inserted the LiveCD, and rebooted. Once rebooted, I chose 'Try Ubuntu Without Installing'. Once Ubuntu launched, I opened up the Terminal. Once in the Terminal, I entered the following commands:



sudo apt-add-repository yannubuntu/boot-repair (make sure you connect to the internet first)



sudo apt-get update



sudo apt-get install -y boot-repair



boot-repair



Once Boot Repair opens, select Recommended Repair, and let it do it's thing. You should receive two pop-ups. The first one will say something about EFI being detected, just hit OK. Then it will go through some steps, and it will pop up again, saying 'Buggy Kernel detected.' and say something about backing up and replacing the Windows EFI files. SELECT YES. It will then re-install and update GRUB. Once it is done, type this into Terminal: 'sudo reboot'. Your computer will reboot.



Now, when GRUB comes up, you will see no option for Windows. By default you will be launched right back into Ubuntu... Don't fret.. When Ubuntu reboots, re-open the terminal, and run the Boot Repair commands a second time to permanently install it inside of Ubuntu:



sudo apt-add-repository yannubuntu/boot-repair (make sure you connect to the internet first)



sudo apt-get update



sudo apt-get install -y boot-repair



boot-repair



Now, when Boot Repair opens, click on Advanced Settings. Next click on GRUB LOCATION, and you will see "OS to boot by default" and it will be set to "Current OS, Ubuntu 13.04". Change that to Windows and hit APPLY. Now, when the thing pops up about a Buggy Kernel, select NO. When it completes, type this into the Terminal "sudo reboot". You will be rebooted back into Windows.



I am not sure if I will have to do this every time I want to get back into Windows, but even if I do, it only takes about a minute to do, so that is fine with me. Now, if you want to get back into Ubuntu (at least this is how it works on my Laptop) when you are in Windows, REBOOT your computer, and when the OEM splash screen pops up, press whatever button you must press to open the BOOT MENU. On my computer, it is F12. You should see three entries: Windows Boot Manager(XXXXX)(XXX will be the name of your hard drive), and two other entries (one may say Ubuntu, one may say Windows, or they may both just be the name of your hard drive, e.g. HITACHI345XX434UI), number 1 is Windows Boot Manager, number 2 is Windows, number 3 is Ubuntu. Select number 3 to get into Ubuntu, or number 1 or 2 to boot into Windows.



This is a pretty round-about method to dual boot, but until I can figure something else out, this is what I have to do for now ;)



Thanks to those who commented, you pointed me in the right direction, and I am writing this reply from Ubuntu 13.04 and loving it ;)


[#29258] Saturday, January 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
guialk

Total Points: 300
Total Questions: 144
Total Answers: 121

Location: Saint Vincent and the Grenadines
Member since Sat, Sep 11, 2021
3 Years ago
;