PDA

View Full Version : Boot Repair help needed.



linch2
March 31st, 2015, 07:13 PM
So today I tried installing an Ubuntu based OS alongside windows and it worked except for one thing...

On starting my system I am greeted by a grub menu listing Ubuntu, ubuntu advanced options, memory testing environments, Windows 8 and windows recovery environment
(only the first 3 options actually work).
When I choose any one of the windows options the system informs me that the boot data or some data cannot be found and it then tells me to insert installation media for
windows in order to resolve this problem. I checked my HDD and SSD and all my windows data is still there, the system is just unable to access it on startup. When I created partitions
for my installation I shrunk a partition in my SSD to create free space(20GB) for my install.

This is how I partitioned upon install:

'/dev/sda' -used for device bootloader installation (on HDD)
'/dev/sda9' -used for the root file system "/" (on SSD)
'/dev/sda10' -used for "/home" (on SSD)

(I left all of the other partitions unused during installation because they were being used by windows files)

After I realised that my installation was faulty I tried "Boot-Repair" and it did not fix the problem.
Here is the link created from boot repair program: http://paste.ubuntu.com/10713356/
1. What can I do to resolve this problem so that I can choose to boot Windows or Ubuntu upon startup ?


2. Do I need to select any of the options in 'advanced options' in the Boot-Repair program or do I need to change something else ?
3. Would I need to change my UEFI settings/Boot settings or will I need to change my partitioning?
4. If so, how would I do this?


If anyone could help I would greatly appreciate it.
Thank you.

corneliuss2
March 31st, 2015, 07:18 PM
That is a Windows error. Ubuntu will never ever tell you to insert Windows installation media :)

linch2
March 31st, 2015, 07:48 PM
So how do i fix it?

corneliuss2
March 31st, 2015, 07:55 PM
How did you shrunk your partition? Have you used Windows DiskPart or with the Ubuntu installation media?

linch2
March 31st, 2015, 08:17 PM
I shrunk the partition using Windows DiskPart and then when installing Ubuntu I assigned the free space to '/' and '/home' .

linch2
March 31st, 2015, 08:44 PM
If I need to change my partitioning how would I do this? If not, what do I need to change?

ajgreeny
March 31st, 2015, 09:48 PM
I am no expert but it looks as if you have fallen foul of the UEFI problem that you installed Ubuntu in legacy BIOS mode but Windows 8 is in UEFI mode.

I have never used Boot-repair so I can not tell you the best way to proceed, but it may be simplest to install Ubuntu again, making sure that the USB or DVD is booted in UEFI mode. The entries in the list of boot devices you see when you press the appropriate key will start with UEFI for those devices that you must use or you will end up in the same situation. Grub is currently in the MBR of sda which is incorrect for a UEFI system.

With luck our UEFI guru, oldfred may see this thread and give you some advice on how best to proceed; he may suggest you use the boot-repair default suggestion but I would not do that without further advice, and I haven't used windows for several years so can not tell you anything more helpful about how to move forward from here.

Regarding your partitions, I believe you will need to rethink what you have done as you have allowed only 6GB for the Ubuntu install; Whilst you might just get an installation in that sized partition, depending on exactly which OS this is, there will be little spare space for additional applications or files. My root partition is now just over 8GB in size and I'm using Xubuntu which is not as large as Ubuntu when first installed, if I remember correctly.