View previous topic :: View next topic |
Author |
Message |
Joseph_sys Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Sat Jan 31, 2015 5:46 pm Post subject: [almost-SOLVED] gentoo does not show boot menu |
|
|
I just upgraded my system and upgrade went smooth an all boxes except my main server.
It will not boot to show kernel. All I see is Bios flash and a message: Code: | Loading Operating System ...
GRUB loading stage 2 |
and the system reboot itself, displaying the same message and reboot itself again.
What went wrong during upgrade? I did not touch grub or kernel.
Last edited by Joseph_sys on Sat Jan 31, 2015 7:57 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Roman_Gruber Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sat Jan 31, 2015 5:54 pm Post subject: |
|
|
hmm
http://en.wikipedia.org/wiki/GNU_GRUB
Quote: | Stage 2: files belonging to the stage 2 are all being held in the /boot/grub directory, which is a subdirectory of the /boot directory specified by the Filesystem Hierarchy Standard (FHS). |
So I assume your /boot does not exists, was overwritten, or is not readable at all for grub2
Quote: | Stage 1.5: core.img is by default written to the sectors between the MBR and the first partition, when these sectors are free and available. For legacy reasons, the first partition of a hard drive does not begin at sector 1 (counting begins with 0) but at sector 63, leaving a gap of 62 sectors of empty space. That space is not part of any partition or file system, and therefore not prone to any problems related with it. Once executed, core.img will load its configuration file and any other modules needed, particularly file system drivers; at installation time, it is generated from diskboot.img and configured to load the stage 2 by its file path. |
on the ohter hand the disc can not be dead because it loads the mbr contents.
So basically I would guess /boot does not exists, the file system of /boot is not readable to grub2 or something else which is missing from /boot |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Joseph_sys Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Sat Jan 31, 2015 6:02 pm Post subject: |
|
|
I've seen grub was upgraded; but I don't remember installing it.
--update
I just bootstrap and the /boot and grub.conf looks normal the way I install it.
Code: |
...
title Gentoo Current Kernel
root (hd0,0)
kernel /boot/kernel-current root=/dev/sda3 vga=normal |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Joseph_sys Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Sat Jan 31, 2015 7:57 pm Post subject: |
|
|
SOLVED.
I bootstrap from Gentoo CD and run "grub-install" in change-root.
It fixed the problem, but it make me wonder why grub flipped on me. I run upgrade on three other boxes and everything went smooth.
When I run upgrade on my main working server something happen and I can not figure it out. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxtuxhellsinki l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/108586992641e91ddb64c5a.gif)
Joined: 15 Nov 2004 Posts: 700 Location: Hellsinki
|
Posted: Sat Feb 28, 2015 12:04 pm Post subject: |
|
|
Did you look at the elog-messages after updating the grub ?
Cause I remember that the last time the grub (0.97) was updating there was the requirement to run grub-install before booting the system. _________________ 1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Joseph_sys Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Sat Feb 28, 2015 2:56 pm Post subject: |
|
|
linuxtuxhellsinki wrote: | Did you look at the elog-messages after updating the grub ?
Cause I remember that the last time the grub (0.97) was updating there was the requirement to run grub-install before booting the system. |
On some of my systems I upgraded the "grub-install" was run automatically on others didn't. And yes, I've missed that message. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|