Problems with grub after upgrading kernel to 3.6 [Solved]

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Problems with grub after upgrading kernel to 3.6 [Solved]

Postby aquarius » Sun Oct 21, 2012 10:47

Hi,
today I updgraded my Sabayon. Then I upgraded from kernel 3.5 to 3.6 using kernel-switcher (as usual). There were 2 errors during kernel-switcher switch:
Code: Select all
/var/tmp/entropy/sys-kernel_linux-sabayon-3.6-r1/portage/._unmerge_/sys-kernel/linux-sabayon-3.6-r1/temp/environment: line 3780: /sbin/grub-mkdevicemap: No such file or directory

and
Code: Select all
/var/tmp/entropy/packages/amd64/5/sys-kernel_linux-sabayon-3.6-r1_0.tbz2/portage/sys-kernel/linux-sabayon-3.6-r1/temp/environment: line 3833: /sbin/grub-mkdevicemap: No such file or directory

Now the grub menu changed: instead of list of available kernels there are sabayon... and advanced... menus. As I understand sabayon... boots to default entry and advanced... navigates to list of available kernels.
During boot (either default or any kernel) there are following messages:
Code: Select all
error: file not found.
error: file not found.
error: file not found.
Loading Linux x86_64-3.6.0-sabayon ...
Loading initial ramdisk ...

Press any key to continue...

Pressing any key (or waiting for a while) actually boots the Sabayon with no visible problems.
But I'd like to have error-less boot :)

Also there is actually no /sbin/grub-mkdevicemap, which probably causes the problem.
Any ideas, how can I fix this?

Thanks in advance
Last edited by aquarius on Mon Oct 22, 2012 17:48, edited 1 time in total.
Gnome2 is dead! Long live... E17!

System76 Gazelle Professional:
Intel Core i7-2670QM
Nvidia GeForce GTX 560M
16GB DDR3 SDRAM
750GB HDD + 120GB SSD
15.6" Full HD LED-Backlit Matte Display

powered by Sabayon amd64 E17
User avatar
aquarius
Simple Hen
 
Posts: 75
Joined: Sun Jun 26, 2011 22:17
Location: L'viv, Ukraine

Re: Problems with grub after upgrade from kernel 3.5 to 3.6

Postby Fitzcarraldo » Sun Oct 21, 2012 22:11

I suggest you or deusr (see his post Re: TTY does not load and <F2> goes to tty1) file a bug report.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Problems with grub after upgrade from kernel 3.5 to 3.6

Postby aquarius » Mon Oct 22, 2012 6:29

Thanks Fitzcarraldo!
I just filed a bug report.
Gnome2 is dead! Long live... E17!

System76 Gazelle Professional:
Intel Core i7-2670QM
Nvidia GeForce GTX 560M
16GB DDR3 SDRAM
750GB HDD + 120GB SSD
15.6" Full HD LED-Backlit Matte Display

powered by Sabayon amd64 E17
User avatar
aquarius
Simple Hen
 
Posts: 75
Joined: Sun Jun 26, 2011 22:17
Location: L'viv, Ukraine

Re: Problems with grub after upgrade from kernel 3.5 to 3.6

Postby steffie » Mon Oct 22, 2012 8:40

on my 3.6.0-sabayon x86_64 i have same, they comes after grub menu, also doing nothing all boots fine

on my 3.6.0-sabayon x86 i see nothing like this errors, so its a problem of the 64Bit version..
steffie
Simple Hen
 
Posts: 66
Joined: Fri May 04, 2012 2:40
Location: Neustadt a. Rbge.

Re: Problems with grub after upgrade from kernel 3.5 to 3.6

Postby Fitzcarraldo » Mon Oct 22, 2012 13:13

Just a thought... Have you tried re-installing GRUB 2 and re-creating the grub.cfg file?

If you currently have GRUB 2 installed in the MBR of drive sda and you do not have the /boot directory on a separate partition to the root directory, the commands to re-install GRUB 2 would be as follows:

Code: Select all
$ su
Password:
# equo update
# equo install grub
# equo conf update
# grub2-install /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
# exit
exit
$

Then reboot to see if it has an effect on the error messages you are seeing at boot.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Problems with grub after upgrade from kernel 3.5 to 3.6

Postby aquarius » Mon Oct 22, 2012 13:30

Thanks for your suggestion, Fitzcarraldo!
In fact I use GUID Partition Table (GPT), not MBR. And I do have separate partition for /boot. And my Sabayon's grub is chained by grub of another linux.
Still, I think it worth a try, obviously changing installation destination appropriatelly :)
I'll report back here about my results.
Gnome2 is dead! Long live... E17!

System76 Gazelle Professional:
Intel Core i7-2670QM
Nvidia GeForce GTX 560M
16GB DDR3 SDRAM
750GB HDD + 120GB SSD
15.6" Full HD LED-Backlit Matte Display

powered by Sabayon amd64 E17
User avatar
aquarius
Simple Hen
 
Posts: 75
Joined: Sun Jun 26, 2011 22:17
Location: L'viv, Ukraine

Re: Problems with grub after upgrade from kernel 3.5 to 3.6

Postby aquarius » Mon Oct 22, 2012 17:47

grub2-install fixed the problem.
Many thanks to Fitzcarraldo and lxnay for help!
Gnome2 is dead! Long live... E17!

System76 Gazelle Professional:
Intel Core i7-2670QM
Nvidia GeForce GTX 560M
16GB DDR3 SDRAM
750GB HDD + 120GB SSD
15.6" Full HD LED-Backlit Matte Display

powered by Sabayon amd64 E17
User avatar
aquarius
Simple Hen
 
Posts: 75
Joined: Sun Jun 26, 2011 22:17
Location: L'viv, Ukraine

Re: Problems with grub after upgrading kernel to 3.6 [Solved

Postby steffie » Tue Oct 23, 2012 12:45

sabsandy stephan # grub2-install /dev/sda
/usr/sbin/grub2-bios-setup: Warnung: Diese GPT-Partitionsbezeichnung hat keine BIOS-Boot-Partition, Einbettung würde unmöglich sein.
/usr/sbin/grub2-bios-setup: Fehler: Einbettung ist nicht möglich, jedoch für die Installation mit RAID und LVM erforderlich.

think i need a different way to install grub2.....

little bit confused

cu, hf, stephan
steffie
Simple Hen
 
Posts: 66
Joined: Fri May 04, 2012 2:40
Location: Neustadt a. Rbge.

Re: Problems with grub after upgrading kernel to 3.6 [Solved

Postby aquarius » Tue Oct 23, 2012 13:03

steffie wrote:sabsandy stephan # grub2-install /dev/sda
/usr/sbin/grub2-bios-setup: Warnung: Diese GPT-Partitionsbezeichnung hat keine BIOS-Boot-Partition, Einbettung würde unmöglich sein.
/usr/sbin/grub2-bios-setup: Fehler: Einbettung ist nicht möglich, jedoch für die Installation mit RAID und LVM erforderlich.

think i need a different way to install grub2.....

little bit confused

cu, hf, stephan


stephan, you are supposed to know your partitioning shceme. I do know mine :)
Also I don't understand German :(
Gnome2 is dead! Long live... E17!

System76 Gazelle Professional:
Intel Core i7-2670QM
Nvidia GeForce GTX 560M
16GB DDR3 SDRAM
750GB HDD + 120GB SSD
15.6" Full HD LED-Backlit Matte Display

powered by Sabayon amd64 E17
User avatar
aquarius
Simple Hen
 
Posts: 75
Joined: Sun Jun 26, 2011 22:17
Location: L'viv, Ukraine


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 0 guests