Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2009 03:33:34 +0100
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        Manolis Kiagias <sonicy@otenet.gr>
Cc:        oscar Seo <oscar815@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: freebsd 6.4 can't load kernel after upgrade
Message-ID:  <20091205023334.GB1495@Alex1.lan>
In-Reply-To: <4AEBC577.7080204@otenet.gr>
References:  <861961dd0910302020t728a9771tee9e628d618ab0e6@mail.gmail.com> <4AEBC577.7080204@otenet.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 31, 2009 at 07:04:55AM +0200, Manolis Kiagias wrote:
> oscar Seo wrote:
> > I'm a beginner in freebsd.
> > my machine consists of freebsd-6.4 + i386 bootstrap loader,+ windowmaker
> > after upgrade freebsd-6.4 using sysinstall then reboot the system,
> > I got an error message as follows
> > +++++++++++++++++++++++++++++++++++++++
> > Loading /boot/defaults/loader.conf
> > Unable to load a kernel!
> > /
> > can't load 'kernel'
> >
> > Type '?' for a list of commands, 'help' for more detailed help.
> > OK _
> > +++++++++++++++++++++++++++++++++++++++
> >   
> You could try loading your old kernel. When you build a new kernel, your
> old kernel is preserved under /boot/kernel.old
> 
> Type these commands in the loader prompt
> 
> unload (probably not needed here)
> load kernel.old
> boot

Because kernel.old is overwritten with each attemt you might mv
/boot/kernel.old to /boot/kernel.good. This prevents you from being
stuck with a system you can't boot.
-- 
Alex




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