Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 2009 07:04:55 +0200
From:      Manolis Kiagias <sonicy@otenet.gr>
To:        oscar Seo <oscar815@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: freebsd 6.4 can't load kernel after upgrade
Message-ID:  <4AEBC577.7080204@otenet.gr>
In-Reply-To: <861961dd0910302020t728a9771tee9e628d618ab0e6@mail.gmail.com>
References:  <861961dd0910302020t728a9771tee9e628d618ab0e6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 _
> +++++++++++++++++++++++++++++++++++++++
>
> so I decided to reinstall freebsd-6.4 but I can't boot and re-install
> freebsd using CD-rom.
> what shall I do boot my system using installed freebsd or live-CD ?
> Thanks...
>
>   
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

See section 12.3.3.3 for more examples and details

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html#BOOT-LOADER




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