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

or
ls /dev/disk/by-label

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

inst.stage2=hd:LABEL=MULTIBOOT:/multiboot/CentOS-7

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.

 

Advertisements

About shadantan

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.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s