Port-xen archive

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

Re: pygrub with NetBSD domU



On Wed, Apr 30, 2014 at 03:19:37PM +0700, Robert Elz wrote:
>   | kernel netbsd613-XEN3PAE_DOMU
> 
>   | And of course I have in filesystem root:
>   | /netbsd614-INSTALL_XEN3PAE_DOMU
>   | /netbsd614-XEN3PAE_DOMU
> 
> 613 or 614 ?

614! I upgraded in the meantime. I guess everyone understood it should
match.

>   | vnconfig vnd4 xen/vnd/rack2.vnd
>   | dd if=/dev/zero of=/dev/rvnd4d bs=512 count=1 
>   | vnconfig -u vnd4
> 
> That has to be one of the weirdest ways of copying 512 bytes into the
> start of a file I've yet to see, why not just ...
> 
>       dd if=/dev/zero of=xen/vnd/rack2.vnd  bs=512 count=1

Because I never trust dd to not truncate the output. And indeed, 
your command does. Adding conv=notrunc makes it fine.

> I haven't been reading this thread, but why?   What's supposed to be
> the advantage of pygrub over a normal NetBSD Xen boot

Some cloud provider does not let you specify a kernel, you can
just give a disk image. Using pygrub is your only option here.

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index