* Re: [gentoo-user] Strange grub problem
2008-07-20 13:36 [gentoo-user] Strange grub problem Ivan Alden
@ 2008-07-20 6:24 ` Dale
2008-07-20 20:05 ` Ivan Alden
2008-07-20 8:00 ` Mick
` (3 subsequent siblings)
4 siblings, 1 reply; 14+ messages in thread
From: Dale @ 2008-07-20 6:24 UTC (permalink / raw
To: gentoo-user
Ivan Alden wrote:
> Hi,
>
> My laptop ran out of battery and shut off while I was using it and it
> seems to have done some damage to the bootloader. When I reboot I can't
> see the grub splashscreen any more but if I press enter I does boot into
> my kernel. As the computer is booting the output looks all messed up
> (but you can make that its initializing devices) until it reaches around
> the networking devices which then corrects and works properly.
>
> I've tried reconfiguring grub with
> root (hd0,0)
> setup (hd0)
>
> Does anybody have any suggestions of how to fix this?
>
> Thanks.
>
This was discussed over the past day or so. If I recall correctly the
splash image has been moved by some package update. Just check that
everything your grub boot line points to is actually there.
If you need more info, I can search through my old emails and find the
fixes for you.
Dale
:-) :-) :-)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Strange grub problem
2008-07-20 6:24 ` Dale
@ 2008-07-20 20:05 ` Ivan Alden
2008-07-20 10:17 ` Dale
0 siblings, 1 reply; 14+ messages in thread
From: Ivan Alden @ 2008-07-20 20:05 UTC (permalink / raw
To: gentoo-user
Thanks its fixed. I guess it was coincidence I lost power at the same
time to this issue. I appreciate the help.
Ivan
On Sun, 2008-07-20 at 01:24 -0500, Dale wrote:
> Ivan Alden wrote:
> > Hi,
> >
> > My laptop ran out of battery and shut off while I was using it and it
> > seems to have done some damage to the bootloader. When I reboot I can't
> > see the grub splashscreen any more but if I press enter I does boot into
> > my kernel. As the computer is booting the output looks all messed up
> > (but you can make that its initializing devices) until it reaches around
> > the networking devices which then corrects and works properly.
> >
> > I've tried reconfiguring grub with
> > root (hd0,0)
> > setup (hd0)
> >
> > Does anybody have any suggestions of how to fix this?
> >
> > Thanks.
> >
>
> This was discussed over the past day or so. If I recall correctly the
> splash image has been moved by some package update. Just check that
> everything your grub boot line points to is actually there.
>
> If you need more info, I can search through my old emails and find the
> fixes for you.
>
> Dale
>
> :-) :-) :-)
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Strange grub problem
2008-07-20 20:05 ` Ivan Alden
@ 2008-07-20 10:17 ` Dale
0 siblings, 0 replies; 14+ messages in thread
From: Dale @ 2008-07-20 10:17 UTC (permalink / raw
To: gentoo-user
Ivan Alden wrote:
> Thanks its fixed. I guess it was coincidence I lost power at the same
> time to this issue. I appreciate the help.
>
> Ivan
>
> On Sun, 2008-07-20 at 01:24 -0500, Dale wrote:
>
>> Ivan Alden wrote:
>>
>>> Hi,
>>>
>>> My laptop ran out of battery and shut off while I was using it and it
>>> seems to have done some damage to the bootloader. When I reboot I can't
>>> see the grub splashscreen any more but if I press enter I does boot into
>>> my kernel. As the computer is booting the output looks all messed up
>>> (but you can make that its initializing devices) until it reaches around
>>> the networking devices which then corrects and works properly.
>>>
>>> I've tried reconfiguring grub with
>>> root (hd0,0)
>>> setup (hd0)
>>>
>>> Does anybody have any suggestions of how to fix this?
>>>
>>> Thanks.
>>>
>>>
>> This was discussed over the past day or so. If I recall correctly the
>> splash image has been moved by some package update. Just check that
>> everything your grub boot line points to is actually there.
>>
>> If you need more info, I can search through my old emails and find the
>> fixes for you.
>>
>> Dale
>>
>> :-) :-) :-)
>>
Your welcome. Just a normal reboot would have helped that "issue" come
out of the dark too. You are not alone in having that happen.
Glad you got it sorted.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Strange grub problem
2008-07-20 13:36 [gentoo-user] Strange grub problem Ivan Alden
2008-07-20 6:24 ` Dale
@ 2008-07-20 8:00 ` Mick
2008-07-20 8:17 ` KH
` (2 subsequent siblings)
4 siblings, 0 replies; 14+ messages in thread
From: Mick @ 2008-07-20 8:00 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 664 bytes --]
On Sunday 20 July 2008, Ivan Alden wrote:
> When I reboot I can't
> see the grub splashscreen any more but if I press enter I does boot into
> my kernel. As the computer is booting the output looks all messed up
> (but you can make that its initializing devices) until it reaches around
> the networking devices which then corrects and works properly.
...
> Does anybody have any suggestions of how to fix this?
Copy a grub splash image from /usr/share/grub/ or /usr/share/splashimages/
back into your /boot/grub/
The last grub upgrade has messed up your settings without asking you -
unacceptable behaviour for an ebuild.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Strange grub problem
2008-07-20 13:36 [gentoo-user] Strange grub problem Ivan Alden
2008-07-20 6:24 ` Dale
2008-07-20 8:00 ` Mick
@ 2008-07-20 8:17 ` KH
2008-07-20 10:14 ` Wolf Canis
2008-07-20 13:03 ` Pintér Tibor
4 siblings, 0 replies; 14+ messages in thread
From: KH @ 2008-07-20 8:17 UTC (permalink / raw
To: gentoo-user
Ivan Alden schrieb:
> Hi,
>
> My laptop ran out of battery and shut off while I was using it and it
> seems to have done some damage to the bootloader. When I reboot I can't
> see the grub splashscreen any more but if I press enter I does boot into
> my kernel. As the computer is booting the output looks all messed up
> (but you can make that its initializing devices) until it reaches around
> the networking devices which then corrects and works properly.
>
> I've tried reconfiguring grub with
> root (hd0,0)
> setup (hd0)
>
> Does anybody have any suggestions of how to fix this?
>
> Thanks.
>
>
>
Maybe it is this grub splashimage problem. If so, see for grub "emerge
make boot screen and others unreadable" in this mailing list.
If not, I am sorry, don't know an answer.
KH
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Strange grub problem
2008-07-20 13:36 [gentoo-user] Strange grub problem Ivan Alden
` (2 preceding siblings ...)
2008-07-20 8:17 ` KH
@ 2008-07-20 10:14 ` Wolf Canis
2008-07-20 10:18 ` Wolf Canis
2008-07-20 13:03 ` Pintér Tibor
4 siblings, 1 reply; 14+ messages in thread
From: Wolf Canis @ 2008-07-20 10:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]
Ivan Alden wrote:
> Hi,
>
> My laptop ran out of battery and shut off while I was using it and it
> seems to have done some damage to the bootloader. When I reboot I can't
> see the grub splashscreen any more but if I press enter I does boot into
> my kernel. As the computer is booting the output looks all messed up
> (but you can make that its initializing devices) until it reaches around
> the networking devices which then corrects and works properly.
>
> I've tried reconfiguring grub with
> root (hd0,0)
> setup (hd0)
>
> Does anybody have any suggestions of how to fix this?
>
> Thanks.
Hello Ivan,
I had just yesterday exactly the same problem, not because my laptop
runs out of battery, but because of full system update. I do it only
once a week. Anyway.
I could fix it in the following way:
- Switch off your laptop and wait some seconds.
- Start your laptop
- Boot your kernel, you have to imaging on which position in the
boot menu this one is
- after the machine is up and running
- emerge -av grub
- reboot and it should be fine
That's it.
Hope I could help
W. Canis
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Strange grub problem
2008-07-20 10:14 ` Wolf Canis
@ 2008-07-20 10:18 ` Wolf Canis
2008-07-20 12:28 ` Mick
0 siblings, 1 reply; 14+ messages in thread
From: Wolf Canis @ 2008-07-20 10:18 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 106 bytes --]
Oh sorry,
_very_ _important_ :
Mount your boot partition _before_ you emerge grub.
W. Canis
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Strange grub problem
2008-07-20 10:18 ` Wolf Canis
@ 2008-07-20 12:28 ` Mick
2008-07-20 13:16 ` Wolf Canis
2008-07-20 23:04 ` Neil Bothwick
0 siblings, 2 replies; 14+ messages in thread
From: Mick @ 2008-07-20 12:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 281 bytes --]
On Sunday 20 July 2008, Wolf Canis wrote:
> Oh sorry,
>
> _very_ _important_ :
>
> Mount your boot partition _before_ you emerge grub.
I believe that the grub ebuild mounts it for you, messes up your grub.conf and
carries on with its business . . .
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Strange grub problem
2008-07-20 12:28 ` Mick
@ 2008-07-20 13:16 ` Wolf Canis
2008-07-20 14:44 ` Mick
2008-07-20 23:04 ` Neil Bothwick
1 sibling, 1 reply; 14+ messages in thread
From: Wolf Canis @ 2008-07-20 13:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1323 bytes --]
Mick wrote:
> On Sunday 20 July 2008, Wolf Canis wrote:
>> Oh sorry,
>>
>> _very_ _important_ :
>>
>> Mount your boot partition _before_ you emerge grub.
>
> I believe that the grub ebuild mounts it for you, messes up your grub.conf and
> carries on with its business . . .
So far I that now, is that now changed. You have to mount it before
you emerge grub. The following is from the ebuild grub-0.97-r6.ebuild:
-- Quote begin ---------
pkg_postinst() {
if [[ -n ${DONT_MOUNT_BOOT} ]]; then
elog "WARNING: you have DONT_MOUNT_BOOT in effect, so you must
apply"
elog "the following instructions for your /boot!"
elog "Neglecting to do so may cause your system to fail to boot!"
elog
else
setup_boot_dir "${ROOT}"/boot
# Trailing output because if this is run from pkg_postinst, it
gets mixed into
# the other output.
einfo ""
fi
elog "To interactively install grub files to another device such as
a USB"
elog "stick, just run the following and specify the directory as
prompted:"
elog " emerge --config =${PF}"
elog "Alternately, you can export GRUB_ALT_INSTALLDIR=/path/to/use
to tell"
elog "grub where to install in a non-interactive way."
}
-- Quote end ------
W. Canis
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Strange grub problem
2008-07-20 13:16 ` Wolf Canis
@ 2008-07-20 14:44 ` Mick
2008-07-20 14:56 ` Wolf Canis
0 siblings, 1 reply; 14+ messages in thread
From: Mick @ 2008-07-20 14:44 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 612 bytes --]
On Sunday 20 July 2008, Wolf Canis wrote:
> Mick wrote:
> > On Sunday 20 July 2008, Wolf Canis wrote:
> >> Oh sorry,
> >>
> >> _very_ _important_ :
> >>
> >> Mount your boot partition _before_ you emerge grub.
> >
> > I believe that the grub ebuild mounts it for you, messes up your
> > grub.conf and carries on with its business . . .
>
> So far I that now, is that now changed. You have to mount it before
> you emerge grub. The following is from the ebuild grub-0.97-r6.ebuild:
Good! That's the preferred behaviour. It shouldn't really mess things up
without asking.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Strange grub problem
2008-07-20 14:44 ` Mick
@ 2008-07-20 14:56 ` Wolf Canis
0 siblings, 0 replies; 14+ messages in thread
From: Wolf Canis @ 2008-07-20 14:56 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
Mick wrote:
> On Sunday 20 July 2008, Wolf Canis wrote:
>> Mick wrote:
>>> On Sunday 20 July 2008, Wolf Canis wrote:
>>>> Oh sorry,
>>>>
>>>> _very_ _important_ :
>>>>
>>>> Mount your boot partition _before_ you emerge grub.
>>> I believe that the grub ebuild mounts it for you, messes up your
>>> grub.conf and carries on with its business . . .
>> So far I that now, is that now changed. You have to mount it before
>> you emerge grub. The following is from the ebuild grub-0.97-r6.ebuild:
>
> Good! That's the preferred behaviour. It shouldn't really mess things up
> without asking.
Yeh, you are right, but that seems not always to be true. :-(
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Strange grub problem
2008-07-20 12:28 ` Mick
2008-07-20 13:16 ` Wolf Canis
@ 2008-07-20 23:04 ` Neil Bothwick
1 sibling, 0 replies; 14+ messages in thread
From: Neil Bothwick @ 2008-07-20 23:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 603 bytes --]
On Sun, 20 Jul 2008 13:28:09 +0100, Mick wrote:
> I believe that the grub ebuild mounts it for you, messes up your
> grub.conf and carries on with its business
It doesn't touch grub.conf, that would be unacceptable. What is does do
is it no longer installs the default splash image to /boot, so that is
removed when the previous version is unmerged. If you use a different
image, or even if you have touched the existing splashimage file, your
boot won't be affected.
--
Neil Bothwick
God said, "div D = rho, div B = 0, curl E = - @B/@t, curl H = J + @D/@t,"
and there was light.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Strange grub problem
2008-07-20 13:36 [gentoo-user] Strange grub problem Ivan Alden
` (3 preceding siblings ...)
2008-07-20 10:14 ` Wolf Canis
@ 2008-07-20 13:03 ` Pintér Tibor
4 siblings, 0 replies; 14+ messages in thread
From: Pintér Tibor @ 2008-07-20 13:03 UTC (permalink / raw
To: gentoo-user
same here with the latest grub update on x86.
setting the console font restores normal operation during the boot process.
t
Ivan Alden wrote:
> Hi,
>
> My laptop ran out of battery and shut off while I was using it and it
> seems to have done some damage to the bootloader. When I reboot I can't
> see the grub splashscreen any more but if I press enter I does boot into
> my kernel. As the computer is booting the output looks all messed up
> (but you can make that its initializing devices) until it reaches around
> the networking devices which then corrects and works properly.
>
> I've tried reconfiguring grub with
> root (hd0,0)
> setup (hd0)
>
> Does anybody have any suggestions of how to fix this?
>
> Thanks.
>
>
^ permalink raw reply [flat|nested] 14+ messages in thread