[SOLVED] Too many GRUBs / BootLoaders on Dual Boot

When you run into problems installing MX Linux XFCE
Message
Author
User avatar
Energy
Posts: 18
Joined: Wed Nov 13, 2019 9:18 am

Re: Too many GRUBs / BootLoaders on Dual Boot

#11 Post by Energy »

Code: Select all

Machine:   Type: Laptop System: ASUSTeK product: N501VW v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: N501VW v: 1.0 serial: <filter> UEFI: American Megatrends 
           v: N501VW.305 date: 04/19/2017 
I think now is it correct?
The only Location available with ESP is Sda1
However the ESP option will install it on the old slow HD?
i can't completely understand this screen below, i mean:
will the Grub be installed on the HD so the boot will be from there? and be slower than Ssd?
Why don't install it directly on SSD?
Thanks
You do not have the required permissions to view the files attached to this post.

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

Re: Too many GRUBs / BootLoaders on Dual Boot

#12 Post by fehlix »

Energy wrote: Sat Nov 16, 2019 4:59 am The only Location available with ESP is Sda1
However the ESP option will install it on the old slow HD?
i can't completely understand this screen below, i mean:
will the Grub be installed on the HD so the boot will be from there? and be slower than Ssd?
Why don't install it directly on SSD?
Let's see what we have:
Your rotating drive:

Code: Select all

Model: ATA HGST HTS541010A7 (scsi)  : Disk /dev/sda: 1000GB
sda                                                                               
├─sda1      vfat     SYSTEM   72DF-E82C                                           
├─sda2                                                                            
├─sda3      ntfs     DATA     7E56F38C56F34385                                    
└─sda4      ntfs     RECOVERY 68A660C9A66098F8                                    

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  274MB   273MB   fat32        EFI system partition          boot, esp
 2      274MB   290MB   16.8MB               Microsoft reserved partition  msftres
 3      290MB   1000GB  999GB   ntfs         Basic data partition          msftdata
 4      1000GB  1000GB  523MB   ntfs         Basic data partition          hidden, diag
and your SSD:

Code: Select all

Model: Samsung SSD 960 EVO 250GB (nvme) : Disk /dev/nvme0n1: 250GB

nvme0n1                                                                           
├─nvme0n1p1                                                                       
├─nvme0n1p2 ntfs              48B2B1CDB2B1BFAC                                    
├─nvme0n1p3 ntfs              F6E4394AE4390DFD                                    
└─nvme0n1p4 ext4     rootMX19 195fae52-e7b6-4687-869a-5fd224057583                

Number  Start   End    Size   File system  Name                          Flags
 1      17.4kB  134MB  134MB               Microsoft reserved partition  msftres
 2      135MB   132GB  132GB  ntfs         Basic data partition          msftdata
 3      132GB   133GB  851MB  ntfs                                       hidden, diag
 4      133GB   250GB  117GB  ext4
So, what do we find. When you installed WinOS on the SSD, you missed to create a EFI System Partition (ESP) on the nvme-SSD, and perhaps take away the esp-flag from the existing ESP. And as there was a valid ESP ( sda1 vfat) on the "old" drive the win-installer have used this ESP to place it's windows EFI-loader into.
A proposed partition layout might be look like this.
The SSD:

Code: Select all

Model: Samsung SSD 960 EVO 250GB (nvme) : Disk /dev/nvme0n1: 250GB

nvme0n1
├─nvme0n1p1 vfat    512MB    EFI system partition          boot, esp
├─nvme0n1p1                  Microsoft reserved partition  msftres
├─nvme0n1p2 ntfs             Window (C:)                   msftdata
├─nvme0n1p3 ntfs             Basic data partition          hidden, diag
└─nvme0n1p4 ext4             Linux
The Data-disk:

Code: Select all

Model: ATA HGST HTS541010A7 (scsi) : Disk /dev/sda: 1000GB

sda
└─sda1      ntfs              DATA
Not sure How to fix this without reinstalling Windows and MX Linux .

User avatar
Energy
Posts: 18
Joined: Wed Nov 13, 2019 9:18 am

Re: Too many GRUBs / BootLoaders on Dual Boot

#13 Post by Energy »

I see, thanks for the nice explanation, understood, ;)
MX was just installed, so it can be erased and set again,
but i think it doesn't solve the issue, right?

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: Too many GRUBs / BootLoaders on Dual Boot

#14 Post by Head_on_a_Stick »

It is possible to move the EFI system partition for a Windows installation: https://www.tenforums.com/installation- ... ition.html
mod note: Signature removed, please read the forum rules

User avatar
Energy
Posts: 18
Joined: Wed Nov 13, 2019 9:18 am

Re: Too many GRUBs / BootLoaders on Dual Boot

#15 Post by Energy »

Head_on_a_Stick wrote: Sat Nov 16, 2019 12:35 pm It is possible to move the EFI system partition for a Windows installation: https://www.tenforums.com/installation- ... ition.html
Head, thanks for the infos, seems very interesting, but complicated as well to me, risky
i think for this time i'll go on classic installation without risk,
(save all and later reinstall everything correctly ;) )
fehlix wrote: Sat Nov 16, 2019 8:13 am Your rotating drive:

Code: Select all

Model: ATA HGST HTS541010A7 (scsi)  : Disk /dev/sda: 1000GB
sda                                                                               
├─sda1      vfat     SYSTEM   72DF-E82C                                           
├─sda2                                                                            
├─sda3      ntfs     DATA     7E56F38C56F34385                                    
└─sda4      ntfs     RECOVERY 68A660C9A66098F8                                    

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  274MB   273MB   fat32        EFI system partition          boot, esp
 2      274MB   290MB   16.8MB               Microsoft reserved partition  msftres
 3      290MB   1000GB  999GB   ntfs         Basic data partition          msftdata
 4      1000GB  1000GB  523MB   ntfs         Basic data partition          hidden, diag
Not sure How to fix this without reinstalling Windows and MX Linux .
So do You advice to use the MX Boot Repair with the options i posted before as img?
What about the other Grubs / Bootloaders? (will be deleted?)
Thanks to All

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

Re: Too many GRUBs / BootLoaders on Dual Boot

#16 Post by fehlix »

Energy wrote: Sun Nov 17, 2019 4:57 pm
fehlix wrote: Sat Nov 16, 2019 8:13 am Your rotating drive:

Code: Select all

Model: ATA HGST HTS541010A7 (scsi)  : Disk /dev/sda: 1000GB
sda                                                                               
├─sda1      vfat     SYSTEM   72DF-E82C                                           
├─sda2                                                                            
├─sda3      ntfs     DATA     7E56F38C56F34385                                    
└─sda4      ntfs     RECOVERY 68A660C9A66098F8                                    

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  274MB   273MB   fat32        EFI system partition          boot, esp
 2      274MB   290MB   16.8MB               Microsoft reserved partition  msftres
 3      290MB   1000GB  999GB   ntfs         Basic data partition          msftdata
 4      1000GB  1000GB  523MB   ntfs         Basic data partition          hidden, diag
Not sure How to fix this without reinstalling Windows and MX Linux .
So do You advice to use the MX Boot Repair with the options i posted before as img?
Yes, please do so. This will create install grub-efi and create a new entry within EFI-System partition on sda1.
If you than boot with UEFI and still cannot see the MX-entry with the UEFI-boot menu.
You can run LiveUSB boot rescue menu, atleast to see that you can boot into MX.
And we might then also fix the UEFI-boot entry, so you would not need to boot via the rescue menu.
Energy wrote: Sun Nov 17, 2019 4:57 pm What about the other Grubs / Bootloaders? (will be deleted?)
After you booted int MX you can navigate into /boot/efi/EFI folder and remove the not used ubuntu subfolder. Don't remove Microsoft sub-folder or the Boot folder.
It is not so important to have the EFI-partition on the SSD, you can keep it on sda1, as its only a very tinny file to load during boot.

User avatar
Energy
Posts: 18
Joined: Wed Nov 13, 2019 9:18 am

Re: Too many GRUBs / BootLoaders on Dual Boot

#17 Post by Energy »

Thanks Fehlix now it boots directly into MX giving the Grub menu!
how can i add the Windows loader in that menu?

/boot/efi/ is Empty

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Too many GRUBs / BootLoaders on Dual Boot

#18 Post by JayM »

Code: Select all

sudo update-grub
run in a terminal should detect and add Windows to the grub menu.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
Energy
Posts: 18
Joined: Wed Nov 13, 2019 9:18 am

Re: Too many GRUBs / BootLoaders on Dual Boot

#19 Post by Energy »

By Chance i was modifying Grub searching for that option in the MX Tool, (setting 10 sec for choosing entries)
and it Updated Grub eventually,
So now Win loader appears on the Menu' :happy:

What about other BootLoaders or Grub Menu' ?
it's because when i will update all System with Uefi in SSD disk, i wouldn't remember the configuration,
and so to be ready to change all without thinking about other Old stuff witch may interfere
Thanks folks!

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Too many GRUBs / BootLoaders on Dual Boot

#20 Post by JayM »

There's only one bootloader: grub (which stands for GRand Unified Bootloader.)
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

Post Reply

Return to “Installation”