Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-30-2018, 11:24 AM
|
#1
|
|
LQ Newbie
Registered: Jan 2018
Posts: 1
Rep: 
|
Tried to make a dual boot earlier, ended up breaking my laptop's boot sector.
As stated on the title my boot sectore is damaged and I have no way of booting to windows nor linux, the only I can boot into linux is through a usb with a boot repair. Boot rrpair stated "Boot successfully repaired" but after ejecting the usb drive and restarted my pc, it was as it was before the repair.
attached is a pastebin like with more details
http://paste.ubuntu.com/26489155/
|
|
|
|
01-30-2018, 01:27 PM
|
#2
|
|
Member
Registered: Jul 2012
Distribution: Debian testing/stable, Gentoo, CentOS 7, Sailfish OS, Android
Posts: 167
Rep:
|
What happens when you try to boot your machine? Do you get the grub console or the EFI message that EFI partition is not found?
Your boot partition seems to be OK. The only problem with it as I can see, you have way to many loaders installed.
Try to get to EFI setup, and set ubuntu/shimx64.efi as the default bootloader. Either you can disable secure boot and set the bootloader to ubuntu/grubx64.efi
|
|
|
|
01-30-2018, 01:40 PM
|
#3
|
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 12,016
|
Boot repair indicates that you have windows 8 installed, is that correct?
You have windows code in the MBR plus you have an EFI partition. Did you install windows or was it pre-installed? Pre-installed windows 8 is almost always EFI so there should be no boot code in the MBR.
When you boot, do you see a Grub or windows boot menu? If you see the Grub menu. what happens when you select an OS and try to boot?
You should set it to boot EFI in the BIOS. You should have a key to tap on the keyboard on boot. It should show on the screen for a few seconds and you should see an option to select boot from EFI file. Select windows or Ubuntu "/EFI/ubuntu/shimx64.efi file!" and post back the results.
There seems to be a problem with sda3 which appears to be your windows system partition. Doubt you can fix that with any Linux.
If you get a Grub menu or grub prompt (grub>) you might be able to boot by entering each of these lines, hit the Enter key after each line before typing the next line and see if it boots. Post back the results.
Quote:
insmod part_gpt
insmod fat
set root='hd0,gpt2'
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
|
|
|
|
|
01-30-2018, 03:30 PM
|
#4
|
|
Senior Member
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591
|
Quote:
Originally Posted by yancek
There seems to be a problem with sda3 which appears to be your windows system partition.
|
There's nothing wrong with this Microsoft reserved partition, these are never formatted with a filesystem. Not sure what it's reserved for, maybe Microsoft root kits
Line 1049 and 1050
Quote:
=================== Advices
Please disable SecureBoot in the BIOS. Then try again.Do you want to continue?
|
Line 716 to 718
Quote:
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot enabled.
|
Everything looks good except for the red stuff above.
Last edited by Brains; 01-30-2018 at 03:44 PM.
|
|
|
|
01-30-2018, 05:02 PM
|
#5
|
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 12,016
|
The problem the OP is experiencing is that he cannot boot EITHER windows or Linux and having Secure Boot enabled should have no effect on booting windows.
The OP has mixed an MBR and EFI install, both systems have EFI files so he needs to boot from an EFI file which he should be able to do from the BIOS. Since he has a GPT partitioning scheme and windows only boots to GPT with EFI, he needs to use EFI to boot.
|
|
|
|
01-30-2018, 06:11 PM
|
#6
|
|
Senior Member
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591
|
The most likely cause for Windows 10 not booting is because it's partition was not resized by Windows 10. EFI boot don't look at the MBR, it looks for a FAT system partition. And the OP should do a full recovery with the recovery drive they were told to create. These problems will persist when Windows 10 has it's next cumulative update because the WinRE partition that used to be after the OS partition is not there anymore, which will be recreated as a result during the next cumulative update. The problems for lack of research has only just begun.
|
|
|
|
01-30-2018, 06:41 PM
|
#7
|
|
Senior Member
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591
|
When UUID of partitions change, the boot files need to be updated to reflect the change. In /etc/default/grub of Linux using grub, you can configure grub not to use UUID, then after update-grub command is issued the change will take effect, I have two Debian testing installations, they are actual mirror image of each other with same partition UUID, and I can boot either one at will. If Windows partition UUID changes, it needs to know.
|
|
|
|
01-31-2018, 06:41 AM
|
#8
|
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 12,016
|
Quote:
|
The most likely cause for Windows 10 not booting is because it's partition was not resized by Windows 10.
|
Might be, we could assume that as well as anything but, who knows?
Quote:
|
EFI boot don't look at the MBR, it looks for a FAT system partition
|
Which is why I suggested he look for an EFI file an boot it??
The OP hasn't been back so hopefully, he resolved the issue.
|
|
|
|
All times are GMT -5. The time now is 05:59 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|