Booting with dk0 root

2013-07-25 Thread John Klos
Hi, Apparently we can't compile a kernel with netbsd root on dk0 type ffs because dk0 isn't something the kernel knows about until later. How does one use a gpt wedge as a root filesystem? I'm loading the kernel from a CompactFlash but would like the root filesystem to be on a 4 TB drive. Th

Re: Booting with dk0 root

2013-07-25 Thread Martin Husemann
On Thu, Jul 25, 2013 at 09:44:21PM +, John Klos wrote: > Apparently we can't compile a kernel with netbsd root on dk0 type ffs > because dk0 isn't something the kernel knows about until later. How does > one use a gpt wedge as a root filesystem? I'm loading the kernel from a > CompactFlash b

Re: Booting with dk0 root

2013-07-26 Thread Grégoire Sutre
On 07/25/2013 11:44 PM, John Klos wrote: How does one use a gpt wedge as a root filesystem? The following commands in boot(8) work iirc. I've used them to boot NetBSD/amd64 with root on a GPT partition and the kernel (GENERIC) on another hard drive. dev hdNx: where hdNx is the device of the

Re: Booting with dk0 root

2013-07-26 Thread Michael van Elst
j...@ziaspace.com (John Klos) writes: >Apparently we can't compile a kernel with netbsd root on dk0 type ffs >because dk0 isn't something the kernel knows about until later. How does >one use a gpt wedge as a root filesystem? I'm loading the kernel from a >CompactFlash but would like the root f

Re: Booting with dk0 root

2013-07-27 Thread Ryo ONODERA
Hi, From: mlel...@serpens.de (Michael van Elst), Date: Fri, 26 Jul 2013 23:37:07 + (UTC) > j...@ziaspace.com (John Klos) writes: > >>Apparently we can't compile a kernel with netbsd root on dk0 type ffs >>because dk0 isn't something the kernel knows about until later. How does >>one use a