Re: freebsd 6.4 can't load kernel after upgrade

2009-12-04 Thread Alex de Kruijff
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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd 6.4 can't load kernel after upgrade

2009-10-31 Thread Randi Harper
On Fri, Oct 30, 2009 at 8:20 PM, oscar Seo oscar...@gmail.com 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...


For future reference, while upgrading via sysinstall is possible, it's best
to use something like freebsd-update, which is included in base.

I can't recall off the top of my head if upgrading via sysinstall moves the
kernel to kernel.old or not. Good luck with that. You may be best off using
livefs and trying to repair with that.

-- randi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd 6.4 can't load kernel after upgrade

2009-10-30 Thread oscar Seo
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...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd 6.4 can't load kernel after upgrade

2009-10-30 Thread Manolis Kiagias
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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org