Page 1 of 1

Centos8-Stream Live- Installation steps for creating Live external/disk partition

Posted: 2019/10/03 06:49:51
by addmin
The Centos Stream 8 is around 8+ GB. If not using USB one can use a disk partition as Live disk to install.
Here we focus on steps for preparing a live disk partition for installing/upgrading to centos8/ centos8-stream
1. Download Centos8 / Centos8-Stream iso from nearby Centos mirror https://www.centos.org/download/ - around 8.6GB ( use torrent or wget to continue in case of network outage )
2. Attach a external hard disk. Creating a bootable partition in internal hard disk should also work.
3. If using entire disk one can use command dd to install to disk.
dd will install bootloader in bootsector of the entrie disk. Skip steps 4 and 5 if following this step.

Code: Select all

dd if=CentOS-8-x86_64-1905-dvd1.iso of=/dev/sdb
4. If using a disk partition use the following command( from centos 7)

Code: Select all

yum install unetbootin 

or download unetbootin from https://unetbootin.github.io/.
5. Launch unetbootin and select appropriate disk partition ( in form /dev/sdbX) and downloaded iso to install CentOS8/CentOSstream. unetbootin will create bootsector and install bootloader in desired partition and will set bootable flag to it.
6. Reboot.
7. Upon reboot press Alt-F2 (some systems may have F8) at start to enter BIOS menu. Set boot priority to EFI external disk, save and reboot.
8. When booted for an EFI installation, the options will appear as below:
If using entire disk skip below part and proceed to boot option Install Centos Linux 8.0.1905.
If using disk paritition like /dev/sdbX - Select option Install Centos Linux 8.0.1905 and press 'e' to enter edit mode.
Edit second line by replacing LABEL=CentOS Linux 8.0.1905 by /dev/sdaX ( use sdaX instead of sdbX where it was
initially installed as, since it has changed from being external (secondary) disk to being bootable (primary) disk . Normally the naming conventions of most BIOS and OS set sda to primary and sdb to secondary ) i.e change

Code: Select all

linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS Linux 8.0.1905 quiet
to

Code: Select all

linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:/dev/sdaX quiet
If above change is not made one may get the error dracut-initqueue[669]: Warning: /dev/root does not exist
9. Press Ctrl-X to save grub command line changes and boot.
10.Now follow the anaconda installer options to install with either lvm or standard partition, software selection and network options. The default option is server with GUI where one can pickup many other add-on installations.
11.One can then use this partition as Live USB or LiveCD.

Post Installation:
12.

Code: Select all

yum update
or

Code: Select all

dnf update
13. Install gnome-tweaks to customize resolution , font and folder size .
14. Add epel repo by

Code: Select all

yum install epel-release
15. Follow viewtopic.php?f=54&t=72075 to enable epel-playground repo and support ntfs.