UUID in grub.cfg not found when upgrade to Kernel 3.11.1

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Post Reply
User avatar
linuxfluesterer
Old Dear Hen
Posts: 867
Joined: Thu Sep 20, 2012 19:47
Location: Germany

UUID in grub.cfg not found when upgrade to Kernel 3.11.1

Post by linuxfluesterer » Mon Sep 23, 2013 17:07

Hallo guys.
Today, I did an upgrade to last Sabayon KDE 64bit, including Kernel 3.11.1.
After reboot I received an error message, that it was not possible to boot from a named UUID, which is in grub.cfg.

Image
I know, that with a Kernel upgrade a new grub.cfg is created (I assume, by mkconfig). But I never created an LVM or a volume group by myself. Anyway this new grub contains a UUID, which is NOT shown in my UUID table (shown with blkid).
So, how and why is another UUID in my grub.cfg? I don't know the reason. Maybe a bug, a problem.
However, in my case, I've booted with my Sabayon Live USB memory stick and restored my grub.cfg file, which I have backuped before upgraded. After this old grub.cfg file took place of the new one, I was able to boot again.
I assume with the latest Kernel 3.11.1 now.

-Linuxfluesterer (I love KDE ...)
Take away Facebook from me and let there be real people again...

nobicycle
Simple Hen
Posts: 77
Joined: Fri Nov 20, 2009 13:55

Re: UUID in grub.cfg not found when upgrade to Kernel 3.11.1

Post by nobicycle » Thu Sep 26, 2013 14:35

I don't know the answer but I got the same sort of message when installing Mate 13.08
viewtopic.php?f=50&t=30719
Happily it went away by installing 13.09.
I run kernel 3.11 OK.

User avatar
linuxfluesterer
Old Dear Hen
Posts: 867
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: UUID in grub.cfg not found when upgrade to Kernel 3.11.1

Post by linuxfluesterer » Thu Sep 26, 2013 15:16

My version of Sabayon now is:

Code: Select all

OS Release       : Sabayon Linux amd64 13.10
OS Edition       : Sabayon Linux 20130910 amd64 KDE
Kernel Name      : Linux GNU/Linux
Kernel Version   : 3.11.0-sabayon    
I've installed Sabayon this version before:

Code: Select all

OS Release       : Sabayon Linux amd64 13.09
OS Edition       : Sabayon Linux 20130910 amd64 KDE
Kernel Name      : Linux GNU/Linux
Kernel Version   : 3.11.0-sabayon
And then after upgrade, including Kernel 3.11.1

Code: Select all

equo s linux-sabayon#$(uname -r)
>>  @@ Suche...
>>      @@ Paket: sys-kernel/linux-sabayon-3.11.1 Branch: 5, [sabayonlinux.org] 
>>         Verfügbar:      Version: 3.11.1 ~ tag: NoTag ~ Version: 0
>>         Installiert:    Version: 3.11.1 ~ tag: NoTag ~ Version: 0
>>         Slot:           3.11
>>         Homepage:       https://github.com/Sabayon/kernel 
>>         Beschreibung:   Official Sabayon Linux Standard 
>>                         kernel image 
>>         Lizenz:         GPL-2 freedist
>>  Schlüsselwörter:  linux-sabayon#3.11.0-sabayon
>>  Gefunden:         1 Eintrag
I got this LV error message. As I said, I had to replace the new grub.cfg by the old one. Then it worked to boot.
Hope, next upgrade will fix it (again).

-Linuxfluesterer (I love KDE ...)
Take away Facebook from me and let there be real people again...

User avatar
albfneto
Sagely Hen
Posts: 1870
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil
Contact:

Re: UUID in grub.cfg not found when upgrade to Kernel 3.11.1

Post by albfneto » Thu Sep 26, 2013 18:23

is there another manner.
simply, if the grub have problem, use the resource of the Sabayon DVD Installer, use the resource os "recover bootloader"...

I seen that mine DVD of the version 10, easy recover the boot of my 13 version. after this, the grub of the version 10, was upgraded automattically by Entropy.
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE

User avatar
linuxfluesterer
Old Dear Hen
Posts: 867
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: UUID in grub.cfg not found when upgrade to Kernel 3.11.1

Post by linuxfluesterer » Sat Sep 28, 2013 9:44

[quote="albfneto"]is there another manner.
simply, if the grub have problem, use the resource of the Sabayon DVD Installer, use the resource os "recover bootloader"...
I remember this menu entry 'recover bootloader' somehow, but I habe a USB memory stick as installation media. In its menu, there is no choice 'recover bootloader'. So, I will wait for next upgrade on Kernel 3.11.2 and hope that this bug is fixed with upgrading.
However, thank you, Alfredo.

-Linuxfluesterer (I love KDE ...)
Take away Facebook from me and let there be real people again...

User avatar
linuxfluesterer
Old Dear Hen
Posts: 867
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: UUID in grub.cfg not found when upgrade to Kernel 3.11.1

Post by linuxfluesterer » Tue Oct 01, 2013 9:02

Edit:
I've made ab upgrade again, yesterday night. I assume, there was included a

Code: Select all

grub2-mkconfig -o /boot/grub/grub.cfg
The thing is, that this file, /etc/grub/grub.cfg, was newly created and forces my problem again, boot from an (to me) unknown UUID, an LV-UUID, which I don't have on my disk.
I've checked my /etc/default/sabayongrub and found the following in the 'GRUB_CMDLINE_LINUX=' line

Code: Select all

GRUB_CMDLINE_LINUX=.... dolvm root=UUID=2387274b-11bc-4849-9d8b-483efc6b4770 docrypt"
This is exactly the UUID, which is demanded in /boot/grub/grub.cfg and cannot be found when boot (see photo in post before).
Could I have done a mistake while installing? Could I have activated 'crypted' for my partition? I mean, I haven't changed my partition table, only format my Root (/) partition with XFS. I don't really know...
What I know, because I've checked, is, that in recent /boot/grub/grub.cfg from Sabayon installations before until first installation of Sabayon 13.09, the

Code: Select all

linux   /boot/kernel-genkernel-x86_64-3...
line includes also a 'dolvm root' entry. But all those recent installations, my system booted my Root (/) partition, not that LV UUID.
Here is my blkid:

Code: Select all

[email protected]:blkid 
/dev/sda1: UUID="111ce226-b18f-4f9b-88cf-eb332b88cbb9" TYPE="xfs" 
/dev/sda4: UUID="19cc9b22-46b6-45d3-85ae-4cda529aee69" TYPE="xfs" 
/dev/sda2: LABEL="Swap" UUID="fa80b09f-c369-4f62-80ac-5f2f233270c6" TYPE="swap" 
/dev/sda3: UUID="9be3412f-32c1-4fca-b018-71f05ee0f352" TYPE="xfs" 
For the moment, I have recovered my last working /etc/grub/grub.cfg file from first installation with Sabayon KDE 4.11.1, Kernel 3.11.0 64bit, (I assume 13.09). This grub.cfg still works for me.
For Mate 13.09 the problem may be fixed, but not for me, sorry.
What do the experts here say, Fabio maybe?

-Linuxfluesterer (I love KDE ...)
Take away Facebook from me and let there be real people again...

Post Reply