Linux Lite Forums
Software - Support => Installing Linux Lite => Topic started by: javier_mina on November 26, 2022, 06:05:26 PM
-
I have been happily using Linux Lite for a number or years. When I just tried to upgrade ver 5.8 with 6.2 etched on a USB, my installation started well going through location, network connection and so on but then went black. When I rebooted, I ended up with this... "GNU GRUB version 2.4 minimal BASH-like line editing is supported. For the first word, Tab lists possible command completions. Anywhere else TAB lists possible device or file completions. " Then I get a grub> command.
It won't reinstall, just goes right back to the message and prompt.
How can I fix this? Is my Dell laptop bricked?
-
you can not upgrade from 5.x series to 6.x series. You need to clean install 6.2
-
I ended up with this... "GNU GRUB version 2.4 minimal BASH-like line editing is supported. For the first word, Tab lists possible command completions. Anywhere else TAB lists possible device or file completions. " Then I get a grub> command.
This post (https://www.linuxliteos.com/forums/release-announcements/linux-lite-5-0-rc1-released/msg51929/#msg51929) may lead you to some resources that guide you through a grub recovery.
-
Further to Wytwun's link you can check the grub setting fairly quickly from the grub prompt.
Provided you have the grub> prompt (not grub rescue>) it implies grub is running but the necessary files aren't where grub thinks they should be. This might be fixable but because your installation didn't complete the state is unknown and re-installation might be the better option.
Type
set
Look for the line beginning 'root=', it should look something like
root=(hd0,gpt1)
This is where grub is trying to boot from, make a note of it.
Begin checking what is actually on the disk by listing the partitions on the system
ls
The partition names should look something like
(hd0,msdos1) or (hd0,gpt1). The numbers may be different on your system.
Now check each partition for a 'root/' directory.
Repeat the 'ls' command followed by a space, then each partition in turn and finally slash '/'.
Regardless of the 'msdos' or 'gpt', you only need the partition number.
The commands will look something like this, but replace the hd and partition numbers to suit your system.
ls (hd0,1)/
For any partition with a root/ directory you can investigate what may be on it.
Type
cat (hd0,1)/etc/llver
again, you must replace the disk and partition numbers with your system. The 'llver' file (if found) should have a valid LL release number. As you've tried to install 6.2, the contents of this file should be 'Linux Lite 6.2'
If you can't find the llver file showing 'Linux Lite 6.2' in any partition you need to re-install.
If the root partition line from the 'set' command is the same as the partition in which you found 'Linux Lite 6.2' then grub is set correctly and you probably need to re-install.
If the root partition line from the 'set' command is not the same as the partition in which you found 'Linux Lite 6.2' then grub can be changed from the grub command line. However it may still not boot properly due to the failed install.
Let us know what you find and also what problems you had that lead you to the conclusion that system won't re-install.
-
Thanks to stevef and WytWun but still no success except that I learned LinuxLite6.2 is on hd0,gpt2 . I tried the guidance from both. So I am at the point of having to re-install. Hence my naiive question. How can I do that when my install USB for 6.2 and my former one for 5.4 (which worked for that series) always end with the grub>
I had gotten to like Linux Lite and would hate to give up on it. Please help.
-
@javier_mina
What was your install process?
How many OS are installed just LL5 and LL6 or windows too..
Sounds like an UEFI bios, make sure boot loader resides on that same partition...
If its moved, or such have you tried going into ur bios/uefi and ensure Ubuntu (LL) is the 1st boot.
If its not set it as 1st and try to boot - see which LL boots or if prompts if only one... we can update grub to look for others.
-
For reinstallation, it sounds like you need to access the Dell boot menu in order to get the machine to boot from your installation media (USB or DVD) rather than GRUB which goes to the failed installation.
Search the internet for your model name/number and the words 'boot menu' for specific instructions.
It may be that tapping at the F12 key just after power on is the method.
Other common keys to try are 'Esc' or F2
-
:) Finally got it :computer An obscure setting in "advanced BIOS" enabled me to boot the Linux Lite install USB. Thanks to everyone for their support, consideration and patience.
-
:) Finally got it :computer
Glad to hear you had a win!
An obscure setting in "advanced BIOS" enabled me to boot the Linux Lite install USB. Thanks to everyone for their support, consideration and patience.
For the benefit of anyone else who might encounter something like this, what was the "obscure setting" in the BIOS that you needed to change and what value did you need to set it to?