Sorry for my ignorance but....I''ve installed a debian lenny dom0 with a xen kernel, then I''ve configured two domX. I''ve noticed that there isn''t a kernel installed for these ones. I run aptitude to update packages, I''ve updatede the dom0 kernel but....the others? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Mauro, normaly you''re installing kernel''s directly in dom0 and pass the values for kernel + initrd image over xen config parameters in DOM0 on of my xen configs look like this: # # Configuration file for the Xen instance ADlb01, created on # Tue Sep 9 15:31:15 2008. # # # Kernel + memory size # kernel = ''/boot/vmlinuz-2.6.26-1-xen-amd64'' ramdisk = ''/boot/initrd.img-2.6.26-1-xen-amd64'' extra = ''console=hvc0'' memory = ''2048'' vcpus = ''8'' # # Disk device(s). # root = ''/dev/sda1 ro'' disk = [ ''phy:system/ADlb01-disk,sda1,w'', ''phy:system/ADlb01-swap,sda2,w'' ] # # Hostname # name = ''ADlb01'' # # Networking # vif = [ ''bridge=xenbr0'' ] # # Behaviour # on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' In DomU your installing |only the "linux-modules-2.6.26-1-xen-amd64"-Package. This one is for 64Bit systems, there should also a 686 image around. If your installing a DOMU from scratch you could also use the xen-create-image scripts which is quite handy at some cases. | Mauro wrote:> Sorry for my ignorance but....I''ve installed a debian lenny dom0 with > a xen kernel, then I''ve configured two domX. > I''ve noticed that there isn''t a kernel installed for these ones. > I run aptitude to update packages, I''ve updatede the dom0 kernel > but....the others? > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2009/4/15 Alexander Pirsig <alex@pirsig.net>:> Hi Mauro, > > normaly you''re installing kernel''s directly in dom0 and pass the values for > kernel + initrd image over xen config parameters in DOM0 on of my xen > configs look like this: > > # > # Configuration file for the Xen instance ADlb01, created on > # Tue Sep 9 15:31:15 2008. > # > > > # > # Kernel + memory size > # > kernel = ''/boot/vmlinuz-2.6.26-1-xen-amd64'' > ramdisk = ''/boot/initrd.img-2.6.26-1-xen-amd64'' > extra = ''console=hvc0''Yes I know but ....... when I upgrade the kernel in dom0? I have to upgrade only the linux-modules in domX? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Mauro, yes that''s true for example my /boot direktory in domU looks like this blubba:/boot# ls -al /boot/ insgesamt 1260 drwxr-xr-x 2 root root 4096 6. Apr 20:25 . drwxr-xr-x 23 root root 4096 6. Apr 20:24 .. -rw-r--r-- 1 root root 84389 13. Mär 22:20 config-2.6.26-1-xen-amd64 -rw-r--r-- 1 root root 1187071 13. Mär 22:20 System.map-2.6.26-1-xen-amd64 If only installed the linux-modules for the configured kernel in the xen config in dom0 blubba:/boot# aptitude search linux-modules* p linux-modules-2.6-xen-amd64 - Linux 2.6 modules on AMD64 v linux-modules-2.6.26-1-amd64 - v linux-modules-2.6.26-1-openvz-amd64 - v linux-modules-2.6.26-1-vserver-amd64 - i linux-modules-2.6.26-1-xen-amd64 - Linux 2.6.26 modules on AMD64 p linux-modules-xen-amd64 - Linux modules on AMD64 Hope that helps. Alex Mauro wrote:> 2009/4/15 Alexander Pirsig <alex@pirsig.net>: > >> Hi Mauro, >> >> normaly you''re installing kernel''s directly in dom0 and pass the values for >> kernel + initrd image over xen config parameters in DOM0 on of my xen >> configs look like this: >> >> # >> # Configuration file for the Xen instance ADlb01, created on >> # Tue Sep 9 15:31:15 2008. >> # >> >> >> # >> # Kernel + memory size >> # >> kernel = ''/boot/vmlinuz-2.6.26-1-xen-amd64'' >> ramdisk = ''/boot/initrd.img-2.6.26-1-xen-amd64'' >> extra = ''console=hvc0'' >> > > Yes I know but ....... when I upgrade the kernel in dom0? > I have to upgrade only the linux-modules in domX? > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi all,> > yes that''s true for example my /boot direktory in domU looks like this > > blubba:/boot# ls -al /boot/ > insgesamt 1260 > drwxr-xr-x 2 root root 4096 6. Apr 20:25 . > drwxr-xr-x 23 root root 4096 6. Apr 20:24 .. > -rw-r--r-- 1 root root 84389 13. Mär 22:20 config-2.6.26-1-xen-amd64 > -rw-r--r-- 1 root root 1187071 13. Mär 22:20 System.map-2.6.26-1-xen-amd64Do you really mean DomU? The kernels are read from Dom0. If you want to read it from DomU you need pvgrub or pygrub. I usually copy the kernel/initrd for DomUs into some other dir (f.e. /boot/domU-kernels - don''t forget to change your xen-DomU.cfg) or switch to pvgrub. If you use the same kernel/initrd-file for Dom0 and DomU, then you have to update (at least your modules) in DomU, too. Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Fabian, yes I mean DomU, as you said > The kernels are read from Dom0. so there is no need to install the kernel package in domU the linux-modules package is enought. To configure Dom0 and DomU kernel I did the following steps and they worked for me. in Dom0 I installed linux-image-2.6.26-2-xen-amd64 package then I put this 2 values in xen-domU.config file for example: kernel = ''/boot/vmlinuz-2.6.26-2-xen-amd64'' ramdisk = ''/boot/initrd.img-2.6.26-2-xen-amd64'' next i installed the linux-modules package in domU. Thats all. Alex I''m installing Kernal images in Dom0 Fabian Zimmermann wrote:> Hi all, > >> >> yes that''s true for example my /boot direktory in domU looks like this >> >> blubba:/boot# ls -al /boot/ >> insgesamt 1260 >> drwxr-xr-x 2 root root 4096 6. Apr 20:25 . >> drwxr-xr-x 23 root root 4096 6. Apr 20:24 .. >> -rw-r--r-- 1 root root 84389 13. Mär 22:20 config-2.6.26-1-xen-amd64 >> -rw-r--r-- 1 root root 1187071 13. Mär 22:20 >> System.map-2.6.26-1-xen-amd64 > > Do you really mean DomU? The kernels are read from Dom0. If you want > to read it from DomU you need pvgrub or pygrub. > > I usually copy the kernel/initrd for DomUs into some other dir (f.e. > /boot/domU-kernels - don''t forget to change your xen-DomU.cfg) or > switch to pvgrub. > > If you use the same kernel/initrd-file for Dom0 and DomU, then you > have to update (at least your modules) in DomU, too. > > Fabian > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2009/4/16 Alexander Pirsig <alex@pirsig.net>:> > Hi Fabian, > > yes I mean DomU, > > as you said >> The kernels are read from Dom0. > > so there is no need to install the kernel package in domU the linux-modules > package is enought. > > To configure Dom0 and DomU kernel I did the following steps and they worked > for me. > > in Dom0 I installed > > linux-image-2.6.26-2-xen-amd64 package > > then I put this 2 values in xen-domU.config file for example: > > kernel = ''/boot/vmlinuz-2.6.26-2-xen-amd64'' > ramdisk = ''/boot/initrd.img-2.6.26-2-xen-amd64'' > > next i installed the linux-modules package in domU.Ok, that''s exactly what I''ve done. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Seemingly Similar Threads
- How to boot Ubuntu 9.04(Jaunty) or Debian Lenny (vmlinuz-2.6.26-2-686-bigmem) as domU under Lenny''s vmlinuz-2.6.26-2-xen-686 as dom0. PVM''s initrd issue
- Multiple Network Cards + Multiple Bridges on debian lenny
- [PATCH] Make "xm mem-set" be lower bound on domX-min-mem
- rsync time machine backup permissions
- I''m looking for the right distribution to run Xen