Changes

Jump to navigation Jump to search
no edit summary
Line 30: Line 30:     
  # virt-install -v --accelerate --nographics --vcpus 2 --name lightwave --ram 1024 --os-type linux --os-variant=ubuntu20.04 --network bridge:br0 --disk vol=boot/lightwave-boot.img,bus=virtio --disk vol=nvme-pool/lightwave-root,bus=virtio --import
 
  # virt-install -v --accelerate --nographics --vcpus 2 --name lightwave --ram 1024 --os-type linux --os-variant=ubuntu20.04 --network bridge:br0 --disk vol=boot/lightwave-boot.img,bus=virtio --disk vol=nvme-pool/lightwave-root,bus=virtio --import
 +
 +
The VM will boot and probably fail to mount the root because the UUID changed.
 +
You can fix this by dropping into grub the usual way:
 +
 +
* press ESC before the kernel starts
 +
* press e to edit a menu entry
 +
* modify the kernel command line (for example, root=/dev/vdb)
 +
* hit ctrl-x to boot
    
=== How to migrate a file-based guest to LVM (online method) ===
 
=== How to migrate a file-based guest to LVM (online method) ===

Navigation menu