On Sun, Mar 04, 2007 at 11:53:20AM +0100, Manuel Bouyer wrote:
> On Sat, Mar 03, 2007 at 06:32:42PM -0600, david l goodrich wrote:
> >
> > / is on a raid mirror, is 2GB in size, and has block and fragment
> > sizes of 8k and 1k respectively.
>
> I'm not sure 2GB is small enough. I always to / 512MB or smaller.
Well, okay. I guess i'll try smaller. 2G was sufficient in the
past, though:
xen# df -h /
Filesystem Size Used Avail Capacity Mounted on
/dev/raid0a 1.9G 160M 1.7G 8% /
xen# disklabel raid0 | grep ^\ a:
a: 4194304 0 4.2BSD 1024 8192 46608 # (Cyl.
0 - 4095)
xen# uname -a
NetBSD xen.bwcws.dsrw.org 4.99.4 NetBSD 4.99.4 (XEN3_DOM0) #0:
Mon Nov 27 04:32:34 CST 2006
dlg%build-31.dsrw.org@localhost:/local/src/HEAD/src/sys/arch/i386/compile/obj/XEN3_DOM0
i386
xen#
>
> >
> > The grub install seems alright, I'm able to run grub with this
> > configuration:
> > root (hd0,0)
> > chainloader +1
>
> loading a file from filesystem or chain-booting a partition are really 2
> different things. However I think grub will load menu.lst at boot, so
> it probably can read at last parts of the filesystem properly. This should
> rule out issues with the raid setup.
Okay. I saw this in the pkg_add output, and gave it a shot:
title NetBSD (wd0)
root (hd0,0,a)
kernel /netbsd
and it seems to work fine as well.
Thanks.
--david
Attachment:
pgpWlywxAUMcn.pgp
Description: PGP signature