Monday, 7 September 2015

Make bootable USB - Redhat Linux RHEL 7

You can make a bootable USB using Linux and Windows machines

Making installation USB media on windows

in order to make the RHEL 7 bootable media windows required a software, download by clicking on below download link

Download

After download the installer, you have to install the software

Installation process


click Next to Continue

 
Click on Install



Wait installation process will complete


Click on Next

 
 Click Finish and Run the Software.



 Click Create Live USB. The boot media creation process will begin. Do not unplug the drive until the Complete! message appears in the message box at the bottom. The process usually takes up to 15 minutes, depending on the drive's write speed, version of the USB specification and the size of the ISO image you used. 

 When the creation process finishes and the Complete! message appears, unmount the USB drive using the Safely remove hardware icon in the system's notification area.

The USB drive is now ready to be used as a boot device.

Make Installation USB media on Linux

Make sure your USB drive does not have any data. Before connecting to the server format it and Connect your USB Drive / Flash Drive to the Linux Server then execute 

~]#dmesg |grep removable

At the bottom of this log, you will see a set of messages caused by the USB flash drive you just connected. It will look like a set of lines similar to the following:

[ 170.171135] sd 5:0:0:0: [sdb] Attached SCSI removable disk

 Note the name of the connected device - in the above example, it is sdb.


Make sure that the device is not mounted. First, use the findmnt device command and the device name you found in the earlier steps.


findmnt will list all mounted filesystems or search for a filesystem.

~]#findmnt /dev/sdb

if you find nothing below this command, proceed...

if you find like below please unmount before you proceed for further step

~]# findmnt /dev/sdb
TARGET   SOURCE   FSTYPE  OPTIONS
/mnt/iso /dev/sdb iso9660 ro,relatime

~]#umount /mnt/iso

Now Use the dd command to write the installation ISO image directly to the USB device


~]# dd if=/home/aravi/rhel-server-7.1x86_64-boot.iso of=/dev/sdb bs=512k

Note: In above command do not provide partition number [ /dev/sdb1 ] just provide the disk path [ /dev/sdb ]

Wait until dd command should complete the data transfer to the USB media, if you see # after some time. 

unplug the USB device then use as a bootable media. 


Enjoy....

Please provide valuable comments...


8 comments:

  1. Note for Windows users: if method mention here fails, try Rufus. I tried to create Live USB stick for F22 (both server and workstation) but it fails. Server hangs during the boot while workstation could not write changes to MBR. Rufus saved my day. Now I'm happy againd using F22Ws at home and in the office

    ReplyDelete
  2. Plzzz give a download link of rhel 7 not from redhat because they are asking for subscription and I don't kniw how to get it

    ReplyDelete
  3. All these Stuff Fails when I tried to make bootable pen drive of Rhel 7 Instructor Source. Then I make it bootable with command line it works Awesome...

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Wow Fedora Live USB Creator Works for RHEL_7.2

    ReplyDelete
  6. RUFUS Rocks. works like a charm.
    Everything else sucked a lot (Fedora live USB creator, YUMI, LinuxLive USB Creator, ISO2OSB)

    ReplyDelete