[Solved] Grub won't install: Dual boot MX-21 March KDE & Win 10

Help with the version of MX KDE officially released by the Development Team.
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
Huckleberry Finn

Re: Grub won't install: Dual boot MX-21 March KDE & Win 10

#11 Post by Huckleberry Finn »

fehlix wrote: Tue Apr 12, 2022 4:05 am... within the "chroot",
do also run

Code: Select all

update-grub
Edit: Been Ninja'd :)

asinoro
Posts: 175
Joined: Mon Feb 22, 2016 11:26 am

Re: Grub won't install: Dual boot MX-21 March KDE & Win 10

#12 Post by asinoro »

Check if this tutorial helps, it is for already installed system having problem with grub.
https://forum.mxlinux.org/viewtopic.php ... rget=blank
If your case is solved, and you want to help other users, click on the Solved-Button on the top right of a user's post.

Don't forget a system backup!

serviteur
Posts: 21
Joined: Thu Aug 26, 2021 3:42 pm

Re: Grub won't install: Dual boot MX-21 March KDE & Win 10

#13 Post by serviteur »

I run Update-Grub in Chroot, and it boots on MX 21. :wink:

Command:

Code: Select all

demo@mx1:~
$ sudo chroot-rescue-scan

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for demo: 
===============================================================================
Starting chroot-rescue-scan
===============================================================================
Scanning partitions ...
Scanning directories ...
Only one Linux system was found
                                                                                                 
Please select a Linux system to visit                                                            
  Distro           Date        Dir      Device Arch   Label                                      
= MX 21 Wildflower 2022-04-10  rootMX21 sda4   64-bit rootMX21                                   
> Rescan all partitions for Linux systems                                                        
> Quit                                                                                           
Press <Enter> to select the highlighted entry                                                    
Use 'r' to redraw, 'q' to quit                                                                   
                                                                                                 
Visiting distro MX_21_Wildflower_
Directory: /mnt/chroot-rescue-scan/rootMX21  Device: sda4
Use the exit command or <ctrl>-d to return to main menu
===============================================================================

(MX_21_Wildflower_) Tue Apr 12 11:10:20 /
chroot> mount -a

(MX_21_Wildflower_) Tue Apr 12 11:10:28 /
chroot> update-grub
Generating grub configuration file ...
Found theme: /boot/grub/themes/linen/theme.txt
Found linux image: /boot/vmlinuz-5.10.0-12-amd64
Found initrd image: /boot/initrd.img-5.10.0-12-amd64
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
done

(MX_21_Wildflower_) Tue Apr 12 11:11:38 /
chroot> exit
exit
===============================================================================
Scanning directories ...
Only one Linux system was found
                                                                                                 
Please select a Linux system to visit                                                            
  Distro           Date        Dir      Device Arch   Label                                      
> MX 21 Wildflower 2022-04-10  rootMX21 sda4   64-bit rootMX21                                   
> Rescan all partitions for Linux systems                                                        
> Quit                                                                                           
Press <Enter> to select the highlighted entry                                                    
Use 'r' to redraw, 'q' to quit                                                                   
Press q again to quit                                                                            
demo@mx1:~

FEW QUESTIONS:

1-Why did the command: sudo efibootmgr -v didn't show the EFI's NVRAM entries:

Code: Select all

demo@mx1:~
$ sudo efibootmgr -v
No BootOrder is set; firmware will attempt recovery
Boot0001* Notebook Hard Drive   BBS(HD, ,0x0).......................................................................
Boot0004* Notebook Hard Drive   BBS(HD, ,0x0).......................................................................
Boot0005* USB Hard Drive 1 -  USB DISK 3.0      BBS(HD, ,0x900).......................................................................
demo@mx1:~
$ 
2- How to Change Grub Menu Defaults? When the computer boots up in a dual boot system continues to boot with the default entry in the grub.cfg file, which is set to be MX 21,

3-

Code: Select all

How to convert ext4 filesystem to f2fs filesystem Without Losing Data?

User avatar
fehlix
Developer
Posts: 12879
Joined: Wed Apr 11, 2018 5:09 pm

Re: Grub won't install: Dual boot MX-21 March KDE & Win 10

#14 Post by fehlix »

serviteur wrote: Wed Apr 13, 2022 12:50 am I run Update-Grub in Chroot, and it boots on MX 21. :wink:
Good, so it appears you may consider this thread to marked as [Solved],
serviteur wrote: Wed Apr 13, 2022 12:50 am 1-Why did the command: sudo efibootmgr -v didn't show the EFI's NVRAM entries:
My best guess would be: Your EFI-firmware is buggy.
serviteur wrote: Wed Apr 13, 2022 12:50 am 2- How to Change Grub Menu Defaults?
When the computer boots up in a dual boot system continues to boot with the default entry in the grub.cfg file, which is set to be MX 21,
Some options can be changed using MX Tools -> "MX Boot Options"
serviteur wrote: Wed Apr 13, 2022 12:50 am 3-

Code: Select all

How to convert ext4 filesystem to f2fs filesystem Without Losing Data?
IMHO, you can't convert ext4 -> f2fs, you would need re-format the partition to f2fs.
Note: Better do always open a new topic with new questions, to avoid polluting a thread with completely different issues.

serviteur
Posts: 21
Joined: Thu Aug 26, 2021 3:42 pm

[Solved] Re: Grub won't install: Dual boot MX-21 March KDE & Win 10

#15 Post by serviteur »

fehlix wrote: Wed Apr 13, 2022 5:02 am
serviteur wrote: Wed Apr 13, 2022 12:50 am I run Update-Grub in Chroot, and it boots on MX 21. :wink:
Good, so it appears you may consider this thread to marked as [Solved],
serviteur wrote: Wed Apr 13, 2022 12:50 am 1-Why did the command: sudo efibootmgr -v didn't show the EFI's NVRAM entries:
My best guess would be: Your EFI-firmware is buggy.
serviteur wrote: Wed Apr 13, 2022 12:50 am 2- How to Change Grub Menu Defaults?
When the computer boots up in a dual boot system continues to boot with the default entry in the grub.cfg file, which is set to be MX 21,
Some options can be changed using MX Tools -> "MX Boot Options"
serviteur wrote: Wed Apr 13, 2022 12:50 am 3-

Code: Select all

How to convert ext4 filesystem to f2fs filesystem Without Losing Data?
IMHO, you can't convert ext4 -> f2fs, you would need re-format the partition to f2fs.
Note: Better do always open a new topic with new questions, to avoid polluting a thread with completely different issues.

Well received, and thanks for your assistance! :thumbup:

Post Reply

Return to “MX KDE Official Release”