Re: [gentoo-user] Computer does not boot

2015-02-01 Thread Meino . Cramer
Joseph  [15-02-01 10:04]:
> On 01/31/15 23:42, Dale wrote:
> 
> [snip]
> >
> Hi Joseph,
> 
> may be only a accidental coincidence...
> One thing I can think of is an empty bios coin cell.
> >>>If that battery is flat, the bios will complain settings are gone.
> >>>Why would that cause grub to fail?
> >>Dont know the reason...I only experienced it several times...
> >>
> >>Regards
> >>Meino
> >>
> >>
> >
> >I've had it happen to me once too.  In my case, the BIOS just went 
> >back
> >to default settings.  The only real change was the loss of the clock
> >setting but it didn't complain, it just booted.  After I replaced the
> >battery, I went back and changed my settings to what I remembered them
> >being.
> >
> >Since then, I change that battery every few years, while the system is
> >running so that I don't lose any settings at all.  ;-)  Be careful.
> >
> >Dale
> 
> Is there a way to backup bios setting to a text file etc.; beside 
> special Windows utility?
> 
> -- 
> Joseph
> 

Depends on the mobo. Mine is a ASUS Cross Hair Formula IV. That BIOS
is able to store several BIOS configurations.

Best regards,
Meino





Re: [gentoo-user] Computer does not boot

2015-01-31 Thread wabenbau
Am Samstag, 31.01.2015 um 22:59
schrieb Joseph :

> Is there a way to backup bios setting to a text file etc.; beside
> special Windows utility?

At least none of my mainboards has such a feature. You could search in
your mainboard manual about that.

Another way to save your BIOS settings is to make a photo from every
BIOS page with a camera or phone. But don't forget to scroll through
the pages if they do not fit entirely on the screen.

It should not take more than a few minutes to restore the BIOS settings
with the help of these photos.

Regards
wabe



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Dale
Joseph wrote:
> On 01/31/15 23:42, Dale wrote:
>
> [snip]
>>
> Hi Joseph,
>
> may be only a accidental coincidence...
> One thing I can think of is an empty bios coin cell.
 If that battery is flat, the bios will complain settings are gone.
 Why would that cause grub to fail?
>>> Dont know the reason...I only experienced it several times...
>>>
>>> Regards
>>> Meino
>>>
>>>
>>
>> I've had it happen to me once too.  In my case, the BIOS just went back
>> to default settings.  The only real change was the loss of the clock
>> setting but it didn't complain, it just booted.  After I replaced the
>> battery, I went back and changed my settings to what I remembered them
>> being.
>>
>> Since then, I change that battery every few years, while the system is
>> running so that I don't lose any settings at all.  ;-)  Be careful.
>>
>> Dale
>
> Is there a way to backup bios setting to a text file etc.; beside
> special Windows utility?
>

Not that I know of.  Now that you mentioned it, give it time and they
will have that too.  lol 

Dale

:-)  :-) 



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Joseph

On 01/31/15 23:42, Dale wrote:

[snip]



Hi Joseph,

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

If that battery is flat, the bios will complain settings are gone.
Why would that cause grub to fail?

Dont know the reason...I only experienced it several times...

Regards
Meino




I've had it happen to me once too.  In my case, the BIOS just went back
to default settings.  The only real change was the loss of the clock
setting but it didn't complain, it just booted.  After I replaced the
battery, I went back and changed my settings to what I remembered them
being.

Since then, I change that battery every few years, while the system is
running so that I don't lose any settings at all.  ;-)  Be careful.

Dale


Is there a way to backup bios setting to a text file etc.; beside special 
Windows utility?

--
Joseph



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread J. Roeleveld
On 1 February 2015 05:41:36 CET, meino.cra...@gmx.de wrote:
>J.  Roeleveld  [15-02-01 05:40]:
>> On 31 January 2015 18:50:19 CET, meino.cra...@gmx.de wrote:
>> >Joseph  [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.
>> 
>> If that battery is flat, the bios will complain settings are gone.
>> Why would that cause grub to fail?
>
>Dont know the reason...I only experienced it several times...

That the battery went flat?
Same here.

That a flat battery caused the bootloader to fail?
Never. And I doubt that is even possible.
At worst you would need to reconfigure the harddrive and boot order each time. 
(If the mainboard and Bios is from the previous century.)

--
Joost

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Dale
meino.cra...@gmx.de wrote:
> J.  Roeleveld  [15-02-01 05:40]:
>> On 31 January 2015 18:50:19 CET, meino.cra...@gmx.de wrote:
>>> Joseph  [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.
>> If that battery is flat, the bios will complain settings are gone.
>> Why would that cause grub to fail?
> Dont know the reason...I only experienced it several times...
>
> Regards
> Meino
>
>

I've had it happen to me once too.  In my case, the BIOS just went back
to default settings.  The only real change was the loss of the clock
setting but it didn't complain, it just booted.  After I replaced the
battery, I went back and changed my settings to what I remembered them
being. 

Since then, I change that battery every few years, while the system is
running so that I don't lose any settings at all.  ;-)  Be careful. 

Dale

:-)  :-)



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Meino . Cramer
J.  Roeleveld  [15-02-01 05:40]:
> On 31 January 2015 18:50:19 CET, meino.cra...@gmx.de wrote:
> >Joseph  [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.
> 
> If that battery is flat, the bios will complain settings are gone.
> Why would that cause grub to fail?

Dont know the reason...I only experienced it several times...

Regards
Meino


> 
> --
> Joost
> 
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> 



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread J. Roeleveld
On 31 January 2015 18:50:19 CET, meino.cra...@gmx.de wrote:
>Joseph  [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.

If that battery is flat, the bios will complain settings are gone.
Why would that cause grub to fail?

--
Joost

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Meino . Cramer
Joseph  [15-01-31 19:32]:
> On 01/31/15 11:59, Dale wrote:
> >meino.cra...@gmx.de wrote:
> >>Joseph  [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















Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Dale
Joseph wrote:
> On 01/31/15 11:59, Dale wrote:
>> meino.cra...@gmx.de wrote:
>>> Joseph  [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?

Basically, the battery on the mobo.  Some countries call them cells and
since it is about the size of a coin . . . . .


>
>
>>>
>>> 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


Try this command and yours should look something like this:

root@fireball / # ls -al /boot/grub/stage*
-rw-r--r-- 1 root root512 Jun  2  2012 /boot/grub/stage1
-rw-r--r-- 1 root root 128116 Jun  2  2012 /boot/grub/stage2
-rw-r--r-- 1 root root 128116 Jun  2  2012 /boot/grub/stage2_eltorito
-rw-r--r-- 1 root root 128116 Jun  2  2012 /boot/grub/stage2.old
root@fireball / #  



>>
>> 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
>

Interesting.  

Dale

:-) :-) 




Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Joseph

On 01/31/15 11:59, Dale wrote:

meino.cra...@gmx.de wrote:

Joseph  [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



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Dale
meino.cra...@gmx.de wrote:
> Joseph  [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.
>
> If this is not the cause, check whether the stage2 grub
> got deleted.
>
> Good luck!
>
> Best regards,
> Meino
>
>

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.

Dale

:-)  :-) 




Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Meino . Cramer
Joseph  [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.

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

Good luck!

Best regards,
Meino