Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

[SOLVED] Killed my GRUB, don't know how...

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
plate
Bodhisattva
Bodhisattva
User avatar
Posts: 1663
Joined: Thu Jul 25, 2002 3:28 pm
Location: Berlin

[SOLVED] Killed my GRUB, don't know how...

  • Quote

Post by plate » Sat Dec 28, 2002 1:29 pm

I am very well aware of the fact that there have been others before me posting a boot failure, with the notorious:

Code: Select all

GRUB _
non-prompt as the only output on screen, followed by a complete system freeze (not even ctrl-alt-del works anymore).

So maybe I'm not the first idiot to run into this particular problem, but possibly the only one who managed to get into that sort of trouble after six moons of flawless operation of this exact same configuration. The only difference to the last successful boot process two hours ago: I recompiled my kernel from xfs-2.4.20-pre2 sources, putting bzImage beside a backup kernel called bzImage.old (same thing, just 2.4.19-rc2) in /boot (and yes, of course I mounted it before copying anything over. Maybe I shouldn't have...). Then I edited grub.conf to include the new and the old bzImage to boot from, reboot: Bang. See above. I swear, this is all I did: added three lines to accomodate the new kernel as a GRUB menu item.

I'm running out of ideas, especially since reading pertaining information about this problem here in the forums: none of the remedies discussed are applicable. I did try to re-enact the entire installation routine for GRUB just now, by the way, but interestingly enough it complains upon "setup (hd0,4)" thusly: "embed e2fs_stage1_5 .... failed (this is not fatal)"... Well, if this isn't, what is? 8O

I'm sick of rebooting from CD all the time, please, somebody with magnetic hands, touch my forehead! Make me understand what's going on!
Last edited by plate on Sun Dec 29, 2002 2:55 am, edited 1 time in total.
Top
pilla
Bodhisattva
Bodhisattva
User avatar
Posts: 7732
Joined: Wed Aug 07, 2002 8:19 pm
Location: Underworld

  • Quote

Post by pilla » Sat Dec 28, 2002 5:24 pm

have you upgraded grub these days?

I've read about a case where the stage1_5 file had to be in /boot (and not in /boot/grub). Maybe you could try that.

How are you booting? Dual Linux/Windows boot? If you are not using WinNT/XP, maybe you should install grub in (hd0,0)
"I'm just very selective about the reality I choose to accept." -- Calvin
Top
plate
Bodhisattva
Bodhisattva
User avatar
Posts: 1663
Joined: Thu Jul 25, 2002 3:28 pm
Location: Berlin

  • Quote

Post by plate » Sun Dec 29, 2002 12:38 am

No upgrade to GRUB since October. Yes, I did emerge baselayout in between, do you suspect that to cause any trouble?
I just remerged GRUB to be on the safe side and pasted stage1.5 files all over the place in /boot, let us see what happens when I reboot now (first time using Lynx to post here from inside the CD-image, jeezuz, all those colours! All those ... other ... colours! 8O).
And sorry, but I am not going to touch that MBR. With the number of reinstallations I have to have on the XP side of things, I had rather keep everything the way it was before.
Top
plate
Bodhisattva
Bodhisattva
User avatar
Posts: 1663
Joined: Thu Jul 25, 2002 3:28 pm
Location: Berlin

  • Quote

Post by plate » Sun Dec 29, 2002 12:56 am

Nothing. :( GRUB just sits there pondering whether it's alive or not. Probably is, but doing zilch, nada, diddley. Very disappointing.

Any other ideas?
Top
plate
Bodhisattva
Bodhisattva
User avatar
Posts: 1663
Joined: Thu Jul 25, 2002 3:28 pm
Location: Berlin

  • Quote

Post by plate » Sun Dec 29, 2002 3:08 am

And this is even more embarrassing: I fixed it, but cannot say for sure how I did it because I was fed up with rebooting all the time, and in the end I tried just too many things in one smooth go to be able to pinpoint any of them as the sole reason why everything works again:
  • rm -r /boot :twisted: (I just had to...)
  • mkdir /boot, copied my backup kernel to it
  • Remerged GRUB
  • Recompiled my new kernel
  • Edited grub.conf again, recreated soft link to menu.lst
  • dd'ed the dummy boot sector for the NT bootloader
  • Booted into XP first
  • Edited boot.ini to include the fresh dummy boot sector file
And at the next reboot everything was thumbs up. Naturally. A dozen new gray hairs for nothing. :? All I can say is: If anybody else out there ever runs into the same problem, just try everything I did. It'll take you longer than necessary, but at least you'll get there... :(
Top
ichnaton
n00b
n00b
User avatar
Posts: 21
Joined: Wed May 28, 2003 7:58 am
Location: Maassluis, Holland

two linux distro's -> same here (grub sudden death)

  • Quote

Post by ichnaton » Wed May 28, 2003 8:35 am

Just to mention an old cow, for those to come on and avoid this path. I've had a running suse system for years, recently with grub. Now I'm adding gentoo until it works as good as the suse and then switch.

At a certain moment, I've added lines for the gentoo kernel and the gentoo kernel itself to the /boot partition and menu.lst of the suse.

Reboot..died: GRUB

cause: probably a version conflict of the grub's but actually i still don't know for sure.

The easiest thing to fix this was to upgrade (you know, that outdated process with a pacj of cd's) the suse and have it redo my /boot.
Top
bruce2
n00b
n00b
Posts: 1
Joined: Wed Jul 13, 2005 5:16 pm

same problem

  • Quote

Post by bruce2 » Wed Jul 13, 2005 5:19 pm

I just experienced the same problem.

Remaking the dummy boot sector, copying it to the windows partition and reinstalling fixes the problem.

(e.g. dd if=/dev/hdaX of=/bootsec.lin bs=512 count=1, then copy that to windows and edit c:\boot.ini).
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Wed Jul 13, 2005 6:45 pm

8O
That was a nice piece of grave digging :wink:
My compliments on your searching skills.

Oh, and welcome to the forums.
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Top
plate
Bodhisattva
Bodhisattva
User avatar
Posts: 1663
Joined: Thu Jul 25, 2002 3:28 pm
Location: Berlin

  • Quote

Post by plate » Wed Jul 13, 2005 7:37 pm

Hehe. Why waste a perfectly good thread only because it's two years old? :mrgreen: Welcome aboard, bruce2.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic