You are not logged in.

#1 2024-04-01 14:11:42

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

[SOLVED] GRUB not booting.

Hi all,

I just had some struggles due to my MSI motherboard not storing the boot config. However, I do see the GRUB boot option on my SSD now; however, the issue is when I try to boot into it, it just restarts and brings me back to the motherboards UEFI system. Any ideas?

Thanks,

Last edited by mrdudebro1 (2024-04-07 23:09:35)

Offline

#2 2024-04-03 00:39:14

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [SOLVED] GRUB not booting.

am I allowed to bump this?

Offline

#3 2024-04-03 05:50:04

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,769
Website

Re: [SOLVED] GRUB not booting.

Not really.

Have you disabled SecureBoot?

Offline

#4 2024-04-03 22:55:49

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [SOLVED] GRUB not booting.

Head_on_a_Stick wrote:

Not really.

Have you disabled SecureBoot?

Secure boot is definitely disabled

https://cdn.discordapp.com/attachments/ … 3e25844cb&

Last edited by mrdudebro1 (2024-04-04 16:29:41)

Offline

#5 2024-04-04 16:28:12

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,769
Website

Re: [SOLVED] GRUB not booting.

Please replace the image with a link, we have a 250x250px limit here.

Have you checked /boot/grub/grub.cfg? Share it here if you can't make any sense of it. Also post the filesystem UUIDs. Thanks.

Offline

#6 2024-04-05 00:05:41

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [SOLVED] GRUB not booting.

Head_on_a_Stick wrote:

Please replace the image with a link, we have a 250x250px limit here.

Have you checked /boot/grub/grub.cfg? Share it here if you can't make any sense of it. Also post the filesystem UUIDs. Thanks.

I am posting a picture with my phone of the grub.cfg. I will post it as a link:


https://cdn.discordapp.com/attachments/ … b3b46a611&

How do i get the filesystem UUIDS?

Last edited by mrdudebro1 (2024-04-05 00:10:51)

Offline

#7 2024-04-05 22:37:02

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,769
Website

Re: [SOLVED] GRUB not booting.

Did you remember to install a kernel?

Offline

#8 2024-04-05 22:46:22

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [SOLVED] GRUB not booting.

Head_on_a_Stick wrote:

Did you remember to install a kernel?

If you are talking about pacstrap then yes I did install a kernel. I just tried reinstalling it to no avail.

Offline

#9 2024-04-05 22:50:06

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,769
Website

Re: [SOLVED] GRUB not booting.

Well then you configured GRUB incorrectly. Please provide the commands used to install and configure the bootloader, also include the commands used to mount the relevant partitions and enter any chroot. Thanks.

Offline

#10 2024-04-05 23:14:01

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [SOLVED] GRUB not booting.

Head_on_a_Stick wrote:

Well then you configured GRUB incorrectly. Please provide the commands used to install and configure the bootloader, also include the commands used to mount the relevant partitions and enter any chroot. Thanks.

Honestly I don't have a log of the commands I've run. I used the installation guide. Is there a way to get that log? Or will just have to start from scratch and kinda record myself so you can see.

https://wiki.archlinux.org/title/installation_guide

Last edited by mrdudebro1 (2024-04-05 23:21:38)

Offline

#11 2024-04-05 23:16:28

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,769
Website

Re: [SOLVED] GRUB not booting.

You don't have to start from scratch. Just configure GRUB.

Offline

#12 2024-04-05 23:21:25

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [SOLVED] GRUB not booting.

(i added this to my last post after you replied so you prob didn't see it)

i used this guide for grub https://wiki.archlinux.org/title/GRUB and as i stated before this was giving me a hard time since i have MSI motherboard. i had to use the --removable flag.

PS i appreciate your help. Sorry. I just had kali linux fail on me and wanted to try arch.

Offline

#13 2024-04-06 14:56:38

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,769
Website

Offline

#14 2024-04-06 17:51:55

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [SOLVED] GRUB not booting.

we are in!!!! finally haha. Been like 2 years since i tried this. anyways, time to try the rest of the stuff i gotta do smile

Offline

#15 2024-04-06 17:57:01

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [SOLVED] GRUB not booting.

actually though i have this errro when booting.

https://cdn.discordapp.com/attachments/ … 730fff8a6&

it seems to at least let me do maintenance? "You are in emergency mode. give root password for maintenance. after logging in type "journalctl -xb" to view system logs"

Offline

#16 2024-04-06 18:53:46

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,769
Website

Re: [SOLVED] GRUB not booting.

Check if the filesystem UUIDs for the partitions mentioned in the error message and see if it matches the entries in /etc/fstab — the UUID will change if the partitions have been reformatted.

Offline

#17 2024-04-06 19:36:57

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [SOLVED] GRUB not booting.

Head_on_a_Stick wrote:

Check if the filesystem UUIDs for the partitions mentioned in the error message and see if it matches the entries in /etc/fstab — the UUID will change if the partitions have been reformatted.

Weird, those two UUID's match the boot (/dev/sda1) and the swap (/dev/sda2) UUID's. The root partition isn't mentioned.

https://cdn.discordapp.com/attachments/ … a0628a887&

Offline

#18 2024-04-06 19:48:19

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,769
Website

Re: [SOLVED] GRUB not booting.

Your picture shows /etc/fstab but not the actual filesystem UUIDs. Did you check those?

Offline

#19 2024-04-06 20:08:52

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [SOLVED] GRUB not booting.

Head_on_a_Stick wrote:

Your picture shows /etc/fstab but not the actual filesystem UUIDs. Did you check those?

https://cdn.discordapp.com/attachments/ … 36011d18d&

it is as you say. shall i regen the fstab? Can i do it from here or do i need to do it from the USB?

Offline

#20 2024-04-06 21:16:11

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [SOLVED] GRUB not booting.

i got it after fixing the fstab to align with the filesystem UUIDS

Last edited by mrdudebro1 (2024-04-06 21:16:27)

Offline

#21 2024-04-07 10:02:45

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,769
Website

Re: [SOLVED] GRUB not booting.

Please edit the thread title and prepend [SOLVED] to help others who encounter this problem. Thanks.

Offline

Board footer

Powered by FluxBB