[nycbug-talk] Confusion around Grub, NetBSD 3.0, DAC960 control (all for Xen)

Peter Wright pete at nomadlogic.org
Fri May 19 13:17:59 EDT 2006

> On Fri, May 19, 2006 at 12:46:51PM -0400, Johnny Lam wrote:
>> If you have grub-0.97nb5 installed from pkgsrc, then I think you can
>> fake out the grub-install script by manually creating a device.map file.
>>  The lame BIOS drive detection in grub doesn't work correctly for ld(4)
>> devices, but if you manually create a /grub/device.map file containing
>> the line:
>> 	(hd0)	/dev/rld0d
>> Then re-run that grub-install command you have above and see if that
>> installs GRUB properly on your system.  This is what I did on my own
>> machine.
> Oh, that's much nicer than mucking around in /dev (which, months from
> now, I'll forget that I've done and cause much grief ;-)). And it seemed
> to work -- grub installed, and /grub is populated. (I haven't tested
> with a reboot though). Thanks :-)
> Is it normal for there not to be a menu.lst in /grub? I know I need to
> modify it to show what I want for options, but it seems odd that a
> default one was included as part of the files it populated the directory
> with.
> Before I get into the Xen stuff, if I create a /grub/menu.lst with
> contents like this:
>  title NetBSD-GENERIC
>  root (hd0,0,a)
>  chainloader +1

If I am not mistaken menu.lst is usually a link to grub.conf.

> I should be able to boot NetBSD normally as a test, correct?
yes, i belive so.

Peter Wright
pete at nomadlogic.org

More information about the talk mailing list