You are not logged in.

#1 2017-07-24 18:44:10

doubledogdare610
Member
Registered: 2017-07-24
Posts: 5

[SOLVED] Issues with grub-mkconfig.

Going through an Arch Linux install, some people are experiencing a bug where grub-mkconfig seems to create a config file with the incorrect UUID of ad4103fa-d940-47ca-8506-301d8071d467. There is a workaround where someone may look at their fstab and put the correct UUID in the config file for GRUB manually. While there is a workaround, it doesn't solve the problem at hand. I'm not sure if this is a bug or user error. Or maybe incomplete information in the Arch Wiki. I'm posting here to get the input of others to see why this is happening and how we might solve it.

I'm going to also post a couple of links to threads where people have had similar issues.
https://bbs.archlinux.org/viewtopic.php?id=148038
https://bbs.archlinux.org/viewtopic.php?id=146754

Last edited by doubledogdare610 (2017-07-27 09:23:27)

Offline

#2 2017-07-24 18:48:00

adesh
Member
Registered: 2016-10-05
Posts: 167

Re: [SOLVED] Issues with grub-mkconfig.

Those posts are from 2012.

Offline

#3 2017-07-24 18:49:04

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Issues with grub-mkconfig.

Both of those threads are 5 years old and were due to user error - does this supposed issue actually exist?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2017-07-24 18:50:01

doubledogdare610
Member
Registered: 2017-07-24
Posts: 5

Re: [SOLVED] Issues with grub-mkconfig.

adesh wrote:

Those posts are from 2012.

Still, these are issues still happening. My friend also had experienced the same issue.

Quick Edit: There were posts from more recent years, but I had not linked them because of slight laziness.

Last edited by doubledogdare610 (2017-07-24 19:00:03)

Offline

#5 2017-07-24 19:05:26

doubledogdare610
Member
Registered: 2017-07-24
Posts: 5

Re: [SOLVED] Issues with grub-mkconfig.

slithery wrote:

Both of those threads are 5 years old and were due to user error - does this supposed issue actually exist?

There are threads from more recent years.
Some of the posts, I cannot see where they have had user error.
I have made sure with my Installs that I properly install and use grub-mkconfig.
It's like it's not even checking for proper UUIDs. It always seems to be spitting out ad4103fa-d940-47ca-8506-301d8071d467 as the root partition.
I'm not sure what is going on and I'd like to solve it "once and for all" for anyone else who may run into this.
Possibly making a bug report.

Offline

#6 2017-07-24 20:15:58

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

Re: [SOLVED] Issues with grub-mkconfig.

doubledogdare610 wrote:

ad4103fa-d940-47ca-8506-301d8071d467 as the root partition

That is in the grub.cfg supplied by the grub package (confusingly).

Please post the full output of `grub-mkconfig`

Offline

#7 2017-07-25 04:40:51

doubledogdare610
Member
Registered: 2017-07-24
Posts: 5

Re: [SOLVED] Issues with grub-mkconfig.

Head_on_a_Stick wrote:
doubledogdare610 wrote:

ad4103fa-d940-47ca-8506-301d8071d467 as the root partition

That is in the grub.cfg supplied by the grub package (confusingly).

Please post the full output of `grub-mkconfig`

https://pastebin.com/k5FFXJY0
This is after following the entire installation guide and properly installing grub with grub-install and grub-mkconfig.

Offline

#8 2017-07-25 06:34:51

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

Re: [SOLVED] Issues with grub-mkconfig.

doubledogdare610 wrote:

That is the grub.cfg that is included with the grub package and I presume you have simply copied the /boot/grub/grub.cfg from your system to pastebinit.con — this is *not* what I asked for.

Please load up the Arch ISO and post the output of

grub-mkconfig

Rather than rely on a dodgy site like pastebinit, you can use a pastebin client to generate a URL from the console screen that can be posted here:

https://wiki.archlinux.org/index.php/Li … in_clients

For the record, `grub-mkconfig` works exactly as expected in my Arch system and displays the correct UUIDs.

I suspect that you have failed to direct the command output to the correct file.

Offline

#9 2017-07-26 10:25:29

doubledogdare610
Member
Registered: 2017-07-24
Posts: 5

Re: [SOLVED] Issues with grub-mkconfig.

Head_on_a_Stick wrote:
doubledogdare610 wrote:

That is the grub.cfg that is included with the grub package and I presume you have simply copied the /boot/grub/grub.cfg from your system to pastebinit.con — this is *not* what I asked for.

Please load up the Arch ISO and post the output of

grub-mkconfig

Rather than rely on a dodgy site like pastebinit, you can use a pastebin client to generate a URL from the console screen that can be posted here:

https://wiki.archlinux.org/index.php/Li … in_clients

For the record, `grub-mkconfig` works exactly as expected in my Arch system and displays the correct UUIDs.

I suspect that you have failed to direct the command output to the correct file.

I did:

grub-mkconfig -o /test.txt

It does give me the proper output. And then did:

grub-mkconfig -o /boot/grub/grub.cfg

Still giving the proper output. I wonder what caused it to give wrong output when I first installed. I did make sure to direct the output to:

/boot/grub/grub.cfg

I've never had my mind boggled like this.

Offline

#10 2017-07-27 06:54:02

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

Re: [SOLVED] Issues with grub-mkconfig.

doubledogdare610 wrote:

I've never had my mind boggled like this.

Have a nice hot cup of tea, I find that to be very good for de-boggling.

It is easy to get confused in the chroot environment so you may have got the steps in the wrong order and directed the output to grub.cfg on the ISO image itself; the linked cases in the OP are all the same, I think.

If there is a case for a bug report then it should be directed against the grub.cfg that is included with the GRUB package — a non-existent grub.cfg would be a better clue than a "fake" grub.cfg, IMO.

Anyway, please mark the thread [SOLVED]

Offline

Board footer

Powered by FluxBB