You are Here:
Linux Lite 5.2 RC1 is now available for download and testing



Bootloader Fatal Error - GRUB not working

Author (Read 1248 times)

0 Members and 4 Guests are viewing this topic.

Bootloader Fatal Error - GRUB not working
« on: July 16, 2020, 06:06:36 PM »
 

NotSoFabulous

  • New to Forums
  • *
  • 4
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.0 64bit

  • MEMORY: 1Gb
Hi everybody,

i am fairly new to the world of Linux. Because i need to run open source lab analysis software, I was planning on installing dual boot Win 10 and LL5.0.
I got everything up to the installer running and followed recommendations in this forum which helped well.
I created a 20 GB partition for LL root and swap. sda1 is windows, sda2 is data and sda3 was generated for LL.

I also followed the help file of LL 5.0.
For dual boot, it says to install on extra partition. I set bootloader to sda as recommended and had sda3 wiped. Before continuing, the software told me to define efi of at least 500 mb. Because LL help file told me not to touch sda1, the win partition, i cut a piece of the sda3 to create sda 4 in efi. Then, i was able to continue installation process and LL was installed. Before the end of the process, installation crashed and a fatal error occured stating that GRUB was not properlz installed.

When restarting, GRUB didn|t do much but a command line that gave an error.

Restarting from BIOS and setting the USB first made me at least restart into LL installation surface. From here i am writing.

Windows partition is dead and not accessible at this point via GRUB or when set to home drive.

Anybody a suggestion on how to fix GRUB?
Re-installation works, but doesnt fix the problem, tried a few different angles, but didnt get far.

Any help greatly appreiated!
 


Re: Bootloader Fatal Error - GRUB not working
« Reply #1 on: July 16, 2020, 06:46:10 PM »
 

NotSoFabulous

  • New to Forums
  • *
  • 4
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.0 64bit

  • MEMORY: 1Gb
Kept reading, tried to define sda4 as FAT32 with mount /boot/efi, didnt work.

Fatal error messages comes up right when wizard tries to install GRUB2 into the defined sda4.

All I have for now, running out of ideas...
 

Re: Bootloader Fatal Error - GRUB not working
« Reply #2 on: July 16, 2020, 09:23:51 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1445
    Posts
  • Country: us
  • Reputation: 257
  • Linux Lite Member

  • Linux Lite: 4.8 64bit

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x

@NotSoFabulous
Have you set LL or Ubuntu in the boot options -- boot order???


If so maybe.......

and I haven't installed LL5.0 as of yet...
BUT - A few assumptions - This is a UEFI system and SecureBoot is off...
You followed the manual - shrunk Windows (in Win)
Then in the installer (LiveUSB) your creating the partitions .. Via the install or gparted? - is Swap a file or partition?
- I would try the installer - there should be an option for "Along Side Windows" the defaults should get you there...

SO..
if LL is /sda3 you can wipe it.. get rig of /sda4 too = reallocate as a single.
Remember 1 disk can had 4 partitions (regardless of OS)

Currently you probably have the below... All on 1 disk?
- /sda
-- /sda1 Windows OS
-- /sda2 Data (Win)
-- /sda3 LL OS
-- /sda4 LL boot?

Does windows have the hidden restore partition?

I would try without boot, but if it prompts to have it.. I'd go a full 1GB
If you have to do boot then I would not do a swap partition - create a swapfile later for use...
Give the remaining to "/" root..

In the installer using Along Side - it should create as needed for you...
If you use "Something Else" you'll have gparted presented...
- make sure you select the label (/boot, / )
- also select format (ext4 is popular)
Towards the bottom there is the boot loader option...
- Select either /sda or LL part...

LL 4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL 4.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL 4.6 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL 3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express
RETIRED LL 2.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA
Running Linux Lite since LL2.2
 

Re: Bootloader Fatal Error - GRUB not working
« Reply #3 on: July 17, 2020, 02:31:32 AM »
 

NotSoFabulous

  • New to Forums
  • *
  • 4
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.0 64bit

  • MEMORY: 1Gb
Hi Firenice03

Thanks for taking the time to respond to my problem.

I'll respond in order to your questions and suggestions.

As boot option in the BIOS I only have Ubuntu, LL is not there. I found a post on that issue in here. However, I think the error message while installing is the very first problem, so I try to fix that first. GRUB is not installed, so boot managing for dual boot won't work anyway, whichever is set to boot first?

In regards to your assumtions:
BIOS was set to UEFI enable and secure boot is off (which I had to do to be able to run the installer from USB anyway).
Partitions are created via install.
I tried with and without SWAP as partition. Will delete it though as to your comment with max partitions per ssd.

In my installer, there is no "along side windows" option which is a common thing according to LL help. They state to install anyway using "something else".

Because I have a samsung restore partition, I won't be able to handle all partitions the way they are now.
I'll first try without /boot/efi partition. If that doesn't work, I'll merge data an win partition. I have all "imprtant" things stored externally anyway.

If all you suggested doesn't work, I'll try the /LL partition for boot loader, I haven't tried that one yet.

I'll get back to you after trying some more ways.

And thanks again!
 

Re: Bootloader Fatal Error - GRUB not working
« Reply #4 on: July 17, 2020, 07:35:19 AM »
 

NotSoFabulous

  • New to Forums
  • *
  • 4
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.0 64bit

  • MEMORY: 1Gb
None of the above worked.
I now have only two main partitions, one containing win10, the other for LL installation.
LL is being installed perfectly, however, I cannot get the GRUB2 working.

Created a separate EFI partition of 1000 MB.
I used installer partitioner as well as gparted, no success. GRUB2 does not install.

Is there an alternate way of installing a boot manager?

Any other suggestions?
 

Re: Bootloader Fatal Error - GRUB not working
« Reply #5 on: July 17, 2020, 09:24:00 AM »
 

WytWun

  • PayPal Supporter
  • Occasional Poster
  • *****
  • 51
    Posts
  • Country: au
  • Reputation: 4
  • Linux Lite Member

  • Linux Lite: 3.8 64bit

  • CPU: J3455
Anybody a suggestion on how to fix GRUB?
You aren't reporting exact error messages or information displayed which unfortunately means anyone trying to help you has to guess what is going on.

Re-installation works, but doesnt fix the problem, tried a few different angles, but didnt get far.
Please read through the 5.0RC1 thread - I encountered some apparently somewhat similar behaviour installing that pre-release and posted some information in that thread about grub recovery which may be relevant.
 

Re: Bootloader Fatal Error - GRUB not working
« Reply #6 on: July 18, 2020, 02:58:29 AM »
 

Şerban S.

  • Şerban
  • PayPal Supporter
  • Forum Regular
  • *****
  • 141
    Posts
  • Country: ro
  • Reputation: 7
  • Linux Lite Member

  • Linux Lite: 5.0 64bit

  • CPU: Intel® Core™ i7-4790

  • MEMORY: 16Gb

  • VIDEO CARD: Intel® HD Graphics 4600 + NVidia GK107 (GeForce GT630 OEM)

  • Kernel: 5.x
[...] Any other suggestions?

Hello!

To cut the chase...
Windows and Linux never loved too much each other. Mostly Windows...

Now look into your machines info and use the key that pops up the boot menu.
In the boot menu, look for either Windows or Ubuntu/Linux Lite.
This should fix the problem.
As far as I see, there are two bootloaders which on UEFI is OK.
As for using only GRUB to boot both, is more complicated. You need to study the GRUB documentation on UEFI multi boot.
But I suggest you use the POST boot menu instead of digging the whole internet upside down for a solution.

The worst scenaro is... reinstalling everything from scratch.
If this is the last resort, than start with Windows, then when you install Linux Lite 5.0, at boot time, press the key to show the boot menu and from the boot menu, select "UEFI" and the LL stick's name, otherwise your installation will report "successful" but will have trouble with GRUB.
Actually on the same USB you have two different installers: one for BIOS firmware and the second, for UEFI firmware.
Since you have UEFI, you need to select as said above.

I hope you will be able to boot, without reinstalling the whole stuff though...

Anyway, good luck! :)
"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
 Dell Precision T1700, 16 GB RAM, 240 GB SSD.
Laptop:
 Lenovo ThinkPad T400 + SSD Kingston A 400, 480 GB.
 

Re: Bootloader Fatal Error - GRUB not working
« Reply #7 on: September 16, 2020, 10:20:29 AM »
 

pnrstatusio

  • New to Forums
  • *
  • 1
    Posts
  • Country: in
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.0 64bit
This post is very helpful to fix my issue.

Thank You
Sanu Singh
 


Tags:
 


Linux Lite 5.2 RC1 is now available for download and testing