Subject: Re: NetBSD 1.6.2 sparc recovery from custom kernel
To: Malcolm Herbert <email@example.com>
From: Ogre <Ogre@lowmips.com>
Date: 07/26/2004 21:08:11
ahhhh, got it. so easy!
I didnt know you could make directories while booted from the cd, i guess everything is in ram, on a ramdrive? anywho, i mounted my first scsi drive to a temp directory and i'm able to play with my kernel files from there.
Thanks anywho for the suggestion
---------- Original Message ----------------------------------
From: Malcolm Herbert <firstname.lastname@example.org>
Date: Tue, 27 Jul 2004 10:55:42 +1000
>On Mon, Jul 26, 2004 at 08:38:30PM -0400, Ogre wrote:
>|I built a custom kernel to enable my 2nd CPU, and now when it boots, I
>|get error messages and it hangs at a dump....I'd like to get in a move
>|my origional kernel back, so that I wont lose everything i've done so
>|far. However, the NetBSD instructions say to "hit the spacebar during
>|the 5-second timeout" when you boot up, I assume at some boot manager
>|screen?...well, i dont have that option when i boot. it goes directly
>|into booting up NetBSD. Any ideas? i can boot from the cd and get a
>|command line, but i'm a little lost as to what to do next.
>If you can boot from CD, you should be able to fsck your root partition,
>mount it and then change its contents. you should be able to move the
>new kernel file to a different filename, then put your old one (assuming
>you still have it) in its place.
>Make sure to sync your root filesystem and unmount it, after that you
>should be able to reboot into your old kernel ...
>Alternately, your boot loader may be sending messages out the serial
>port - find a serial terminal (or a PC with a null-modem cable) and see
>what you find there ... standard console serial parameters are 9600 bd,
>no parity, 1 stop bit.
>You may have to unplug your keyboard from the host for this to work,
>as the PROM assumes that if there's a keyboard, then the keyboard and
>monitor will be the console. If it doesn't find a keyboard, the PROM
>uses serial port A as the console.
>Hope that helps,
>Malcolm Herbert System Administrator
>ph  54881 rm 28-241 School of GeoSciences