LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 03-22-2021, 11:55 PM   #1
vw98008
Member
 
Registered: Jul 2019
Posts: 83

Rep: Reputation: Disabled
"No Windows Bootloader Found" In Dual Boot - How To Fix It?


I try to install MX Linux on an existing partition for Linux (ext4) in a dual boot box. The installation stops around 95% when installing GRUB. A message says "can't get GRUB installed" and to reboot and go to the grub rescue menu. After reboot the live MX, I select bootloader and find the menu. Under the menu, I select "find window bootloader" and get a message, "no windows bootloader found".

At the moment, Windows couldn't get booted from the HD. The Windows repairing process didn't help. After I reinstalled the Windows, it can get booted from HD.

Now, I go back to MX Linux live from USB. I still get the error message. How to fix it?
 
Old 03-23-2021, 08:32 AM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,295

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
from mx linux live open a terminal and post the output of the following,
Code:
sudo parted -l
cat /sys/firmwware/efi

Last edited by colorpurple21859; 03-23-2021 at 09:09 AM.
 
Old 03-23-2021, 11:35 AM   #3
vw98008
Member
 
Registered: Jul 2019
Posts: 83

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
from mx linux live open a terminal and post the output of the following,
Code:
sudo parted -l
cat /sys/firmwware/efi
Thanks very much for your help.

The followings are the output of the first command
Code:
Model: ATA WDC WD1200JD-75G (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system     Flags
 1      32.3kB  41.1MB  41.1MB  primary  fat16           diag
 2      41.1MB  42.0GB  41.9GB  primary  ntfs            boot
 3      42.0GB  44.1GB  2147MB  primary  linux-swap(v1)
 4      44.1GB  120GB   75.9GB  primary  ext4


Model: General UDisk (scsi)
Disk /dev/sdb: 4027MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  4027MB  4025MB  primary  fat32        boot, lba
Under the /sys/firmware, there are three directories: acpi dmi memap, but not any files.
 
Old 03-23-2021, 03:36 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,569

Rep: Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499
Can you re-install MX and run those same commands again ?. From the installed system rather than the liveCD.

Last edited by syg00; 03-23-2021 at 03:37 PM. Reason: last sentence added
 
Old 03-23-2021, 04:56 PM   #5
vw98008
Member
 
Registered: Jul 2019
Posts: 83

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Can you re-install MX and run those same commands again ?. From the installed system rather than the liveCD.
I get the same error after reinstalling MX. I can't see how to get to the hard drive to find out that Linux information from the MX live.

The error message is "GRUB installation failed. You can reboot to the live medium and use the GRUB Rescue menu to repair the installation". After playing the "switch to GRUB bootloader", I can't see how to fix the problem. Any advice?
 
Old 03-23-2021, 05:53 PM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,034

Rep: Reputation: Disabled
For EFI install you may need to use GPT partition table, some firmawares are choosy and may not want to boot in EFI mode from MSDOS partitioned drive.
OTOH, for legacy boot you need a small 2 MB empty non-formatted so-called Grub-BIOS partition, Grub needs it for its stage 1.5 files, methinks. If this partition is missing Grub will fail, like it does on you. If you want to use current partition table use some other bootloader, SysLinux, Lilo, whatnot.
 
Old 03-23-2021, 05:54 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,569

Rep: Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499

Let's see those commands again from the liveCD just to see if MX did change things.
 
Old 03-23-2021, 06:28 PM   #8
vw98008
Member
 
Registered: Jul 2019
Posts: 83

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
For EFI install you may need to use GPT partition table, some firmawares are choosy and may not want to boot in EFI mode from MSDOS partitioned drive.
OTOH, for legacy boot you need a small 2 MB empty non-formatted so-called Grub-BIOS partition, Grub needs it for its stage 1.5 files, methinks. If this partition is missing Grub will fail, like it does on you. If you want to use current partition table use some other bootloader, SysLinux, Lilo, whatnot.
During the installation procedure, there isn't a requirement on grub-bios partition if my memory is correct.
 
Old 03-23-2021, 06:34 PM   #9
vw98008
Member
 
Registered: Jul 2019
Posts: 83

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post

Let's see those commands again from the liveCD just to see if MX did change things.
Nothing changed. Also, after I select "find GRUB bootloader", I get
Code:
found GRUB bootloader at (hd0, msdos1)
found GRUB bootloader at (hd1, msdos4)
I guess something shall be done in the hd1.

Last edited by vw98008; 03-23-2021 at 06:49 PM.
 
Old 03-23-2021, 08:59 PM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,295

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Follow these instructions here https://howtoubuntu.org/how-to-repai...ubuntu-live-cd
The partition you mount at /mnt will be /dev/sda4
The grub-install will be
Code:
sudo grub-install /dev/sda
 
Old 03-23-2021, 09:12 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,569

Rep: Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499
So I guess we can assume BIOS rather than [U]EFI complications. I'd be looking in the BIOS menus for a "anti-virus" type setting that may be stopping grub updating. colorpurple21859' suggestion should test that tho'.
 
Old 03-23-2021, 09:25 PM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,295

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Quote:
So I guess we can assume BIOS rather than [U]EFI complications.
The drive is msdos and the first partition is diag not esp, and no /sys/firmware/efi. With the usb plugged in, grub has the usb as the first drive. See post 3 and 9.

Quote:
Under the /sys/firmware, there are three directories: acpi dmi memap, but not any files.
I was checking for the existence or not of a /sys/firmware/efi directory. If this had been a uefi system the partition table would have been gpt. The cat command would have returned "/sys/firmware/efi is a directory" if booted in uefi mode, versus legacy/csm mode.

Last edited by colorpurple21859; 03-23-2021 at 09:32 PM.
 
Old 03-25-2021, 09:29 PM   #13
vw98008
Member
 
Registered: Jul 2019
Posts: 83

Original Poster
Rep: Reputation: Disabled
This problem has been resolved with some help from a member of MX team.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
[SOLVED] Dual boot Fedora and Windows 10. After reinstalling Fedora Windows 10 entry is gone from bootloader. bkone Linux - Newbie 4 01-05-2019 12:21 AM
[SOLVED] GRUB bootloader questions.(Can I restore the windows bootloader & windows 10 upgrade) ThisGuyHasSomeQuestions Linux - General 3 07-19-2015 05:01 PM
How to install bootloader to partition after install; use Windows bootloader to boot Xenphor Fedora 3 07-27-2013 11:56 PM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration