Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: grub "Error 3" and small partitions



On Sun, Mar 04, 2007 at 10:57:52AM -0600, david l goodrich wrote:
> 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:

Yes, and I also got it working once on a 128GB partition. It depends on
where the file is located in the partition.

> > 
> > 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.

Again, it depends on where the file is in the partition. /netbsd is one of the
first files written to / on install, so it's likely to be near the start.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index