You are not logged in.

#1 2022-02-18 18:32:37

serialschoenberg
Member
Registered: 2020-04-01
Posts: 37

[SOLVED] grub rescue>

Hello,

I installed Lithium on a laptop Thinkpad.

At boot, I get the error message: "/boot/grub/x86_64-efi not found".

What can I do? (reinstall wink ?)

rb

Last edited by serialschoenberg (2022-02-22 21:30:52)

Offline

#2 2022-02-18 20:22:05

rbh
Moderator
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,513

Re: [SOLVED] grub rescue>

It depends of what you want. If you just want to have the macine operable as soon as possible, yes, reinstall.

If you want to learn, examine the problem more close.

What modell of Thinkpad? Old IBM Thinkpad or brand new Lenovo Thinkpad? Does it have bios or uefi?
If you boot to live session and in terminal run command "inxi -M" (-M, short for --machine), you will get that and more info.
You can test reinstall grubb from debian iso, choose rescue mode.


// Regards rbh

Please read before requesting help: Guide to getting help,
Introduction to the Bunsenlabs Lithium Desktop and other help topics under "Help Resources" on the BunsenLabs menu

Offline

#3 2022-02-18 20:36:45

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,545

Re: [SOLVED] grub rescue>

If you have a UEFI machine you should select UEFI device from the boot menu when booting the BL live media otherwise it will not create the EFI partition (if the hard disk is clear) or fail to place the Debian boot files into the EFI partition if you are dual booting with an existing Windows install. In addition the disk or SSD needs to be formatted as GPT if using UEFI.

Last edited by DeepDayze (2022-02-18 20:37:49)


Real Men Use Linux

Offline

#4 2022-02-19 10:00:26

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 1,762

Re: [SOLVED] grub rescue>

I wonder, if it is already in grub rescue is, why a new installation should be faster.

e.g.

grub rescue> ls   #query his partitions
grub rescue> set prefix=(hdX,gptX)/boot/grub/x86_64-efi
grub rescue> set root=(hdX,gptX)
grub rescue> insmod normal
grub rescue> normal
boot

In the booted system, reconfigure grub and update-grub.

Offline

#5 2022-02-21 12:21:51

serialschoenberg
Member
Registered: 2020-04-01
Posts: 37

Re: [SOLVED] grub rescue>

Bonjour,

Thanks for your answers.

rbh: the lapt is a Lenovo Thinkpad Edge E530 UEFI from 3 June 2012

DeepDaze: it is dualboot but i dont need windows

unklar: I fear to format the /home. ...

rb

Offline

#6 2022-02-21 13:31:38

rbh
Moderator
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,513

Re: [SOLVED] grub rescue>

serialschoenberg wrote:

rbh: the lapt is a Lenovo Thinkpad Edge E530 UEFI from 3 June 2012

Have you checked bios settings? I think you can enable UEFI/Legacy boot, så if uefi not available it will make a legacy boot.

Did you test to boot from Grub rescue as unklaar adviced?
Else, you should be able to boot the system from the Supergrub2 disk https://www.supergrubdisk.org/super-grub2-disk

DeepDaze: it is dualboot but i dont need windows

Can you boot windows?

unklar: I fear to format the /home. ...

No backup? You are not alone. But you do not need to format /home

I have sometimes reinstalled and kept /home:

1 With /home on main partition
Booted BL live iso. Renamed /home/username to ...username.bak
Deleted all other directories.
Rebooted to the installer. Choosed advanced. Choosed to keep fileformat on /.
After login to reinstalled system, copied data/settings that is to be kept, back to my ~/.

2 With /home on own partition, as above but formating / and keep /home.

But, before you reinstall. If you do not use windows at all, maybe you should delete that also?
Check disk if you have uefi partition.

When reinstalling, take care you don't choose wrong alternatives.
If choosing graphich expert install, you can take screenshots of every step...


// Regards rbh

Please read before requesting help: Guide to getting help,
Introduction to the Bunsenlabs Lithium Desktop and other help topics under "Help Resources" on the BunsenLabs menu

Offline

#7 2022-02-21 14:11:45

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 1,762

Re: [SOLVED] grub rescue>

serialschoenberg wrote:

unklar: I fear to format the /home. ...

rb

A grub rescue> or grub> is used solely to "show" grub the way to its files.
This has nothing to do with /home and certainly nothing to do with formatting anything here!  big_smile

Offline

#8 2022-02-21 15:47:12

serialschoenberg
Member
Registered: 2020-04-01
Posts: 37

Re: [SOLVED] grub rescue>

I am not expert enough nor in Debian not in BL nor in English. I reinstall. At this point I have to set up the ff up the partotion 1 :SCSI (0, 0, 0) (sda); bootable; 1.6 GB {too big, I know}

Use as EFI partition ?
Delete the content ?

Thanks

Offline

#9 2022-02-21 16:05:22

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 978

Re: [SOLVED] grub rescue>

If you really don't need Windows, there's a lot to be said for the "Guided use entire disk" option when partitioning. It makes all the decisions for you pretty much.

If you fear to do that, boot Windows, use disk management to clear out the old Linux partitions, then pick "Guided use largest free space" in the installer.  If you're not skilled I'd stay away from manual partitioning.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#10 2022-02-21 16:08:23

serialschoenberg
Member
Registered: 2020-04-01
Posts: 37

Re: [SOLVED] grub rescue>

I am not expert enough nor in Debian nor in BL nor in English. I reinstall. At this point I have to set up the partition 1 :SCSI (0, 0, 0) (sda); bootable; 1.6 GB {too big, I know}

Use as EFI partition ?
Delete the content ?

Thanks

Offline

#11 2022-02-21 16:10:06

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 978

Re: [SOLVED] grub rescue>

Without seeing your screen, I can't tell you the answer and know I'm right.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#12 2022-02-21 17:59:52

rbh
Moderator
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,513

Re: [SOLVED] grub rescue>

serialschoenberg wrote:

I am not expert enough nor in Debian nor in BL nor in English. I reinstall. At this point I have to set up the partition 1 :SCSI (0, 0, 0) (sda); bootable; 1.6 GB {too big, I know}

Do you have that partition? It is not too big to use as boot, if you want to have an rescue-iso there to use fror Grub-iso boot in emergency...

Use as EFI partition ?

If BL is sole OS, you might not need more than 2 mb, but take 100 mb.

Delete the content ?

Do you know what it contains? Never delete anything without first check content...

You can do as I, in bios, disable uefi boot...


// Regards rbh

Please read before requesting help: Guide to getting help,
Introduction to the Bunsenlabs Lithium Desktop and other help topics under "Help Resources" on the BunsenLabs menu

Offline

#13 2022-02-22 21:24:10

serialschoenberg
Member
Registered: 2020-04-01
Posts: 37

Re: [SOLVED] grub rescue>

voila,

It is finished. I changed to Legacy in the bios and then installed the Lithium.

Thanks rbh, unklar and company.

Offline

Board footer

Powered by FluxBB