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

Re: [Xen-users] While installing guest OS, having error "Invalid kernel"


  • To: jaeyong yoo <y.jaeyong@xxxxxxxxx>
  • From: Stephan Seitz <s.seitz@xxxxxxxxxxx>
  • Date: Fri, 13 Jul 2012 08:01:46 +0000
  • Accept-language: de-DE, en-US
  • Cc: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • Delivery-date: Fri, 13 Jul 2012 08:02:51 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-index: AQHNYM2/47CbgNFhH0ewxSkwfVKJkA==
  • Thread-topic: [Xen-users] While installing guest OS, having error "Invalid kernel"

I assume pygrub does have problems with fancy lvm layouts and/or exotic
filesystems INSIDE domU.
To avoid potential problems, I've done all of my domU disk layouts with a
separate (first and primary) partition for /boot which is always ext3.

Anyway, that has nothing to do with lvm outside domU, pygrub is really
fine with a (dom0's) LV a domU disk .


For your mentioned ubuntu domU, it's necessary to use the kernel / ramdisk
provided by linux-virtual. linux-generic is not xen capable.
you could e.g. install your ubuntu domU fully virtualized (hvm)  with additional
linux-virtual and grub-legacy-ec2 packages. As of 12.04 some kernel modules
are placed into linux-image-extra-virtual (None of them are necessary for a
plain installation, but I recently found myself searching for "lost" modules).



Am Freitag, den 13.07.2012, 15:01 +0900 schrieb jaeyong yoo:
Thanks a lot Lan,


> The other thing to consider is the use of LVM for the guest /boot. IIRC
> this does not work with pygrub. 


did you mean pygrub is working fine with LVM for the guest /boot?


jaeyong

On Fri, Jul 13, 2012 at 1:05 AM, Ian Campbell <ian.campbell@xxxxxxxxxx> wrote:
On Thu, 2012-07-12 at 05:36 -0400, jaeyong yoo wrote:
>
>
> 8) while installing, I set the filesystem ext3 in the guest OS.
>
> 9) everything looks normal. The console say the installation is
> completed.
>
> 10) After installing, I change the xen configuration
> file  (/etc/xen/ubuntu.cfg)  as follows.
>
> name = "ubuntu" memory = 512 disk =
> ['phy:/dev/vgubuntu/ubuntu,xvda,w'] vif = [' '] bootloader = "pygrub"


Did ubuntu install a Xen capable kernel and is grub within the guest
correctly pointing to it?

You can usually use kpartx to expose the partitions
of /dev/vgubuntu/ubuntu in dom0 and mount it to poke around.

I don't know which kernel flavour you need to have installed in Ubuntu
to get Xen support. Perhaps someone else chime in.

The other thing to consider is the use of LVM for the guest /boot. IIRC
this does not work with pygrub.

Ian.



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

Attachment: signature.asc
Description: This is a digitally signed message part

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