![]() export VAGRANT_EXPERIMENTAL=disksįinally, start the virtual machine using the following command (make sure you're in the same directory as the Vagrantfile): vagrant up Once the Vagrantfile is in place, set the environment variable VAGRANT_EXPERIMENTAL to disks. Make sure you have Vagrant and VirtualBox installed. Or if you'd like, you can use wget or curl to download the file from my gist. nfigure "2" do |config|ģ.times Ĭonfig.vm.provider :virtualbox do |machine| This virtual machine has three additional disks that you and I can use for the command examples below.Ĭreate a directory somewhere in your filesystem and save the following in a file there, named Vagrantfile. To help you with that I already have prepared a simple Vagrantfile that you can use to spin up a very light virtual machine with VirtualBox. For that, I recommend you use a virtual machine. I'll be showing actual command examples along the way and the best way to learn something is to work with it, hands-on. If you've ever experienced the horror of partition resizing, you'd wanna use LVM. ![]() It abstracts away all the ugly parts (partitions, raw disks) and leaves us with a central storage pool to work with. The main advantage of LVM is how easy it is to resize a logical volume or volume group. Physical volumes do not have any direct counterpart, but I'll talk about that soon. The well-known alternative to GRUB, systemd-boot on the other hand reads only vfat filesystems, so that's not going to work either.Īlthough the list consists of three components, only two of them are direct counterparts to the partitioning system. That is because GRUB (the most common bootloader for Linux) can't read from logical volumes. ![]() One exception to the previous statement is that you can not use logical volumes for /boot.
0 Comments
Leave a Reply. |