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

Tillman Hodgson tillman at seekingfire.com
Fri May 19 13:09:52 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

I should be able to boot NetBSD normally as a test, correct?

-T


-- 
A new scientific truth does not triumph by convincing its opponents and
making them see the light, but rather because its opponents eventually
die, and a new generation grows up that is familiar with it.
    -- Max Planck, _Scientific Autobiography_



More information about the talk mailing list