TransWikia.com

How to install CentOS 8 from disk withoud USB/DVD

Super User Asked by mhrsalehi on November 24, 2021

I have 2 hard disk and in disk number (2) I have a partition with size 10 GB. now I want to write the CentOS ISO image file to this partition and boot my system and install the OS into the disk number (1). is it possible? (of course It is!) how should I write this image so that I can boot from this partition?

my system is EFI (not legacy).

One Answer

Since you're using EFI boot, you can simply extract the ISO image to any FAT32 partition and boot it. EFI doesn't use any hidden data such as bootsectors, it's only relying on presence of some files in filesystem hierarchy.

On Linux the ISO can be mounted and its content copied to destination. On Windows I'm using 7-Zip for this purpose. Don't use Windows's ISO mounting feature - some ISOs are crafted to be read slightly differently by Windows and files extracted this way won't be bootable.

Unfortunately some ISOs aren't compatible with this trick, but there's no harm in trying.

Answered by gronostaj on November 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP