Installing CentOS7/RHEL7 from YUMI

It seem like CentOS7/RHEL7 is slightly different from CentOS6/RHEL6, when trying to install from USB with multiple boot images (eg YUMI).

CentOS7/RHEL7 require “inst.stage2″^^1 to be specific, and the default from the ISO file is “inst.stage2=hd:LABEL=CentOS\x207\x20x86_64” or “inst.stage2=hd:LABEL=RHEL-7.3\x20x86_64”. This will need to be amend to reflect the correct LABEL of the usb.

How to find out the LABEL for your USB? You can refer to here. But to save your time (since you found this instead of that):
1. Boot into Linux
2. Assume your USB is on /dev/sda, and the first partition contain your multiboot:
blkid /dev/sda1

ls /dev/disk/by-label

Example of the label on my USB is “MULTIBOOT”, therefore I need to change the “inst.stage2” to:


which will load the stage2 image from /dev/sda1/multiboot/CentOS-7

^^1 – This specifies the location to fetch only the installer runtime image; packages will be ignored.

^^2 – More info on the Boot options from here.



About seTAN

Just a simple guy who loved his iOS games and apps, and love Open Source Technology, and sharing knowledge along the way :D
This entry was posted in Linux and tagged , , , , , . Bookmark the permalink.

11 Responses to Installing CentOS7/RHEL7 from YUMI

  1. Hi,
    I assume you talk about the “inst.stage2” reference in \multiboot\CentOS-7-x86_64-DVD-1611\EFI\BOOT\grub.cfg!?
    This did not work for me (same error). Any thoughts?

  2. shadantan says:

    Yes, it is “inst.stage2”.
    You will need to find out the label of your USB drive (/dev/sda1) by checking it in Linux Environment Shell (BASH):
    # blkid /dev/sda1

    or in Windows Environment (Command prompt):
    c:\> vol f:
    # Note: assuming your USB drive is “F” in Windows.

    Then you need to replace the “inst.stage2” in your isolinux folder. My example here is F:\multiboot\rhel-workstation-7.3\isolinux\isolinux.cfg:
    label linux
    menu label ^Install Red Hat Enterprise Linux 7.3
    kernel vmlinuz
    append live_dir=/multiboot/rhel-workstation-7.3/LiveOS initrd=initrd.img inst.stage2=hd:LABEL=MULTIBOOT:/multiboot/rhel-workstation-7.3/ quiet

    Hope the above help you in some ways.

  3. Hi,
    Now the setup is starting correctly but I still can’t install the OS because “Installation Source” is saying “Error setting up base repository” so I can’t begin installation (it asks me to select in ISO but there is none, because yumi is unpacking the installation files).
    The same lines with “inst.stage2” can be found in the grub.cfg file also. I tried to change there too, no luck.

    • shadantan says:

      Most of my YUMI ISO image is just the bare minimum boot ISO, which will need to point to a base repository for installation. I haven’t done a full ISO installation (CentOS-7-x86_64-Everything*.iso or rhel-workstation-7.3-x86_64-dvd.iso) because of the size of my USB drive (4GB).
      So, I am guessing you are using full ISO which contain the base installation files?

      • dalexandrescu says:

        Yes, actually the dvd version. But since yumi recommends to use FAT32 for compatibility with multiple applications and FAT32 is limited to max 4gb files they are unpacking the ISO (which is bigger for centos7-dvd) and put the individual files on the stick. I actually tried quite a few alternatives to yumi and only one worked (I don’t remember which) but I need it to work with yumi since all the other apps were installed with it (about 15-20 bootable apps/installers).

      • shadantan says:

        I am not sure whether you have try YUMI, as it seem now they have 2 type of CentOS: CentOS Live and CentOS Installer. Using “CentOS Installer” will boot from the ISO (as it was booting from DVD), and therefore you should be able to do the full installation from YUMI. I will try to test it out.
        Hope you already found solution to your problem!

      • seTAN says:

        It seem it is because of the limitation of FAT32 for single files (8GB) from the USB drive.
        YUMI will give you a warning about the file (iso) cannot be copy into the usb drive when it is formatted as FAT32, but it still will show it as completed and you can see the option when you boot the USB.

        Hope this help you in some ways.

        Thank you

  4. dalexandrescu says:

    I used and no, I did not solved the problem yet. I used other ways around the problem but would be nice to finally solved it. If you succeed please report back, I’ll do the same if I find the time to try it.

  5. dalexandrescu says:

    I tried all of them, including Rufus. Only one was able to make centos installer work but I don’t remember which one.Anyway, that’s irrelevant since I want this installer to work from the same stick made with YUMI (to use a single usb stick for everything).

    • shadantan says:

      Totally understand your view. I, too, am trying to put all my common ISO images into 1 YUMI. Anyway, I don’t have a big enough usb pendrive to put the entire CentOS image into YUMI to test it.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s