[ I reviewed some of the list''s archives as well as did the ]
[ mandatory "Internet search", but couldn''t find any info ...
-khj ]
I am running Ubuntu-12.04 as a Xen-based "virtual machine".
Though I''ve added three new kernels to the VM:
/boot/vmlinuz-3.2.0-23-generic-pae
/boot/vmlinuz-3.2.0-32-generic-pae
/boot/vmlinuz-3.2.0-33-generic-pae
... I can''t get any of them to install/boot.
Here''s what "usage -a" shows on the VM:
Linux vps2 2.6.32-28-generic-pae #55-Ubuntu SMP \
Mon Jan 10 22:34:08 UTC 2011 i686 i686 i386 GNU/Linux
I tried to install/use ''grub'' and ''grub-pc''
(as I do on other
non-virtualized Linux systems), but can''t seem to find a way to specify
one of the above kernels as the guest boot image. Here''s a screen
image
of my failed attempt to configure ''grub-pc'':
Though I am an experienced Linux user (build kernels, etc.) and have
used other virtualization systems (e.g., VirtualBox), I can''t seem to
figure this out! My hunch is that I don''t quite understand how Xen
works ... ;-)
Any help is *most* appreciated!
--
Prof Kenneth H Jacker khj@cs.appstate.edu
Computer Science Dept www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC 28608 USA
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
Hi, what does your vm''s config file look like? you either have to download the kernel file to your Dom0, and set your "kernel = ..." line in the vm''s config, or if you use pygrub, you have to update your grub.conf in your vm (no need to install grub) regards, Gabor Hudiczius On 12.11.15. 17:59, Kenneth Jacker wrote:> [ I reviewed some of the list''s archives as well as did the ] > [ mandatory "Internet search", but couldn''t find any info ... -khj ] > > I am running Ubuntu-12.04 as a Xen-based "virtual machine". > > Though I''ve added three new kernels to the VM: > > /boot/vmlinuz-3.2.0-23-generic-pae > /boot/vmlinuz-3.2.0-32-generic-pae > /boot/vmlinuz-3.2.0-33-generic-pae > > ... I can''t get any of them to install/boot. > > Here''s what "usage -a" shows on the VM: > > Linux vps2 2.6.32-28-generic-pae #55-Ubuntu SMP \ > Mon Jan 10 22:34:08 UTC 2011 i686 i686 i386 GNU/Linux > > I tried to install/use ''grub'' and ''grub-pc'' (as I do on other > non-virtualized Linux systems), but can''t seem to find a way to specify > one of the above kernels as the guest boot image. Here''s a screen image > of my failed attempt to configure ''grub-pc'': > > > > > > > > Though I am an experienced Linux user (build kernels, etc.) and have > used other virtualization systems (e.g., VirtualBox), I can''t seem to > figure this out! My hunch is that I don''t quite understand how Xen > works ... ;-) > > > Any help is *most* appreciated! > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >
gh> Hi, Thanks, Gabor, for your quick reply! gh> what does your vm''s config file look like? you either have to gh> download the kernel file to your Dom0, and set your "kernel = ..." gh> line in the vm''s config, or if you use pygrub, you have to update gh> your grub.conf in your vm (no need to install grub) This leads me to an important fact I didn''t include in the original posting: my Xen environment is provided/managed by an ISP. If I understand your suggestions above, that means that the ISP must make any kernel image changes? Is there no way I can "do it myself"? Must the "host" and "guest" run the same kernel version? Thanks again, -Kenneth
Hi,> If I understand your suggestions above, that means that the ISP must > make any kernel image changes? Is there no way I can "do it myself"?it depends whether your vm is set up to use pygrub, or not. if it is, you can make any neccessary change within the guest, which are: - download/compile a kernel (or precompiled kernel image) - move it to your boot directory, amd move the modules to their place in /lib (according to kernel version) - create a grub config file (/boot/grub/menu.lst) - create grub entries for each kernel you want to use, like the following: title Some Linux Kernel root (hd0,0) kernel /boot//boot/vmlinuz-3.2.0-33-generic-pae root=/dev/xvda1 initrd /boot/initrd.if.you.have.one on the next reboot, you should see the pygrub boot loader menu (if you connect quick enough via vnc) if your provider does not use pygrub, you will need to contact them to change your kernel> Must the "host" and "guest" run the same kernel version?no, they don''t regards, gabor p.s.: this information is for pv guests, i''m not sure about hvm ones