VirtualTam's bookmarks
87 bookmarks found
-
-
Paravirtual (PV) to Hardware Virtual Machine (HVM):
ENA support:
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena.html
- https://forums.aws.amazon.com/thread.jspa?threadID=166135
- https://aws.amazon.com/premiumsupport/knowledge-center/boot-error-linux-m5-c5/
- https://bugs.centos.org/view.php?id=14107
- https://ygrene.tech/how-to-enable-ena-support-for-aws-amis-in-5-steps-and-make-your-bamboo-remote-jobs-really-fast-f2a4254a9955
Build Debian AMIs from scratch:
- https://bootstrap-vz.readthedocs.io/en/master/
- https://github.com/andsens/bootstrap-vz
- https://www.slideshare.net/JamesBromberger/debian-cloud-building-the-debian-amis
- https://blog.james.rcpt.to/2012/12/06/official-debian-images-on-amazon-web-services-ec2/
Squeeze:
Wheezy:
- https://lists.debian.org/debian-cloud/2014/10/msg00009.html
- https://lists.debian.org/debian-cloud/2014/11/msg00000.html
Boot to chroot:
-
Spitfire Audio LABS - Virtual Instruments
2019-07-07 -
- https://www.theguild.nl/cost-saving-with-nat-instances/
- https://dzone.com/articles/nat-instance-vs-nat-gateway
- https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html
- https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
- https://aws.amazon.com/blogs/aws/new-managed-nat-network-address-translation-gateway-for-aws/
- https://dzone.com/articles/aws-vpc-nat-instance-failover
- https://aws.amazon.com/articles/high-availability-for-amazon-vpc-nat-instances-an-example/
-
Proxmox: Networking, Firewall, Security
2018-05-15 - https://pve.proxmox.com/wiki/Network_Configuration
- https://pve.proxmox.com/wiki/Firewall
- https://pve.proxmox.com/wiki/Fail2ban
- https://forum.proxmox.com/threads/how-to-implement-fail2ban-on-host.3583/
- https://forum.proxmox.com/forums/proxmox-ve-networking-and-firewall.17/
- https://myatus.com/p/guide-firewall-and-router-with-proxmox-extending-its-us/
- https://www.kiloroot.com/secure-proxmox-install-sudo-firewall-with-ipv6-and-more-how-to-configure-from-start-to-finish/
- https://blog.waccabac.com/gestion-du-pare-feu-de-proxmox-ve-4/
-
QEMU Advent Calendar 2016
2018-05-02 -
Vagrant and VirtualBox "NAT Network" adapter
2018-04-27 - https://github.com/hashicorp/vagrant/issues/2779
- https://github.com/hashicorp/vagrant/issues/6252
- https://github.com/hashicorp/vagrant/issues/7635
- https://www.virtualbox.org/manual/ch06.html
- https://www.vagrantup.com/docs/virtualbox/networking.html
- https://superuser.com/questions/1155262/network-interface-available-only-when-running-vm-through-virtualbox-but-not-thr
- https://unix.stackexchange.com/questions/29999/why-are-my-two-virtual-machines-getting-the-same-ip-address
-
Here are the steps I used to migrate a CentOS 7 VM from (presumably?) an ESXi server, to a local VirtualBox environment.
The LVM volumes were not detected at boot, and after the boot timeout, the OS fell back to the Dracut emergency shell.
- get a CentOS minimal installation CD
- check the VM's resources and peripherals:
- ensure there are no floppy drives (!)
- setup CPU and RAM resources
- check virtual drives
- add an SCSI optical drive if needed
- optional: convert the virtual drive images from VMDK to VDI
- mount the CentOS installation disc
- boot on the installation disc:
- select "Troubleshooting", then "Rescue"
- let the rescue utility detect filesystems and mountpoints
$ chroot
to the detected environment- backup files:
/etc/fstab
/boot/grub/grub.cfg
- under /boot, backup the initrd and initramfs for the current configuration (these will be overwritten)
- compare the current
/etc/fstab
with the output of$ lsblk
and$ blkid
- if needed, manually edit /etc/fstab to use the appropriate block device UUIDs, identifiers and mountpoints
- regenerate GRUB configuration:
$ grub2-mkconfig -o /boot/grub2/grub.cfg
- if needed, reinstall GRUB:
$ grub-install /dev/sda
- rebuild initrd:
$ mkinitrd --force /boot/<initrd_image> <kernel_version>
- rebuild initramfs:
$ dracut --force <kernel_version>
- exit the chroot
- unmount the installation disc
- reboot
- optional but highly recommended: cross your fingers
- ...
- profit!
-