Am Freitag, den 24.08.2007, 19:42 +0100 schrieb Mick:
> On Friday 24 August 2007, Marc Joliet wrote:
> > Hi,
> >
> > After the reboot following my daily upgrade from yesterday - during
> > which a revised kernel was installed - GRUB just wouldn't finish
> > starting. It's attempt to start looked like this:
> >
> > GRUB _
> >
> > with the underscore blinking. Ctrl-alt-del (reboot) worked.
> 
> At that stage you should have checked if the symlink /boot/grub/menu.lst is 
> still there and, or if its permissions were messed up.

Yes, I should have. I know it was there, though, since I mounted /boot/
in the live-CD to check if I had made a typo. However, I doubt that was
the problem, since I copied the menu.lst for inclusion in the grub.iso
and it worked. Note that on my System menu.lst is a Symlink to
grub.conf. If this isn't standard Gentoo, please let me know. Also,
does 

grub> root (hd0,5)
grub> setup (hd0)

touch anything other than the MBR and stages if you already have a boot
partition installed? Of course, I didn't keep record of grubs output,
so, yeah... there goes all potentially useful information.

However, could it be related to bug 189934? Reading through the linked
bug 132135, I "switched" /lib and /lib64, so instead of /lib64 being a
Symlink to /lib, /lib is now a Symlink to /lib64.

> > Now, to make it clear, I solved that: after finding out that I could
> > make a bootable GRUB CD, I made one from within a live-CD (c't
> > Knoppicillin 5.2). I was then able to boot into Gentoo with it and
> > reinstalled GRUB into the MBR. Don't you just love GRUB ;-)?
> >
> > What I *do* want to know, however, is how the hell the MBR could have
> > been wrecked in the first place. 
> 
> I doubt that the MBR was wrecked, because if it were wrecked you wouldn't see 
> the Grub prompt and would just get a BIOS message.

Heh, that's obvious *blushes*... However, I didn't really mean
"completely hosed". Could it have been a broken stage1 that only started
in part, or the like?

> > All I did was install the new 
> > kernel/initramfs via
> >
> > $ genkernel --lvm2 --symlink --install all [1]
> >
> > , edit grub.conf appropriately and reboot. It worked flawlessly
> until
> > now. Is Genkernel known to cause anything like this?
> 
> Sorry, can't help with this because I have no genkernel
> experience . . .

OK. I don't think it was Genkernel, anyway.

> > Also, just to understand the issue better, am I correct in assuming that
> > GRUB *always* installs its stage1 into the MBR or a boot sector (unless
> > you install it onto a floppy or CD)? I know it's a stupid question, but
> > I want to be sure that it was in the MBR in the first place, in the
> > event that there was a completely different cause. If it helps, this was
> > originally a Sabayon 3.20 install. A lot has changed since the initial
> > install, though ;-).
> 
> I have no experience with Sabayon either, but Grub will install wherever you 
> tell it to install.  That can be in the Master Boot Record (e.g. system 
> (hd0,0) or in any partition's boot record (e.g. system (hd0,1).

OK, so nothing new, then. I just mentioned Sabayon in the event there
was a known problem with how it set up GRUB. Because then I could have
found out if it was the MBR or not. I did just check the Sabayon
Bugzilla for bugs related to GRUB and MBR and found nothing relevant. Oh
well.

> > Of course, it could just be random disk corruption, but I sure hope not.
> 
> It could be a semi-random fs corruption, if e.g. you run out of juice, or 
> there was a hard crash, while that file was being read/written.  If 
> your /boot is not mounted by default then that's probably unlikely.  If the 
> machine is a laptop, or someone kicked the box while the disk was spinning 
> then things could go bad this way too.

Yeah, I should have set noauto the instant I found out about it. Any
other recommended mount options? Right now they are

defaults,noauto,user_xattr 1 2

which is how it was installed (except for noauto, of course).

Thanks for the info,
Marc Joliet
-- 
"Of course, I could switch back to Windows. At least there, if I have a
problem, I'm not under the illusion that I could ever fix it." - Unknown
(paraphrased)

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to