Subject: Re: grub "Error 3" and small partitions
To: david l goodrich <dlg@dsrw.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 03/04/2007 11:53:20
On Sat, Mar 03, 2007 at 06:32:42PM -0600, david l goodrich wrote:
> Hi, I have a problem that's been dealt with in the past here:
> http://mail-index.NetBSD.org/port-xen/2006/11/04/0010.html
> 
> I'm getting the same error when I try to boot the xen.gz kernel -
> "Error 3: Bad or corrupt data while decompressing file"
> 
> The solution seems to be to make a small /, and set the block
> size to 8k, and fragment size to 1k.
> 
> This has solved the problem for me, on other hardware, in the past.
> This time, it didn't have any effect.
> 
> This is a Pentium D 3ghz (dual core), running NetBSD 4.0_BETA2
> from 20070225.
> 
> / 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.

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

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