Page MenuHomePhabricator

Cloning
Updated 2,148 Days AgoPublic

Version 5 of 30: You are viewing an older version of this document, as it appeared on Jul 2 2018, 10:04 AM.

Cloning a New Drive

  1. Restart the and machine and boot it to PXE Ubuntu.
  2. Login with ecc-admin.
  3. Get sudo privillages (Password at K11).
sudo -i
  1. Go to root home directory
cd /root/
  1. Run clone script.
./clone.sh

Manually Cloning a New Drive

  1. Restart the and machine and boot it to PXE Ubuntu.
  2. Login with ecc-admin.
  3. Get sudo privillages (Password at K11).
  4. Mount tinkerbell if it is not mounted
mount tinkerbell.engr.unr.edu:/exports/netboot/root/var/local /mnt
  1. cd into cloning folder
cd /mnt/clone
  1. copy partion table onto drive
dd if=mbr/mbr.bin of=/dev/sda
  1. Copy over boot partition
dd if=ecc-qemu-p1.img of=/dev/sda1 bs=4M
  1. Copy over root partiton
ntfsclone -r -O /dev/sda2 common/ecc-qemu-p4.ntfs
  1. Resize the partition
ntfsresize -ff
  1. Reboot! 😄
reboot
Last Author
igrant
Last Edited
Jul 2 2018, 10:04 AM

Event Timeline

apasinski edited the content of this document. (Show Details)
apasinski edited the content of this document. (Show Details)
mabellatan edited the content of this document. (Show Details)
mabellatan edited the content of this document. (Show Details)
amcintyre changed the title from Cloning to Cloning using Netboot.Nov 5 2020, 11:52 AM
amcintyre edited the content of this document. (Show Details)
amcintyre changed the title from Cloning to Cloning using Netboot.Nov 5 2020, 11:55 AM
amcintyre edited the content of this document. (Show Details)
amcintyre published a new version of this document.
amcintyre changed the title from Cloning using Netboot to Cloning.Nov 5 2020, 11:57 AM
amcintyre edited the content of this document. (Show Details)