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

Re: [Xen-users] question regarding booting custom guest kernel






On 27 September 2013 15:28, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
On Fri, Sep 27, 2013 at 03:21:23PM +0200, Aastha Mehta wrote:
[...]
> > > I: Checking Release signature
> > > I: Valid Release signature (key id
> > 630239CC130E1A7FD81A27B140976EAF437D05B5)
> > > E: Invalid Release file, no entry for main/binary-x86_64/Packages
> >
> > Something went wrong when debootstrap tried to build your image. It has
> > nothing to do with your customized kernel (yet).
> >
> > You need to fix debootstrap first. It could be something wrong with your
> > mirror. I believe xen-create-image has an option to speicify which
> > mirror to use -- you can try other working mirrors.
> >
> > Here is the top of the log for the guest1 that I tried to create using
> custom kernel:
> <Guest1-log>
> General Information
> --------------------
> Hostname       :  ubuntu-3.11.0-guest1
> Distribution   :  precise
> Mirror         :  http://de.archive.ubuntu.com/ubuntu/
> Partitions     :  swap            512M  (swap)
>                   /               20G   (ext3)
> Image type     :  sparse
> Memory size    :  128M
> Kernel path    :  /boot/vmlinuz-3.11.0-guest
> Module path    :  /lib/modules/3.11.0-guest/
> Initrd path    :  /boot/initrd.img-3.11.0-guest
> ...
> </Guest1-log>
>
> This is the same mirror which I used in the second case, where I managed to
> create the image using the mirror:
> <Precise-log>
> General Information
> --------------------
> Hostname       :  precise-guest
> Distribution   :  precise
> Mirror         :  http://de.archive.ubuntu.com/ubuntu/
> Partitions     :  swap            128M  (swap)
>                   /               20G   (ext3)
> Image type     :  sparse
> Memory size    :  512mb
> ...
> Done
> Installation method: debootstrap
> Using /usr/sbin/debootstrap as debootstrap command
>
> Copying files from host to image.
> Copying files from /var/cache/apt/archives/ ->
> /tmp/Jk_qr78n4J/var/cache/apt/archives
> Done
> Done
> I: Retrieving Release
> I: Retrieving Release.gpg
> I: Checking Release signature
> I: Valid Release signature (key id 630239CC130E1A7FD81A27B140976EAF437D05B5)
> I: Retrieving Packages
> I: Validating Packages
> I: Resolving dependencies of required packages...
> I: Resolving dependencies of base packages...
> I: Checking component main on http://de.archive.ubuntu.com/ubuntu...
> I: Validating adduser
> I: Validating apt
> I: Validating apt-utils
> I: Validating base-files
> ...
> </Precise-log>
> What do I need to checkout about the debootstrap?

I don't really have any idea about that. Is it caused by intermittent
network failure?

Another thing to check is the delta between your two commands.

Wei.

No, it is not an intermitten failure, because I have another guest image that I am able to boot fine.

I also tried to replace the kernel in the image that I created from the mirror. But I am seeing the networking error about the vif being not set up correctly. Any idea, why that might be happening and how to fix it?

Thanks



--
Aastha Mehta
MPI-SWS, Germany
E-mail: aasthakm@xxxxxxxxxxx

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.