Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2004 12:44:38 -0500 (EST)
From:      Mike Newell <mnewell@spottydogs.org>
To:        Tony Frank <tfrank@optushome.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Boot loop in FreeBSD 5.2-RELEASE after install
Message-ID:  <Pine.BSF.4.58.0402201235140.3882@Rikers.SpottyDogs.Org>
In-Reply-To: <20040220030817.GA25852@marvin.home.local>
References:  <Pine.BSF.4.58.0402121114540.4151@Rikers.SpottyDogs.Org> <Pine.BSF.4.58.0402192141470.96673@Rikers.SpottyDogs.Org> <20040220030817.GA25852@marvin.home.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 20 Feb 2004, Tony Frank wrote:

tfrank> I saw the crash/assert type scenario if the boot blocks are not installed
tfrank> properly.
tfrank> Ie the MBR is updated with the bootmgr (F1 .. bit) but the 2nd/3rd stages
tfrank> were corrupted somehow.
tfrank> (In my case I accidentally overwrote the blocks with some experiementation)
tfrank> You can reinstall boot blocks using bsdlabel (or disklabel on 4.9)
tfrank> If you can boot from floppy/CD, get into fixit mode.
tfrank> Then run:
tfrank> bsdlabel -B da0s1 (assuming da0 is the disk you are trying to boot from)

I had tried re-writing the MBR in a number of ways.  This one didn't
succeed either...  Sigh...

It's clear I'm getting to the /boot/loader program and it's running; it
just keeps looping with no indication of an error (until it runs out of
heap, which is the assertion failure).

Do you know if there's a method of bypassing the loader program and
directly booting the kernel?  I tried stopping the second stage boot and
booting "/boot/kernel/kernel".  The boot program spins for a (long) while
loading it, but I'm guessing something's missing 'cause once it transfers
control to the kernel the system freezes.

tfrank> Have you tried 4.9-RELEASE on this system?

No, I have several other 5.2 systems (built from these same CDs) and I
kind of wanted to minimize the number of variants.  This IS the only
dual-drive SCSI-only box I have going though...  Maybe I should just slap
an IDE drive into the box (there's space and even cabling available) and
install to that???

tfrank> I understand that 5.2.1-RC2 ISO is also available which might be another option.

I know - it came out the weekend after I downloaded and burned the 5.2
ISO.  Grrrr.... :-)

Thanks!

Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.58.0402201235140.3882>