Subject: Re: Boot NetBSD with Grub
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: netbsd-help
Date: 04/12/2005 16:22:02
Zafer Aydogan --> netbsd-help (2005-04-12 11:26:33 +0200):
> Hello List,
> 
> I'd like to boot into NetBSD with the Bootloader Grub which is already 
> installed on my Notebook.
> 
> I have managed to boot NetBSD, but can't pass the root device to the 
> kernel, so that NetBSD always asks me, which root device it should take.
> 
> Grub itself says, that it isn't able to pass information to the NetBSD 
> Kernel, but on the otherside, I've seen machines booting successfully 
> into NetBSD with Grub (The 2.0 NetBSD LiveCD for example).
> 
> Maybe someone knows a way to boot (with root), anyway?

I don't use GRUB anymore, but IIRC you have two choices: chainloading
the NetBSD bootloader:

	grub> rootnoverify (hd0,1)
	grub> chainloader +1
	grub> boot

or booting the kernel directly:

	grub> root (hd0,1,a)
	grub> kernel --type=netbsd /netbsd
	grub> boot


HTH, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~