Page MenuHomePhabricator

4 to1 Split Setup
Updated 2,568 Days AgoPublic

Setup a new VM


mount tinkerbell.engr.unr.edu:/exports/netboot/root /mnt

lvcreate -L300G -n ecc-a-03 vg0

cd /var/local/ecc-qemu/

sfdisk --force /dev/mapper/vg0-ecc--a--03 < part.table

kpartx -av /dev/mapper/vg0-ecc--a--03

ntfsclone -r -O /dev/mapper/vg0-ecc--a--03p4 ecc-qemu-p4

parted /dev/mapper/vg0-ecc--a--03

ntfsclone -r -O /dev/mapper/vg0-ecc--a--03p1 ecc-qemu-p1

dd if=./ecc-qemu-p2 of=/dev/mapper/vg0-ecc--a--03p2

dd if=./ecc-qemu-p3 of=/dev/mapper/vg0-ecc--a--03p3

umount /mnt

mount /dev/mapper/vg0-ecc--a--03p4 /mnt

mv /mnt/Windows/SysWOW64/OneDriveSetup.exe /mnt/Windows/SysWOW64/OneDriveSetup.exe.orig

umount /mnt

ntfsresize -ff /dev/mapper/vg0-ecc--a--03p4

kpartx -dv /dev/mapper/vg0-ecc--a--03
Last Author
newellz2
Last Edited
Nov 9 2017, 1:25 PM

Event Timeline

newellz2 edited the content of this document. (Show Details)