Transform Your USB Key Into a Powerful Multiboot LiveCD Toolkit

Introduction Ever needed to boot multiple operating systems or utilities from a single USB drive? Whether you’re a DevOps engineer managing servers, a sysadmin troubleshooting machines, or a tech enthusiast experimenting with different Linux distros, a multiboot USB is an invaluable tool. Instead of juggling multiple flash drives, you can consolidate multiple ISOs into one portable device. In this guide, we’ll explore how to create a multiboot USB key using GRUB and MultiBoot USB, allowing you to boot various LiveCD ISOs seamlessly. ...

2025-05-21 · G2G

Mount ISO file on MACOS

how to mount an iso file on MACOS ? 1[[ -d tmp ]] && mkdir tmp 2hdiutil attach -nomount debian-12.2.0-arm64-netinst.iso && \ 3 mount -t cd9660 /dev/disk5 ./tmp/

2023-11-14 · G2G

Increase VM ZVOL for TrueNAS

… to resize Debian VM Logical Volume Resize Linux VM’s LLVM Virtual Disk on a ZVOL for TrueNAS Increase Zvol via UI increase ZFS disk size in TrueNAS UI Storage tab > edit your zvol > modify “Size for this zvol” field value > Save Resize disk resize Debian VM disk 1reboot 2# fdisk mode 3apt install gdisk -y 4cfdisk /dev/sda # extends /dev/sda5 partition > write > quit 5# parted mode 6parted /dev/sda # print > resizepart 2 100% (extended) > resizepart 5 100% (logical) > quit 7# for both 8pvresize /dev/sda5 9pvs 10lvs 11lvextend --resizefs serv0-vg/root /dev/sda5 source

2022-10-06 · G2G

Fix libvirt network create error with vagrant

when vagrant up `create': Call to virD omainCreateWithFlags failed: Network not found: no network with matching name 'vagrant-libvirt' (Libvirt::Error) fix it 1cat<<EOF> /var/tmp/vagrant-libvirt.xml 2<!-- 3WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE 4OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: 5 virsh net-edit default 6or other application using the libvirt API. 7--> 8 9<network> 10 <name>vagrant-libvirt</name> 11 <uuid>17f365b0-4da6-4f19-91b6-c4dde30d6ac0</uuid> 12 <forward mode='nat'/> 13 <bridge name='virbr1' stp='on' delay='0'/> 14 <mac address='52:54:00:0f:4f:10'/> 15 <domain name='kvm' localOnly='yes'/> 16 <ip address='192.168.122.1' netmask='255.255.255.0'> 17 <dhcp> 18 <range start='192.168.122.2' end='192.168.122.254'/> 19 </dhcp> 20 </ip> 21</network> 22EOF 23virsh net-define /var/tmp/vagrant-libvirt.xml 24virsh net-start vagrant-libvirt 25virsh net-autostart vagrant-libvirt 26virsh net-list 27brctl show create libvirt network

2022-09-11 · G2G

Fix error symbol grub_calloc not found

… by restoring GRUB for crypted disks After system update and reboot, GRUB failed with this error symbol 'grub_calloc' not found. fix it with these commands 1fsck /dev/nvme0n1p* 2efibootmgr -c --disk /dev/nvme0n1 3efibootmgr -v /dev/nvme0n1 check in your BIOS if EFI boot is always configured (link to /boot/efi/EFI/arch/grubx64.efi) in bonus, if you want to mount your crypted system 1cryptsetup open /dev/nvme0n1p3 data 2pvs 3vgs 4vgchange -ay 5lsblk -fs 6mount /dev/mapper/arch-root /mnt/ 7mount /dev/mapper/arch-home /mnt/home/ 8mount /dev/nvme0n1p2 /mnt/boot/ 9mount /dev/nvme0n1p1 /mnt/boot/efi/ # for UEFI systems 10arch-chroot /mnt GRUB by Archlinux Wiki

2020-09-08 · G2G

Detect virtualization technology used by the OS

detect virtualization technology 1dmidecode -s system-product-name || systemd-detect-virt source

2019-11-17 · G2G