VirtualTam's bookmarks
10 bookmarks found
Page 1 of 1
-
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!
-
-
- https://help.ubuntu.com/lts/serverguide/NTP.html
- https://wiki.archlinux.org/index.php/Systemd-timesyncd
- https://bbs.archlinux.org/viewtopic.php?id=182172
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812522;msg=17
- https://askubuntu.com/questions/280421/ubuntu-inside-virtual-machine-ntpd-or-ntpdate-or-to-avoid-clock-drift
- https://superuser.com/questions/938926/systemd-timesyncd-service-start-fails
- https://superuser.com/questions/688127/how-to-correctly-sync-time-in-linux-running-as-virtual-guest-after-host-resumes
-
Windows Workstation - Survival Kit™ (2017)
2017-05-18 Chocolatey package manager
Cmder terminal emulator and shell / cmd / msys session manager
MSYS2 POSIX / MinGW collection
- http://www.msys2.org/
- https://github.com/msys2/msys2/wiki
- https://github.com/Alexpux/MSYS2-pacman
- https://chocolatey.org/packages/msys2
Vagrant VM provisioning
VirtualBox VM engine
Page 1 of 1