1 Reply Latest reply on Oct 2, 2011 3:14 PM by msavy

    CentOS 5 / grub / EC2

    pchambers

      I'm trying to build with CentOS 5 on EC2 and get the following.  I'm guessing /sysroot/boot not existing is related to grub not liking /dev/loop3.  Beyond that I have no idea.  Suggestions or workarounds?

       

      D, [2011-09-30T11:22:37.253916 #15185] DEBUG -- : Installing grub to /dev/loop3

      D, [2011-09-30T11:22:37.333842 #15185] DEBUG -- : Probing devices to guess BIOS drives. This may take a long time.

      D, [2011-09-30T11:22:37.341821 #15185] DEBUG -- : Unknown partition table signature

      D, [2011-09-30T11:22:37.374191 #15185] DEBUG -- : Installing: pm-utils ##################### [223/223]

      D, [2011-09-30T11:22:37.374372 #15185] DEBUG -- :

      D, [2011-09-30T11:22:37.374463 #15185] DEBUG -- : GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

      D, [2011-09-30T11:22:37.374564 #15185] DEBUG -- :

      D, [2011-09-30T11:22:37.374660 #15185] DEBUG -- : [ Minimal BASH-like line editing is supported. For the first word, TAB

      D, [2011-09-30T11:22:37.374765 #15185] DEBUG -- : lists possible command completions. Anywhere else TAB lists the possible

      D, [2011-09-30T11:22:37.374855 #15185] DEBUG -- : completions of a device/filename.]

      D, [2011-09-30T11:22:37.374956 #15185] DEBUG -- : grub> device (hd0) /dev/loop3

      D, [2011-09-30T11:22:37.375044 #15185] DEBUG -- : grub> root (hd0,1)

      D, [2011-09-30T11:22:37.375133 #15185] DEBUG -- :

      D, [2011-09-30T11:22:37.375220 #15185] DEBUG -- : Error 18: Selected cylinder exceeds maximum supported by BIOS

      D, [2011-09-30T11:22:37.375318 #15185] DEBUG -- : grub> setup --stage2=/mnt/angel-boxgrinder-appliances/CentOS/build/appliances/i686/centos/5/CentOS-lamp/1.0/centos-plugin/tmp/imgcreate-TLX3x5/install_root/boot/grub/stage2 --prefix=/grub  (hd0)

      D, [2011-09-30T11:22:37.375409 #15185] DEBUG -- :

      D, [2011-09-30T11:22:37.375510 #15185] DEBUG -- : Error 12: Invalid device requested

      D, [2011-09-30T11:22:37.375600 #15185] DEBUG -- : grub> quit

      .

      .

      .

      D, [2011-09-30T10:00:21.829537 #14111] DEBUG -- : Preparing guestfs...

      set_memsize 300

      set_append "noapic"

      set_selinux true

      set_qemu "/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.7/lib/boxgrinder-build/helpers/qemu.wrapper"

      add_drive_with_if "build/appliances/i686/centos/5/CentOS-lamp/1.0/centos-plugin/tmp/CentOS-lamp-sda.raw" "ide"

      D, [2011-09-30T10:00:21.842283 #14111] DEBUG -- : Launching guestfs...

      launch

      list_devices

      list_partitions

      list_partitions

      vfs_type "/dev/hda1"

      vfs_type "/dev/hda2"

      mount_options "" "/dev/hda1" "/"

      set_e2label "/dev/hda1" "79d3d2d4"

      mount_options "" "/dev/hda2" "/boot"

      F, [2011-09-30T10:01:57.674963 #14111] FATAL -- : Guestfs::Error: mount_options: /dev/hda2 on /boot: mount: mount point /sysroot/boot does not exist

        • 1. Re: CentOS 5 / grub / EC2
          msavy

          Hi,

           

          Our latest (and supported) BoxGrinder Build releases are only verified on Fedora 14+ at present. You can still build a CentOS appliance using a Fedora host in the same manner, so there are no limitations in that regard.

           

          Marc