Friday, 19 February 2016

New blog for Linux scripts and bits for fun

This is a small blog - from the same person as flosslinuxblog for snippets / one liners / commands I found useful and for differences between Debian and Red Hat derived distributions and commands

Install kvm with UEFI bios [Debian]

The non-free package you need is OVMF - which packages Intel's Tianocore UEFI implementation - and installs to /usr/share/ovmf/OVMF

Call it with something like the following

qemu-system-x86_64 -m 1024 -bios /usr/share/ovmf/OVMF.fd -hda /var/lib/libvirt/images/[image filename] -cdrom [path to iso image]

Building a .iso image from the command line [Debian]

mkisofs was the original solution: if you have files in a directory that need to be burned to a CD ( the example uses cd_dir and cd.iso as the output file name]

genisoimage -o cd.iso -R -J  cd_dir

[Includes Rock Ridge and Joliet extensions]