Main Menu

Search

HTML - Home - ABOUT TARBOTS


Welcome to tarbots.com
... AI Search Assistant

This site has articles which provides information on everyday commands, procedures & scripts for DevOps & Infrastructure technologies which will be very useful for System Admin, DevOps, CloudOps, Network Admins and any teams or individuals working on Infrastructure technologies.

CLICK HERE to learn more about tarbots.com


Technologies Covered In This Site

HTML - HOME - RECENT ARTICLES TITLE


Recent Articles


LINUX: Example Kickstart Installation File UEFI Boot Mode and Root Partition as LVM (Logical Volume) For Linux 8 (GitHub)

Refer to below Github link for example kickstart Installation File UEFI Boot Mode and Root Partition as LVM (Logical Volume) For Linux 8


Above Kickstart installation file works for Oracle Linux 8, Redhat Linux 8 (RHEL8) and Rocky Linux 8.


Keywords

install installation installs installations Linux8 OL8 OracleLinux OEL8 RHEL8 RockyLinux UEFI bios bootmode boot-mode booting logicalvolume lvm pv logical volumes volume partitions 


PROXMOX - How to Boot VM (Virtual Machine) into a BIOS mode in Proxmox?

For booting VM (Virtual Machine) into a BIOS mode in Proxmox, follow below steps:

1. Open the Console of the VM in Proxmox BUI.

2. Reset the VM.

3. Immediately Hit the Esc button.

You will see the BIOS, firmware settings screen as follows:

























Make the changes as needed, and then once done, save and hit Esc button, and the VM will resume regular boot.



Keywords

booting boot bootup starting start startup machines vm vms virtual machine BIOS mode setting settings device devices firmware host


PROXMOX: How To Increase Initial Boot / Startup Screen Default Time In Console For VM (To Get to BIOS, Firmware & Other Device Settings)?

Below are steps to Increase Initial Boot / Startup Screen Default Time In Console For VM (To Get to BIOS, Firmware & Other Device Settings) in Proxmox Virtual Environment

1. Identify the ID of the VM, for e.g. 101

2. On the Proxmox Host, go to /etc/pve/qemu-server directory and look for VM ID conf file.

ls -lrt /etc/pve/qemu-server/*
-rw-r----- 1 root www-data 589 Dec 11 12:15 /etc/pve/qemu-server/100.conf
-rw-r----- 1 root www-data 626 Dec 12 13:30 /etc/pve/qemu-server/101.conf

3. Edit the VM ID conf file and update the args as follows shown in bold large. In this example splash-time of 20000 is milliseconds which is 20 seconds

agent: 0
args: -boot menu=on,splash-time=20000 -vnc 0.0.0.0:15
bios: ovmf
boot: order=scsi0;ide2;net0
cores: 2
cpu: host,flags=+nested-virt
efidisk0: virt-storage:101/vm-101-disk-0.qcow2,efitype=4m,size=528K
ide2: virt-storage:iso/OracleLinux-R8-U10-x86_64-dvd.iso,media=cdrom,size=13501M
memory: 16024
meta: creation-qemu=10.1.2,ctime=1765512295
name: workstation
net0: virtio=BC:24:11:A2:F0:54,bridge=vmbr0
numa: 0
onboot: 1
ostype: l26
scsi0: local-lvm:vm-101-disk-0,iothread=1,size=300G
scsihw: virtio-scsi-single
smbios1: uuid=0adb148a-fe05-4382-99d8-587e82c06b4b
sockets: 4
vmgenid: 0b91ff8b-f416-408e-972e-a58067730966


Keywords:

virtual machine virtualmachine bios screen esc f2 f10 f12 del bootup booting boot screen screens setup VM machines server servers enable enabling 

PODMAN: How To Configure Podman Container Instance As System Unit Service To Autorestart When the Host OS Reboots

Please find the steps below for enabling the podman container instance to auto restart when the OS is rebooted.

1) list the podman instances to get the container ID and name. 

podman ps -a

For e.g. below output

# podman ps -a
CONTAINER ID  IMAGE           COMMAND   CREATED        STATUS     PORTS       NAMES
45782651b66d  localhost/ock-ostree:latest nginx -g daemon o...  2 minutes ago  Up 2 minutes           0.0.0.0:8080->80/tcp    ock-content-server

2) Configure the podman container instance as service and enable the service. 

For this use below steps.

2(a) Create systemd file for podman container instances. In below command replace the name with container ID and os-tree-podman.service with the service name of choice.

podman generate systemd --new --name 9596fff2a7b1>/etc/systemd/system/ostree-podman.service

Above command will create a file /etc/systemd/system/ostree-podman.service

2(b) Restart the system daemon

systemctl daemon-reload

2(c) Enable the newly created podman container system unit file.

systemctl enable ostree-podman.service

2(d) List the system unit files 

systemctl list-unit-files | grep -i podman

You should see the newly created podman container system unit file and it should be enabled. For e.g. below output

# systemctl list-unit-files | grep -i podman
ostree-podman.service  enabled  


3) Reboot the host and  validate that the podman container instances is auto restarted.

For veirfying this, run below command.

podman ps -a


Keywords

Configuring setting up setup autorestart auto-restart service unit files files containers instances operating system rebooting reboots reboot restart restarting restarts os