Install Linux from USB, preparing USB drive to start a installation over net (Red Hat or Fedora)

More and more frequently, we can meet the need to install an OS (Red Hat or Fedora) on a physical server without DVD drive.

In these cases from the DVD ISO we can prepare a USB flash drive to perform a network installation.

The steps are:

  1. We mount the iso with:
    mount -o loop DVD.iso /mnt
  2. Assuming that the pendrive you have clicked on /dev/sdd, copy the image (eye that will erase everything you have):
    dd if=/mnt/images/efidisk.img of=/dev/sdd
  3. Umount the iso:
    umount /mnt

We have the pendrive ready to start.

Install Linux in text mode, forcing text mode installation (RedHat / Centos)

In some cases it is interesting to make the complete installation in text mode. Sometimes I have found it impossible to work with mouse (life seems to move) during setting of a machine in a Blade (do not know if it will be for the browser configuration or Blade …).

Anyway in these situations it is better to install in text mode and ready. This can be forced in the first welcome screen during installation, if we get above “Install or upgrade an existing system” and press tab appears:

vmlinuz initrd=initrd.img

Then we added at the end:

vmlinuz initrd=initrd.img text

And press return and gotten.