DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Installation and Upgrading

NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster?

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd May 2008
standardFoo standardFoo is offline
Real Name: Jusitn
New User
 
Join Date: May 2008
Location: Grand Rapids
Posts: 3
Default post-install green text w/o shell

Hello, I just tried to switch to NetBSD from Linux with the belief that this OS is much more heavily documented and more "correct" in some ways.

Unfortunately I haven't been able to find any reference to the part where the user reboots immediately after an install, the text turns green, and w/o a user name or password required a 'db>' prompt shows. I can't enter any commands beyond sh as far as I can tell. And sh does nothing it would seem. I'm really lost; any help?

So far I haven't read of another person with this problem. PCBSD works when I installed on this computer. I'm trying to install NetBSD 4.0 on an old Sony notebook. I have basic familiarity with Linux but I have only used FreeBSD for about a month a year ago.
Reply With Quote
  #2   (View Single Post)  
Old 2nd May 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Quote:
Originally Posted by standardFoo
I just tried to switch to NetBSD from Linux with the belief that this OS is much more heavily documented and more "correct" in some ways.
FWIW, I'm also new to NetBSD (and, coincidentally enough, also installed it on an old laptop). It definitely seems to be thoroughly documented and "clean" (or correct, as you put it).

Quote:
Originally Posted by standardFoo
I haven't been able to find any reference to the part where the user reboots immediately after an install, the text turns green, and w/o a user name or password required a 'db>' prompt shows. I can't enter any commands beyond sh as far as I can tell. And sh does nothing it would seem. I'm really lost; any help?
To make sure I'm following here: post-install, you boot the machine (normally), but then instead of getting to a login prompt, you get a 'db>' prompt? If that's all correct, do you see any error message at all?
__________________
Kill your t.v.
Reply With Quote
  #3   (View Single Post)  
Old 2nd May 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

P.S. I realize the list (port-mips) may at first seem entirely out of context WRT your question, but have a look at this thread:
Quote:
> "db>" is the kernel debugger prompt - something went wrong.
> Can you please post the complete boot messeges up to this point and also
> do a "bt" command at the db prompt?
Sounds like you have earned the dubious honor of entering the kernel debugger.
__________________
Kill your t.v.
Reply With Quote
  #4   (View Single Post)  
Old 2nd May 2008
standardFoo standardFoo is offline
Real Name: Jusitn
New User
 
Join Date: May 2008
Location: Grand Rapids
Posts: 3
Default

I swear I could mess up an Ubuntu install!

Now at least I know what the prompt really is. I have a feeling that I must have sliced up my disk wrong.

Thanks for the links. I don't yet understand fully what the 'bt' command and such are doing, but I'm gonna guess the goal is to point to the root file system.

Sounds like a lot of excitement for tomorrow.

Thanks again, I'll let you know how it goes.
Reply With Quote
  #5   (View Single Post)  
Old 2nd May 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

anomie's diagnosis is correct; your installation is dropping into the kernel's debugger. Green text on a black background is simply the output of dmesg(8) done when the kernel is loading & determining what drivers to load. Without knowing more, these errors may be due to two separate issues:
  • The kernel is somehow being corrupted when being loaded or executing in memory. To test this assumption, check the memory. Memtest86 is freely available:

    http://www.memtest86.com/
  • Likewise as you postulated in passing, there may be a problem in the disk partitioning. I would suggest studying Section II of The NetBSD Guide:

    http://netbsd.org/docs/guide/en/
If this helps, great. Even if it doesn't, you will have reduced the number of possible causes & have a better idea as to what is & isn't working on your system.

Last edited by ocicat; 2nd May 2008 at 03:12 PM.
Reply With Quote
  #6   (View Single Post)  
Old 2nd May 2008
standardFoo standardFoo is offline
Real Name: Jusitn
New User
 
Join Date: May 2008
Location: Grand Rapids
Posts: 3
Default

Solved! Besides the disk problem I forgot to use the laptop kernel.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is is possible to access my hard drives from install CD 'Shell' option?... Quaxo OpenBSD Installation and Upgrading 2 17th May 2009 04:37 PM
X kills console text IdOp OpenBSD General 12 12th May 2009 06:12 PM
playing songs in text mode rex FreeBSD General 4 27th August 2008 08:48 PM
Changing encoding of text in MySQL database stukov Programming 5 15th July 2008 09:48 PM
How to change Fluxbox menu text color rex FreeBSD General 1 11th May 2008 02:40 AM


All times are GMT. The time now is 03:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick