DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th July 2012
roelof roelof is offline
New User
 
Join Date: Jul 2012
Posts: 5
Default which bootloader does NetBSD use

Hello,

I try to use NetBSD with Easybcd. Now I wonder what bootloader NetBSD uses so I can check if Easybcd can work with it.

Roelof
Reply With Quote
  #2   (View Single Post)  
Old 10th July 2012
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

On a dedicated NetBSD system on standard PC hardware, NetBSD is started by the code in the first sector of the diskdrive, the MBR. This code scans the partition table for an active partition and passes control to the boot code (volume boot record) at the beginning of this active partition.

See http://en.wikipedia.org/wiki/Master_..._bootstrapping

In most boot managers you will only have to select to the MBR partition number of your NetBSD install.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 10th July 2012
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

That's a correct and succinct description of the generic boot process, however a little more specific info may also be helpful.

Have a look at the boot(8) and mbr(8) man pages.

The upshot is that NetBSD has custom boot selector code that can optionally be installed into the MBR. It's pretty cute stuff, but if you choose to install it, it will overwrite any existing boot code in the MBR, such as presumably EasyBCD (which I've never used). But you don't have to use NetBSD's boot code in the MBR, you can use another if it has the ability to chain over to the NetBSD partition's first sector.
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
GRUB bootloader finally reaches version 2.00 J65nko News 2 1st July 2012 09:59 PM
URGENT HELP, BOOTLOADER ISSUE tad1214 FreeBSD General 4 23rd August 2008 04:34 PM


All times are GMT. The time now is 06:59 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