Interactively installing RHEL from installation media Red Hat Enterprise Linux 8 Installing RHEL on a local system using the graphical installer Red Hat Customer Content Services

Commands:
dmesg|tail
su -
dmesg|tail [288954.686557] usb 2-1.8: New USB device strings: Mfr=0, Product=1, SerialNumber=2 [288954.686559] usb 2-1.8: Product: USB Storage [288954.686562] usb 2-1.8: SerialNumber: 000000009225 [288954.712590] usb-storage 2-1.8:1.0: USB Mass Storage device detected [288954.712687] scsi host6: usb-storage 2-1.8:1.0 [288954.712809] usbcore: registered new interface driver usb-storage [288954.716682] usbcore: registered new interface driver uas [288955.717140] scsi 6:0:0:0: Direct-Access Generic STORAGE DEVICE 9228 PQ: 0 ANSI: 0 [288955.717745] sd 6:0:0:0: Attached scsi generic sg4 type 0 [288961.876382] sd 6:0:0:0: sdd Attached SCSI removable disk
dd if=/image_directory/image.iso of=/dev/device
dd if=/home/testuser/Downloads/rhel-8-x86_64-boot.iso of=/dev/sdd
diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.3 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_CoreStorage 400.0 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3 4: Apple_CoreStorage 98.8 GB disk0s4 5: Apple_Boot Recovery HD 650.0 MB disk0s5 /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: Apple_HFS YosemiteHD *399.6 GB disk1 Logical Volume on disk0s1 8A142795-8036-48DF-9FC5-84506DFBB7B2 Unlocked Encrypted /dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *8.1 GB disk2 1: Windows_NTFS SanDisk USB 8.1 GB disk2s1
diskutil unmountDisk /dev/disknumber Unmount of all volumes on disknumber was successful
sudo dd if= /Users/user_name/Downloads/rhel-8-x86_64-boot.iso of= /dev/rdisk2 bs= 512K status= progress
mokutil --import /usr/share/doc/kernel-keys/USD(uname -r)/kernel-signing-ca.cer
mokutil --reset
virt-install --name=<guest_name> --disk size=<disksize_in_GB> --memory=<memory_size_in_MB> --cdrom <filepath_to_iso> --graphics vnc
>vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=RHEL-9-5-0-BaseOS-x86_64 rd.live.check quiet fips=1
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=RHEL-9-4-0-BaseOS-x86_64 rd.live. check quiet fips=1
modprobe.blacklist=ahci
oscap xccdf eval --profile ospp --report eval_postinstall_report.html /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml
subscription-manager register --activationkey= <activation_key_name> --org= <organization_ID>
The system has been registered with id: 62edc0f8-855b-4184-b1b8-72a9dc793b96
subscription-manager syspurpose role --set "VALUE"
subscription-manager syspurpose role --set "Red Hat Enterprise Linux Server"
subscription-manager syspurpose role --list
subscription-manager syspurpose role --unset
subscription-manager syspurpose service-level --set "VALUE"
subscription-manager syspurpose service-level --set "Standard"
subscription-manager syspurpose service-level --list
subscription-manager syspurpose service-level --unset
subscription-manager syspurpose usage --set "VALUE"
subscription-manager syspurpose usage --set "Production"
subscription-manager syspurpose usage --list
subscription-manager syspurpose usage --unset
subscription-manager syspurpose --show
man subscription-manager
subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Current System Purpose Status: Matched
subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Disabled Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status. System Purpose Status: Disabled
subscription-manager unregister
vmlinuz ... inst.debug
cd /tmp/pre-anaconda-logs/
dmesg
[ 170.171135] sd 5:0:0:0: [sdb] Attached SCSI removable disk
mkdir usb
mount /dev/sdb1 /mnt/usb
cd /mnt/usb
ls
cp /tmp/*log /mnt/usb
umount /mnt/usb
cd /tmp
scp *log user@address:path
scp *log john@192.168.0.122:/home/john/logs/
The authenticity of host '192.168.0.122 (192.168.0.122)' can't be established. ECDSA key fingerprint is a4:60:76:eb:b2:d0:aa:23:af:3d:59:5c:de:bb:c4:42. Are you sure you want to continue connecting (yes/no)?
curl --output directory-path/filename.iso 'new_copied_link_location' --continue-at -
sha256sum rhel-x.x-x86_64-dvd.iso `85a...46c rhel-x.x-x86_64-dvd.iso`
curl --output _rhel-x.x-x86_64-dvd.iso 'https://access.cdn.redhat.com//content/origin/files/sha256/85/85a...46c/rhel-x.x-x86_64-dvd.iso?_auth =141...963' --continue-at -
grubby --default-kernel /boot/vmlinuz-4.18.0-94.el8.x86_64
grubby --remove-args="rhgb" --update-kernel /boot/vmlinuz-4.18.0-94.el8.x86_64
df -h
Filesystem Size Used Avail Use% Mounted on devtmpfs 396M 0 396M 0% /dev tmpfs 411M 0 411M 0% /dev/shm tmpfs 411M 6.7M 405M 2% /run tmpfs 411M 0 411M 0% /sys/fs/cgroup /dev/mapper/rhel-root 17G 4.1G 13G 25% / /dev/sda1 1014M 173M 842M 17% /boot tmpfs 83M 20K 83M 1% /run/user/42 tmpfs 83M 84K 83M 1% /run/user/1000 /dev/dm-4 90G 90G 0 100% /home
free -m
mem= xx M
free -m
grubby --update-kernel=ALL --args="mem= xx M"
Enable=true
systemctl restart gdm.service
X :1 -query address
Xnest :1 -query address
inst.rescue inst.dd=driver_name
inst.rescue modprobe.blacklist=driver_name
The rescue environment will now attempt to find your Linux installation and mount it under the directory: /mnt/sysroot/. You can then make any changes required to your system. Choose 1 to proceed with this step. You can choose to mount your file systems read-only instead of read-write by choosing 2 . If for some reason this process does not work choose 3 to skip directly to a shell. 1) Continue 2) Read-only mount 3) Skip to shell 4) Quit (Reboot)
sh-4.2#
sh-4.2# chroot /mnt/sysroot
sh-4.2# mount -t xfs /dev/mapper/VolGroup00-LogVol02 /directory
sh-4.2# fdisk -l
sh-4.2# chroot /mnt/sysroot/
sh-4.2# sosreport
bash-4.2# ip addr add 10.13.153.64/23 dev eth0
sh-4.2# exit
sh-4.2# cp /mnt/sysroot/var/tmp/sosreport new_location
sh-4.2# scp /mnt/sysroot/var/tmp/sosreport username@hostname:sosreport
sh-4.2# chroot /mnt/sysroot/
sh-4.2# /sbin/grub2-install install_device
sh-4.2# chroot /mnt/sysroot/
sh-4.2# yum install /root/drivers/xorg-x11-drv-wacom-0.23.0-6.el7.x86_64.rpm
sh-4.2# exit
sh-4.2# chroot /mnt/sysroot/
sh-4.2# yum remove xorg-x11-drv-wacom
sh-4.2# exit
ip=192.168.1.15 netmask=255.255.255.0 gateway=192.168.1.254 nameserver=192.168.1.250 hostname=myhost1
ip=192.168.1.15::192.168.1.254:255.255.255.0:myhost1::none: nameserver=192.168.1.250
inst.xtimeout= N
[ ...] rootfs image is not initramfs
sha256sum dvd/images/pxeboot/initrd.img fdb1a70321c06e25a1ed6bf3d8779371b768d5972078eb72b2c78c925067b5d8 dvd/images/pxeboot/initrd.img
grep sha256 dvd/.treeinfo images/efiboot.img = sha256: d357d5063b96226d643c41c9025529554a422acb43a4394e4ebcaa779cc7a917 images/install.img = sha256: 8c0323572f7fc04e34dd81c97d008a2ddfc2cfc525aef8c31459e21bf3397514 images/pxeboot/initrd.img = sha256: fdb1a70321c06e25a1ed6bf3d8779371b768d5972078eb72b2c78c925067b5d8 images/pxeboot/vmlinuz = sha256: b9510ea4212220e85351cbb7f2ebc2b1b0804a6d40ccb93307c165e16d1095db
[ ...] No filesystem could mount root, tried: [ ...] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) [ ...] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.14.0-55.el9.s390x #1 [ ...] [ ...] Call Trace: [ ...] ([<...>] show_trace+0x.../0x...) [ ...] [<...>] show_stack+0x.../0x [ ...] [<...>] panic+0x.../0x [ ...] [<...>] mount_block_root+0x.../0x [ ...] [<...>] prepare_namespace+0x.../0x [ ...] [<...>] kernel_init_freeable+0x.../0x [ ...] [<...>] kernel_init+0x.../0x [ ...] [<...>] kernel_thread_starter+0x.../0x [ ...] [<...>] kernel_thread_starter+0x.../0x...
inst.stage2=https://hostname/path_to_install_image/ inst.noverifyssl
inst.repo=https://hostname/path_to_install_repository/ inst.noverifyssl
inst.stage2.all inst.stage2=http://hostname1/path_to_install_tree/ inst.stage2=http://hostname2/path_to_install_tree/ inst.stage2=http://hostname3/path_to_install_tree/
[PROTOCOL://][USERNAME[:PASSWORD]@]HOST[:PORT]
inst.nosave=Input_ks,logs
ifname=eth0:01:23:45:67:89:ab
vlan=vlan5:enp0s1
bond=bond0:enp0s1,enp0s2:mode=active-backup,tx_queues=32,downdelay=5000
team=team0:enp0s1,enp0s2
bridge=bridge0:enp0s1,enp0s2
modprobe.blacklist=ahci,firewire_ohci
modprobe.blacklist=virtio_blk