Menu

Oracle VM 2.2.0: error running mkinitrd

Help
Josep Cols
2012-10-16
2012-10-21
  • Josep Cols

    Josep Cols - 2012-10-16

    Hi:
    I've tried to make a raid (raider -R1) on a Oracle VM 2.2.0 machine: a red-hat like linux + xen based on linux 2.6.18-128.2.1.4.9.el5xen distro.
    All worked ok, but, at mkinitrd fails (and I'm not able to boot from md disk):
    The error is (I attach whole log,):

    Create initram filesystem and install GRUB in /dev/sdb [#554:step2]
    mkinitrd -f --preload=raid1 2.6.18-128.2.1.4.9.el5xen [#555:step2]
    Enter in chroot system... [#561:step2]
    usage: mkinitrd [--version] [--help] [-v] [-f] [--preload <module>]</module>
    [--force-ide-probe] [--force-scsi-probe | --omit-scsi-modules]
    [--image-version] [--force-raid-probe | --omit-raid-modules]
    [--with=<module>]</module> [--force-lvm-probe | --omit-lvm-modules]
    [--builtin=<module>]</module> [--net-dev=<interface>]</interface>
    [--without-usb] [--without-multipath] [--without-dmraid]
    [--fstab=<fstab>]</fstab> [--nocompress] <initrd-image> <kernel-version></kernel-version></initrd-image>

       (ex: mkinitrd /boot/initrd-2.2.5-15.img 2.2.5-15)
    

    Error_chroot_mkinitrd

    Thanks

     

    Last edit: Josep Cols 2012-10-16
  • Josep Cols

    Josep Cols - 2012-10-21

    Hello:
    After modifed raider, I've run the phase 1 OK.
    Initrd was generated usin cmd:
    mkinitrd -f --preload=raid1 /boot/initrd-2.6.18-128.2.1.4.9.el5xen.img 2.6.18-128.2.1.4.9.el5xen
    .
    But when I try to boot from 2nd disk:
    -- grub loads OK.
    --An error occurs:
    Error 19: Linux kernel must be loaded before initrd
    .
    And I'm unable to boot the system.
    .
    So, I think than Oracle VM Linux is unsupoted.
    .
    Thanks

     

    Last edit: Josep Cols 2012-10-21

Log in to post a comment.

MongoDB Logo MongoDB