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

RE: [Xen-users] XEN 4.0 on Ubuntu Karmic



Fri, 9 Apr 2010 14:00:21 +0200 <lists@xxxxxxxxx> wrote:
> Am Donnerstag, den 08.04.2010, 22:38 -0400 schrieb Mike Viau:
> > Thu, 8 Apr 2010 23:47:36 +0200 <lists@xxxxxxxxx> wrote:
> > >
> > > Am Donnerstag, den 08.04.2010, 14:29 -0700 schrieb Boris Derzhavets:
> > > > Wait ...
> > > >
> > > > # dpkg -i /root/linux-image-2.6.32.10_pvops0.1_i386.deb - not mine
> > > > # depmod 2.6.32.10 - not mine
> > > > # update-initramfs -c -k 2.6.32.10 not mine
> > > >
> > > > ***************** this ones ***************************
> > > > # make
> > > > # make modules_install install
> > > > # mkinitramfs -o /boot/initrd-2.6.32.10.img 2.6.32.10
> > > > *******************************************************
> > > >
> > > > Don't touch grub at all
> > > >
> > > > # apt-get install grub
> > > > # grub-install /dev/sda
> > > > # update-grub
> > > >
> > > > This is link :-
> > > >
> > > >
> > http://www.linux.com/myblog-admin/virt-installvirt-manager-at-xen-40-rc8-263210-pvops-dom0-on-top-ubuntu-karmic-koala-server.html
> > > >
> > > > Boris.
> > >
> > > Hi Boris,
> > >
> > > linux-image-2.6.32.10_pvops0.1_i386.deb is a debian-package based on
> > > pasis-Konfig... instead of
> > >
> > > # make
> > > # make modules_install install
> > > # mkinitramfs -o /boot/initrd-2.6.32.10.img 2.6.32.10
> > >
> > > i just do
> > >
> > > # pull 2.6.32.10-kernel...
> > > # wget -O .config
> > >
> > http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.10-pvops-dom0-xen-stable-x86_32
> > > # make oldconfig
> > > # make -j8 KDEB_PKGVERSION=pvos0.1 dep-pkg
> > >
> > > and can install the kernel as deb-package...
> >
> > Does an initramfs get created for the kernel when this deb-package
> > gets installed?
> >
> > Do you do it manually? Or modify the deb-package to run "mkinitramfs"
> > in the package's scripts?
>
> Hi Mike,
>
> ive no idea how i can enable the initrd-creation und grub-updating...
>
> i ve always to do
>
> # dpkg -i
> # depmod 2.6.32.10
> # update-initramfs -c -k 2.6.32.10
> # update-grub
>
> How is "make dep-kpg" configured?
>

There are 'likely' variables which can be supplied on the command line or as an environment variables used by the kernel's Makefile. You can search the Makefiles for such 'variables'.


> cat /etc/kernel-img.conf
> # Kernel image management overrides
> # See kernel-img.conf(5) for details
> do_symlinks = yes
> relative_links = yes
> do_bootloader = no
> do_bootfloppy = no
> do_initrd = yes
> link_in_boot = no
> postinst_hook = update-grub
> postrm_hook = update-grub
>

This file is used to configure the the make-kpkg command made available with the kernel-package.

http://packages.debian.org/lenny/kernel-package

So you can not expect the "make deb-pkg" to have the same behavior as "make-kpkg".

On the Debian user mailing list was a link to an unofficial how to make custom kernels with make-kpkg. Defiantly worth the read...

Note: Custom kernels are not supported by the Debian community, especially if it contains any non-free or proprietary content.

http://www.wowway.com/~zlinuxman/Kernel.htm
 
> But this does not create an initrd? Also how can sources and
> headers-packages can be build?
>
> Anybody sucessfully installed 4.0.0 on Debian/Ubuntu? My System seems
> nearly up and running so long. Can boot 2.6.32.10, can boot xen with
> 2.6.32.10, but not able to start any VMs :-(
>

Yes, but on 64 bit too.
 
> Boris - could you post your kernel-config for a diff? Where should the
> python-stuff go? /usr/local/lib or /usr/lib?
>
> cu,
>
> thomas
>
>
> >
> > >
> > > So its "the same"....
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> >
> > -M
> >
> >
> > ______________________________________________________________________
> > Stay in touch. Get Hotmail & Messenger on your phone.
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


Videos that have everyone talking! Now also in HD! MSN.ca Video.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.