Subject: Re: NetBSD -CURRENT with Xen3.0.3: grub failed with Error3 and Error
To: None <pavel.cahyna@matfyz.cz>
From: Rainer Brinkmoeller <rainer.brinkmoeller@web.de>
List: port-xen
Date: 11/05/2006 00:11:19
thanks for answer,

but ... i would wonder because of this:
http://www.netbsd.org/Ports/xen/howto.html#netbsd-domain0
and this:
http://www.gnu.org/software/grub/manual/grub.html#NetBSD

but i tried and get error 3 instead of error 13 for netbsd-GENERIC.gz

More important first is the error 3 for xen.gz
What i found was this:
http://mail-index.netbsd.org/port-i386/2004/07/08/0015.html
"Error 3 is reported when the first sector of the mbr partition (sector
63 here) doesn't contain boot code. This is usually added by installboot
but it (probably) relies on the root filesystem being at the start of
that partition."

But i don't know what to do to boot successull into xen.

regards,
Rainer

Pavel Cahyna schrieb:

>On Sat, Nov 04, 2006 at 09:36:44PM +0100, Rainer Brinkm�ller wrote:
>  
>
>>Hi,
>>
>>after i did install NetBSD 3.0.1 on my new Hardware and did update it to 
>>-CURRENT
>>on this way: http://www.netbsd.org/Documentation/current/#updating
>>i did install grub, xentools30, xenkernel30 and xentools-hvm
>>
>>Then configured grub. Reboot and .. failure ... remember ... sure, the kernel 
>>file is to big
>>So, gzip the kernel file and reboot. Failure again.
>>
>>First Error when want to start by using kernel xen.gz and netbsd-XEN0.gz as 
>>module:
>>
>>kernel (hd0,a)/xen.gz dom0_mem=131072
>>     [Multiboot-elf, <0x100000:0x7e5d8:0x47a28>
>>
>>Error 3: Bad or corrupt data while decompressing file
>>
>>Maybe something wrong with the xen.gz kernel file?
>>The second Error i've got when want to start by using kernel netbsd-GENERIC.gz 
>>as module:
>>
>>root (hd0,a)
>>    Filesystem type is ffs, partition type 0xa9
>>kernel --type=netbsd /netbsd-GENERIC.gz
>>     [Multiboot-elf, <0x100000:0x9ddfc0:0x0>
>>    
>>
>
>Don't use --type=netbsd if the kernel is Multiboot, I think.
>
>Pavel
>
>  
>