On 03/05/2013 05:39 PM, Roberto Fichera wrote: > On 03/05/2013 04:55 PM, Konrad Rzeszutek Wilk wrote: >> On Tue, Mar 05, 2013 at 04:08:30PM +0100, Roberto Fichera wrote: >>> On 03/05/2013 01:14 PM, M A Young wrote: >>>> On Tue, 5 Mar 2013, Roberto Fichera wrote: >>>> >>>>> I'm trying to boot Ubuntu 12.04 LTS precise i386 as domU after a clean installation on Fedora F17 and/or F18 dom0 >>>>> fully updated. >>>>> VmError: (2, 'Invalid kernel', 'elf_xen_note_check: ERROR: Will only load images built for the generic loader or >>>>> Linux images') >>>> It seems that pygrub doesn't like your guest kernel (or possibly is failing to download them). Do you know what file >>>> format Ubuntu uses for these kernels? >>> Looks a normal vmlinuz image >>> >>> [root@storage dev]# file /mnt/boot/vmlinuz-3.2.0-38-generic >>> /mnt/boot/vmlinuz-3.2.0-38-generic: Linux kernel x86 boot executable bzImage, version 3.2.0-38-generic (buildd@akateko) >>> #61-Ubuntu SMP Tue Feb 19 12:, RO-rootFS, swap_dev 0x4, Normal VGA >> It might be that pygrub picks something else - not the vmlinuz but say multiboot.c32. >> >> If you run pygrub -i <the disk image> and pick the right menu option - what does the command spit out? > pyGRUB version 0.6 > ┌────────────────────────────────────────────────────────────────────────┐ > │ Ubuntu, with Linux 3.2.0-38-generic │ > │ Ubuntu, with Linux 3.2.0-38-generic (recovery mode) │ > │ Memory test (memtest86+) │ > │ Memory test (memtest86+, serial console 115200) │ > │ │ > │ │ > │ │ > │ │ > └────────────────────────────────────────────────────────────────────────┘ > Use the ^ and ┴ keys to select which entry is highlighted. > Press enter to boot the selected OS, 'e' to edit the > commands before booting, 'a' to modify the kernel arguments > before booting, or 'c' for a command line. > > then terminate with: > > Using <class 'grub.GrubConf.Grub2ConfigFile'> to parse /boot/grub/grub.cfg > WARNING:root:Unknown directive load_video > WARNING:root:Unknown directive terminal_output > WARNING:root:Unknown directive else > WARNING:root:Unknown directive else > WARNING:root:Unknown directive else > WARNING:root:Unknown directive else > WARNING:root:Unknown directive else > WARNING:root:Unknown directive export > WARNING:root:Unknown image directive recordfail > WARNING:root:Unknown image directive gfxmode > WARNING:root:Unknown image directive recordfail > WARNING:root:Unknown image directive linux16 > WARNING:root:Unknown image directive linux16 > WARNING:root:Unknown directive else > WARNING:root:Unknown directive else > WARNING:root:Unknown directive source > linux (kernel /var/run/xend/boot/boot_kernel.uTenpi)(ramdisk /var/run/xend/boot/boot_ramdisk.3D1f0E)(args > "root=UUID=e4aca1a8-2267-4709-99d5-557b9c49cda2 ro quiet splash $vt_handoff")[root@vserver4 bacula]# > > > looks like it isn't detecting grub2, right? I've found the reason of my problem. Basically it seems that the installed kernel isn't the required "-virtual" but instead the "-generic" one. So, during the installation I have selected to manually install the right kernel package once requested by the installer. Thus everything went ok. > > >>>> Michael Young >>>> >>> -- >>> xen mailing list >>> xen@xxxxxxxxxxxxxxxxxxxxxxx >>> https://admin.fedoraproject.org/mailman/listinfo/xen > -- > xen mailing list > xen@xxxxxxxxxxxxxxxxxxxxxxx > https://admin.fedoraproject.org/mailman/listinfo/xen -- xen mailing list xen@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/xen