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

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



As you recommended, I'm newly starting with "Manually installing an HVM Guest VM."

While I'm installing ubuntun 12.04, the installer hanged while copying files. (I attached the screen shot of vnc).
The mouse still moves but I can not input the user name. I waited like a ten minutes to see whether it is slow or stucked. 

Now, my question is, my machine is intel core 2 cpus with 2GB memory. 
Is this machine too weak for xen virtualization?

Best
 - jaeyong


On Sat, Jul 14, 2012 at 6:33 PM, Stephan Seitz <s.seitz@xxxxxxxxxxx> wrote:
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: installing ubuntu12.04 hanged.png
Description: PNG image

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