...
Code Block |
---|
qemu-img create -f qcow2 -o preallocation=metadata nyttimage.qcow2 6G8G virt-resize --expand /dev/sda1 originalimage.img nyttimage.qcow2 # Dette kødder til partisjonstabellen i imaget; såeh.. virt-rescue nyttimage.qcow2 mkdir /mnt mount /dev/sda3 /mnt mount --bind /dev /mnt/dev mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys chroot /mnt grub-install /dev/sda |
...