[SOLVED] restoring grub for dual boot with windows
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
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.
It's been seven hours since colorpurple21859 asked for the output of a simple command.
As far as I'm concerned, Ai_Programmer is employing a massive amount of left tactic to achieve an alterior motive.
I base that comment on the quote below.
Quote:
post #25 --->While I do have years of experience with linux
The title of this thread is designed to attract as much attention as possible.
Boot files were deliberately removed before the bootinfo script was run.
I highly doubt the Linux installers would include EFI boot files in the EFI partiton and neglect grub.cfg files
Commands suggested to run according to screenshots provided by Ai_Programmer were never correct
This could have been dealt with within a half hour two days ago
But there is absolutely no evidence of Ai_Programmer attempting to do what was suggested 2 days ago
Quote:
2 days ago --->A fresh installation can be done within a half hour, The computer's boot menu needs to be enabled in order to boot Linux
Failure to respond to colorpurple21859's request in the post above suggest this is not in the direction Ai_Programmer want's things to go.
Ai_Programmer's alterior motive?
To get this community to invest time to help Ai_Programmer enable booting Linux from Windows boot menu
Quote:
Post #14 2 days ago --->I already found the parameters for bcdedit so if someone could tell me how to get the uuid for sdb1 I could at least setup the windows bootloader
Quote:
post #25 --->I tried following the instructions in the following youtube video to use setup linux on the widows bootloader
Quote:
Should I type the above command from a live Ubuntu/debian or from bcdedit?
This is how to configure the default boot entry in Windows 10
From an elevated command prompt in Windows, type command: bcdedit /enum all /v
You will get an output similar to the one below, in the example below I highlighted the UUID of the Debian boot entry in red.
1)I've disabled secure boot as can be seen from my posted images
2)I've noticed that after a successful install windows tries to "repair" my computer or boot sequence. I just did another fresh install & I don't think it "repaired" the boot sequence but as we speak I'm formatting & installing once more just in case
3)Here's that requested output but I'm not sure if windows had a chance to screw it up and also a pic of my f12 menu
So today I realized that I missed 2 posts. Sorry about that
After a fresh reinstall I hit f12 right away & got the same boot option: only windows. I then tried to to boot from my live ubuntu & it booted to windows (maybe I should have hit f12 for this time as well anyway in windows I ran the command as requested:
Quote:
C:\WINDOWS\system32>bcdedit /default {a6facddc-03ed-11e9-9cb4-806e6f6e6963}
The operation completed successfully.
I don't care which bootloader that I use whether it's windows or linux as long as I get to run linux. So now i'mm going to try booting linux & if that fails I'll post the output of the command lsblk
Last edited by Ai_Programmer; 03-01-2019 at 07:53 PM.
If efibootmgr -v still shows the same thing, try this
Code:
sudo efibootmgr -a 0003
sudo efibootmgr -o 0003,0002,0001,2001,2002,2003
So I tried this command I'm sorry but if there's something that I'm supposed to add because it's common sense then it's lost on me. WRT the cli I only know basic commands like cp, cd, mv || and &&.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.