User:Intgr
Stuff...
# Default to Python 2 cd /usr/local/bin ln -fs ../../bin/python2 python # Edit /etc/cron.daily/atop # add "exit 0" to prevent from running # Ugly fonts ln -s ../conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/ # ln -sf urandom /dev/random
QEMU direct boot initrd image
This generates a separate initcpio image on the host machine for QEMU virtual machines using direct boot. Use qemu -kernel /boot/vmlinuz-linux -initrd /boot/initramfs-linux-virt.img
Create /etc/mkinitcpio.virt
MODULES="virtio-pci virtio-blk virtio-net virtio-rng" HOOKS="base udev autodetect filesystems"
Edit /etc/mkinitcpio.d/linux.preset
[...] PRESETS=('default' 'fallback' 'virt') [...] virt_config="/etc/mkinitcpio.virt" virt_image="/boot/initramfs-linux-virt.img"
Next time you upgrade the kernel, the "virt" initramfs will be automatically updated.
To update manually, run:
mkinitcpio -k /boot/vmlinuz-linux -c /etc/mkinitcpio.virt -g /boot/initramfs-linux-virt.img