Thomas Schwinge
2006-Jul-05 22:08 UTC
[Pkg-xen-devel] xen linux-image packages; initrd.img
Hello! This might be a FAQ, but I didn't manage to find an answer somewhere: why doesn't the linux-image-2.6.16-2-xen-686 (at least that one; that's the one I installed) create a accompanying initrd.img, but the user has to do it himself? (Like me, having troubles with the version of initramfs-tools from testing, resolved by upgrading that one to unstable's version.) Also, why isn't a stanza added to /boot/grub/menu.lst added automatically? /usr/share/doc/xen-utils-3.0/README.Debian.gz could do with some updating. Shall I post a patch? There is also a bug report about that issue: #372524. Regards, Thomas
On Thu, Jul 06, 2006 at 12:08:00AM +0200, Thomas Schwinge wrote: Hi,> /usr/share/doc/xen-utils-3.0/README.Debian.gz could do with some > updating. Shall I post a patch? There is also a bug report about that > issue: #372524. >Updates are already in svn... Please check them and see if you are happy with them... Any further improvements are welcome! :) Unfortunately I haven't yet have time to test the new 3.0 upstream before uploading the new version! Thanks, Guido
Conny Brunnkvist
2006-Jul-06 15:17 UTC
[Pkg-xen-devel] xen linux-image packages; initrd.img
Thomas Schwinge skrev:> This might be a FAQ, but I didn't manage to find an answer somewhere: why > doesn't the linux-image-2.6.16-2-xen-686 (at least that one; that's the > one I installed) create a accompanying initrd.img, but the user has to do(...)> why isn't a stanza added to /boot/grub/menu.lst added > automatically?Isn't that because of the non-standard way that Xen images have to be defined in grub/menu.lst? One could make a guess that adding an option to the postinst-script that tells "this is a special xen-dom0 image" is something that is to be delegated to maintainers of the "kernel-package" package. :o)> (Like me, having troubles with the version of > initramfs-tools from testing, resolved by upgrading that one to > unstable's version.)That's how I run half of my Xen hosts. Alteratively you can probably download the minimal compatible set of initramfs-tools/makedev/udev/(and other required) packages from backports.org and make a mix-matched system, if for some reason you want to avoid upgrading your libc6. //conny
Thomas Schwinge
2006-Jul-23 10:05 UTC
[Pkg-xen-devel] xen linux-image packages; initrd.img
Hello! On Wed, Jul 19, 2006 at 09:10:19AM +0100, Alastair McKinstry wrote:> Thomas Schwinge wrote: > > I fixed some bugs and did some further improvements; please consider the > > attached patch. There would be -- at least in my opinion -- a lot more > > to refactor in update-grub, but I stopped at this point.Attached is an updated patch against the Debian grub svn repository.> > Remaining question: > > > > * Is it wise to have the Xen entries _after_ the non-Xen entries in > > GRUB's menu.lst? (Think w.r.t. booting without a connected terminal, but > > still having a non-Xen kernel installed for whatever reasons.) > > Reasonable point. Ok.I did that change in the attached patch.> > * Is it wise to not have update-grub create a ``single-user mode'' / > > ``recovery mode'' entry for Xen kernels? > > I hads omitted it because it cluttered the menu.lst menu: its easy to > have NxM menu item entries with N hypervisors and M kernels, > doubling that with recovery kernels quickly gets a huge menu, > which is mostly pointless given the ability with grub to so in and > create a 'recovery entry' as necessary. But this is a matter of > personal taste I'll leave for upstream maintainers.I agree, so I didn't implement that functionality. I've also worked in Marco Nenciarin's suggestion of having the options for the Xen hypervisor configurable (which I had already prepared in my previous patch). On Thu, Jul 20, 2006 at 03:51:20PM +0200, Marco Nenciarini wrote:> The previous patch only apply on already patched (with first patch) > update-grubCorrect. My work is based on the Debian grub svn repository, so that the Debian maintainers can apply it easily. Regards, Thomas