Re: [gentoo-user][SOLVED] Computer does not boot

2015-02-07 Thread Neil Bothwick
On Fri, 6 Feb 2015 16:44:09 -0700, Joseph wrote:

 Is there a way to view emerge notes without emerging package?
 I think in my case grub-0.97-r14 might have caused the problem.

Read the ebuild, such messages are in einfo, ewarn or elog calls.


-- 
Neil Bothwick

A clean desk is a sign of a cluttered desk drawer.


pgpDmQUSyoC4T.pgp
Description: OpenPGP digital signature


Re: [gentoo-user][SOLVED] Computer does not boot

2015-02-06 Thread Joseph

On 01/31/15 21:00, Neil Bothwick wrote:

On Sat, 31 Jan 2015 12:53:41 -0700, Joseph wrote:


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.


Now you're back in you can use qlop (or genlop) to see exactly what was
updated, which may give a clue.


--
Neil Bothwick


Is there a way to view emerge notes without emerging package?
I think in my case grub-0.97-r14 might have caused the problem.

--
Joseph



Re: [gentoo-user][SOLVED] Computer does not boot

2015-02-06 Thread Joseph

On 01/31/15 21:00, Neil Bothwick wrote:

On Sat, 31 Jan 2015 12:53:41 -0700, Joseph wrote:


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.


Now you're back in you can use qlop (or genlop) to see exactly what was
updated, which may give a clue.


--
Neil Bothwick

Never sleep with anyone crazier than yourself.


SOLVED,

When system emerged grub on another box this message showed up:
...
Your boot partition was not mounted as /boot, but portage
was able to mount it without additional intervention.
Files will be installed there for grub to function correctly.

WARN: postinst
*** IMPORTANT NOTE: you must run grub and install
the new version's stage1 to your MBR.  Until you do,
stage1 and stage2 will still be the old version, but
later stages will be the new version, which could
cause problems such as an unbootable system.

This means you must use either grub-install or perform
root/setup manually.

After grub-0.97-r14 was installed user suppose to mount /boot and run: 
grub-install


--
Joseph



Re: [gentoo-user][SOLVED] Computer does not boot

2015-02-01 Thread Neil Bothwick
On Sat, 31 Jan 2015 15:40:37 -0700, Joseph wrote:

 Indeed grub was updated to grub-0.97-r14
 
 genlop --list --date 3 days ago |grep grub
  Fri Jan 30 23:37:03 2015  sys-boot/grub-0.97-r14
  Sat Jan 31 00:28:04 2015  sys-boot/grub-2.02_beta2-r3
 
 Though all my other system were updated as well, and it didn't cause
 any problem, nor did I run grub-install on any of them. So I don't
 think emerging/updating grub package would cause any problem unless one
 run grub-install

Well, something caused the problem. Why do you have two versions of GRUB
installed? GRUB2 used t install files to /boot/grub2 but ISTR this
changed recently to /boot/grub, so you could have the two packages
causing some kind of conflict.


-- 
Neil Bothwick

Things which must be shipped together as a set, aren't.


pgpd0jEb16iVj.pgp
Description: OpenPGP digital signature


Re: [gentoo-user][SOLVED] Computer does not boot

2015-01-31 Thread Joseph

On 01/31/15 19:54, meino.cra...@gmx.de wrote:

Joseph syscon...@gmail.com [15-01-31 19:32]:

On 01/31/15 11:59, Dale wrote:
meino.cra...@gmx.de wrote:
Joseph syscon...@gmail.com [15-01-31 18:12]:
After recent upgrade my computer doesn't want to boot.  I did not do
anything with grub or kernel.
I get a bios flash and next is message:

Loading operating system ...
GRUB loading stage2

and computer goes back reboot cycle, flash bios and the same massage
is
displayed.
What went wrong during update?

--
Joseph

Hi Joseph,

may be only a accidental coincidence...
One thing I can think of is an empty bios coin cell.

What is an empty BIOS coin cell?



If this is not the cause, check whether the stage2 grub
got deleted.

How do I check if stage2 grub was deleted?
Thanks for your help

OP, if it were me, I'd chroot in, re-emerge grub, reinstall grub to
the
drive and then try to reboot.  It doesn't seem to me that it is the OS
itself or the kernel since it doesn't seem to get that far either.
It's
either a BIOS or a grub issue.  I'm thinking along the same lines of
Meino myself.  Since chrooting in is a bit of a pain, I'd cover the
whole field while in it.

Don't forget, you can use the -K option to install from binaries if
you
save them.  That may save a little bit of time.

Hope that helps.

I boot strap from a CD and /boot and grup.conf looks normal the way I
install it.

...
title Gentoo Current Kernel
root (hd0,0)
kernel /boot/kernel-current root=/dev/sda3 vga=normal

--
Joseph



Hi,

(please read this completly before doing anything)

on the motherboard of your PC there is a Real Time Clock (RTC), which
keeps time and date correct while your PC is turned off. This RTC
needs power...only a little bit but more then nothing. For that there
is a battery holder (oh damn, I fear, this term is german English...
;) on the motherboard, which can easily be identified, because it
is about of the size of two Euro coin and an silvery coin is
in there (visible from the outside). The similarity of the shape
of a coin and and a coin cell gave the latter its name.

BUT!
Dont pull that out before you got a new one!
Most often these cells are lithium batteries, which name starts
with CR.. . On my motherboard there is a CR2032. But this
should be mentioned in the manual of your mitherboard (and if that
get lost you will find a pdf of that on the net somewhere).

If you got a new cell, shutdown the computer, remove the mains plug
from the back and switch the PC on again (no joke). This will empty
any capacitor in the mains adapter and on the board.

Touch the metal case of the PC (or if it is plastic touch the outer
shell of an USB jack (**NOT** the inside), where you can easily reach
it (in most cases on the back of the PC instead of the front).
This will discharge any static electricity. Otherwise grub and the
coin cell become a minor problem... ;)

Check the manual how to remove the BIOS coin cell. Do it carefully but
do it not excessive slow.
Insert the new battery (remove it from the package before you remove
the old cell) as described in the manual.

If you are quick enough chance are given that all settings of the BIOS
will survive the short no-power situation.

Boot the PC again. If you didnt configure ntp for your PC and the
time/date of the PC didn't survive the short power fail of the coin cell swap,
set the date by hand, emerge net-misc/ntp, configure it and run it by
hand to set time/date correctly.

If the PC does not boot: Install grub as Dale mentioned. A missing
stage2 bootloader may be the reason, why grub hangs while looking for
it. If the problem went away after installing grub (and with it a new
stage2 bootlaoder) the missing stage2 bootloader is the first
candidate for being the reason of the problem.

Good luck!
Best regards,
Meino


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.

--
Joseph



Re: [gentoo-user][SOLVED] Computer does not boot

2015-01-31 Thread Neil Bothwick
On Sat, 31 Jan 2015 12:53:41 -0700, Joseph wrote:

 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.

Now you're back in you can use qlop (or genlop) to see exactly what was
updated, which may give a clue.


-- 
Neil Bothwick

Never sleep with anyone crazier than yourself.


pgp7Z8PYYQdAD.pgp
Description: OpenPGP digital signature


Re: [gentoo-user][SOLVED] Computer does not boot

2015-01-31 Thread symack
It sounded like a grub - grub2 issue. After running grub-install you
probably fixed a broken fs referece ie / /boot etc...
Fresh gentoo installs with manual kernel builds always feel like a warm
sweater that just came out of the drier. Ah so clean :)


N.
​


Re: [gentoo-user][SOLVED] Computer does not boot

2015-01-31 Thread Joseph

On 01/31/15 21:00, Neil Bothwick wrote:

On Sat, 31 Jan 2015 12:53:41 -0700, Joseph wrote:


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.


Now you're back in you can use qlop (or genlop) to see exactly what was
updated, which may give a clue.


--
Neil Bothwick

Never sleep with anyone crazier than yourself.


Thank your.
Indeed grub was updated to grub-0.97-r14

genlop --list --date 3 days ago |grep grub
Fri Jan 30 23:37:03 2015  sys-boot/grub-0.97-r14
Sat Jan 31 00:28:04 2015  sys-boot/grub-2.02_beta2-r3

Though all my other system were updated as well, and it didn't cause any 
problem, nor did I run grub-install on any of them.
So I don't think emerging/updating grub package would cause any problem unless one run 
grub-install

--
Joseph