Centos – Is it possible to install CentOS (7) on a USB drive

bootcentosisousbusb-drive

We all know we can create bootable USB with Rufus and live ISO like LiveGNOME ISO file, but in my experience it can't save settings and data which means it'll reset to default value every time you reboot it.

So I'm thinking: is it possible to act USB as an computer hard drive if it got enough I/O speed and storage? If yes, then is it possible in install CentOS in the USB using DVD/everything ISO by selecting USB as the drive in the installation process? Also, will it modify the things on other drive in the installation process to the USB drive? Last, can we boot the CentOS on other computer using the USB stick with the settings we've set on previous computer?


I know it might looks like I have a few questions in this question but basically I just want to know if can we install CentOS on USB like the normal way we install on computer with DVD/everything ISO file?

Best Answer

Yes you can install centos in USB drive. Don't install it in the same USB disk which you're using as installer. Use separate usb disk as installer and installation. Or you can keep the installer in a CD disk.

Select boot drive properly while using the CentOS installed in the usb. You may install bootloader into the usb drive to make it bootable and select it as first boot drive. Otherwise skip bootloader installation in the usb drive and make a proper enty in grub configuration of your existing Linux system in hard drive

Installation procedure is same as installing in hard deive. It's better to install in a USB 3 drive for better performance.

Related Question