NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Installing the Primary Bootloader



On Thu, Jul 10, 2008 at 01:29:42PM -0700, James Colannino wrote:
> Hey everyone,
> 
> I'm really close to finishing my first installation from scratch of 
> NetBSD.  I've managed to create my filesystem, unpack the distribution 
> tarballs and write the primary and secondary bootloader to the disk.
> 
> However, when I boot the system, I just get a blank screen with a 
> blinking cursor, so I must have installed the bootloader wrong.
> 
> Here's what I did: installboot /dev/ld0a /usr/mdec/bootxx_ffsv2
> 
> I did that, per instructions I found via Google.  Does the above look 
> correct?  I'm a little suspicious that I'm telling it to install the 
> primary bootloader on /dev/ld0a instead of on the MBR of the device, but 
> I don't know enough about installboot, even after reading the man page, 
> to know if that's what's wrong or not.

ld0a is correct, if you partitionned the disk with fdisk before
using disklabel(8). In this case, run fdisk -i wd0 (to make sure
a boot block is installed on the mbr), and then make sure the
NetBSD partition is active (you can use fdisk -a to make it active).

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index