PDA

View Full Version : [SOLVED] Dual Boot Problem for ubuntu and windows 8 on Samsung serie 3



amineamg28
September 3rd, 2013, 07:40 PM
Hello everyone;
I am trying to install ubuntu on a serie 3 Samsung laptop that came with windows 8.
I managed to successfully install it but I do not get the boot menu to choose between Ubuntu or windows.
I used the recommended Boot Repair choice and got the following error:
http://paste.ubuntu.com/6059744/
Please can you advice on how to fix the problem.
Thanks in advance.

amineamg28
September 3rd, 2013, 08:10 PM
I tried the recommended boot repair again with secure boot activated and got the same error with the following link:
http://paste.ubuntu.com/6059929/

oldfred
September 3rd, 2013, 10:15 PM
We have seen several systems with a locked efi partition (which is not possible). The only work around seems to be to totally back up efi partition to have Windows boot files. Then with gparted delete efi partition, then recreate partition with FAT32 formatting and boot flag to make it efi. Restore Windows boot files and then grub should install to efi partition.
Last line you your BootInfo report:

Locked-ESP detected. You may want to retry after creating a /boot/efi partition (FAT32, 100MB~250MB, start of the disk, boot flag). ....



grub-efi fails to install with Input/output error - locked efi
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1090829

(https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1090829) SAMSUNG Series 3 NP365E5C-XXXXX laptops
http://ubuntuforums.org/showthread.php?t=2120763
Samsung series 5 UltraBook, erase Windows & install to SSD
http://schoolsplay.wordpress.com/2012/11/22/install-ubuntu-linux-on-a-samsung-series-5-ultrabook-with-ssd/


(https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1090829)

amineamg28
September 5th, 2013, 12:26 PM
We have seen several systems with a locked efi partition (which is not possible). The only work around seems to be to totally back up efi partition to have Windows boot files. Then with gparted delete efi partition, then recreate partition with FAT32 formatting and boot flag to make it efi. Restore Windows boot files and then grub should install to efi partition.
Last line you your BootInfo report:


grub-efi fails to install with Input/output error - locked efi
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1090829

(https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1090829) SAMSUNG Series 3 NP365E5C-XXXXX laptops
http://ubuntuforums.org/showthread.php?t=2120763
Samsung series 5 UltraBook, erase Windows & install to SSD
http://schoolsplay.wordpress.com/2012/11/22/install-ubuntu-linux-on-a-samsung-series-5-ultrabook-with-ssd/


(https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1090829)

Hi Oldfred;
Thank you for your reply.
I will try to do what you recommended but I may need some details and help.
The EFI partition that you are talking about is the sda2 one in my case (according to my report) ?
How can I back up properly the EFI partition using live USB ubuntu? which software?
Thanks.

oldfred
September 5th, 2013, 02:16 PM
Boot script only shows some of the essential boot files. The efi partition may also have additional files.
You can just use the file browser - Nautilus from live installer to copy files. Copy & paste all the top level folders. There may be a setting to show hidden files and you want to do that although I do not think there are any in the efi partition.

It is sda2. After you have copied all the efi folders, use gparted to delete partition and recreate it. Be sure to use the manage flags and add boot flag.

http://iloveubuntu.net/get-basics-ubuntu-1204s-unity-clear-explanatory-27-minutes-youtube-tutorial

amineamg28
September 7th, 2013, 12:26 PM
Thanks a lot Oldfred for your help.
I successfully fixed the boot system following your steps. Now I can choose between Ubuntu and Windows 8.
If it can help someone else, that's the link that I got from Boot Repair when it was successful : http://paste.ubuntu.com/6074363/

oldfred
September 7th, 2013, 03:46 PM
Glad you got it working. :)