[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: Sat, 14 Jul 2012 09:33:07 +0000
  • Accept-language: de-DE, en-US
  • Cc: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • Delivery-date: Sat, 14 Jul 2012 09:34:42 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-index: AQHNYM2/SxERbMuMY06zXALQWXEsdJcoTawAgAAWiQA=
  • Thread-topic: [Xen-users] While installing guest OS, having error "Invalid kernel"

Hi,

sorry, I didn't point it out too clear. linux-virtual is no project or
website ;)
it's an ubuntu package. In detail it's a meta-package always pointing to
the latest linux-[VERSION]-virtual.

Following the ubuntu guide, I'ld start with "Manually installing an HVM
Guest VM".
Just because of the possibility to reboot your domU if something went
wrong or (in your case) is not completely ready.
At least 12.04 Ubuntu domU's can easily be setup to boot either HVM
or PV.

What I was trying to say was: After your installation is finished, do an
"apt-get install linux-virtual grub-legacy-ec2" and you're able to boot
your domU with pvgrub, pygrub or hvmloader. it's all about choices :)




Am Samstag, den 14.07.2012, 17:12 +0900 schrieb jaeyong yoo:
> Thanks stephan,
> 
> 
> Actually, the kernel for guest OS, I use, is the one recommended in
> the following guide.
> 
> 
> https://help.ubuntu.com/community/XenProposed
> 
> 
> But, I really want to test the one you mentioned in linux-virtual.
> I tried to google linux-virtual and failed to find one.
> Could you tell me the one that you are using?
> 
> 
> Thanks again,
> - jaeyong
> 
> 
> 
> On Fri, Jul 13, 2012 at 5:01 PM, Stephan Seitz <s.seitz@xxxxxxxxxxx>
> wrote:
>         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®.