Version 2 vs 3
Version 2 vs 3
Edits
Edits
- Edit by • amcintyre, Version 3
- Nov 5 2020 4:53 PM
- Edit by • amcintyre, Version 2
- Nov 5 2020 12:00 PM
« Previous Change | Next Change » |
Edit Older Version 2... | Edit Older Version 3... |
Content Changes
Content Changes
==Cloning a Drive
1. Boot the machine. If machine does not automatically boot on the network, the boot order will need to be changed in BIOS. (Press F12 on a Dell system)
2. Select Onboard NIC(IPV4)
3. Select Debian Netboot
4. Login with ecc-admin.
5. Applications -> Utilities -> Terminal
6. Get sudo privileges by typing:
```lang=bash
$ sudo -i
```
7. Check list of drives connected to system:
```lang=bash
$ lsblk
```
8. Run clone_base_ng.sh
```lang=bash
$ ./clone_base_ng.sh -d $DRIVE
```
9. Wait until it reaches 100%
10. Once it reaches 100%, run sync to force-write all cached data to disk. This ensures that all data was properly written to disk.
```lang=bash
$ sync
```
11. Reboot
12. Login with .\ecc-admin
The following steps will make use of Netboot to install Windows. If the computer is not able to Netboot, refer to:
https://ph.engr.unr.edu/w/ecc/cloning/cloning_live_disk/
1. Boot the machine. If machine does not automatically boot on the network, the boot order will need to be changed in BIOS. (Press F12 on a Dell system)
2. Select Onboard NIC(IPV4)
3. Select Debian Netboot
4. Login with ecc-admin.
5. Applications -> Utilities -> Terminal
6. Get sudo privileges by typing:
```lang=bash
$ sudo -i
```
7. Check list of drives connected to system:
```lang=bash
$ lsblk
```
After choosing which drive to install on, run ONE of the scripts shown below depending on what the computer needs.
====Clean image install (with no engineering software)
8a. Run clone_base_ng.sh
```lang=bash
$ ./clone_base_ng.sh -d $DRIVE
```
====ECC image install (with all engineering software)
8b. Run clone.sh
```lang=bash
$ ./clone.sh -d $DRIVE
```
9. Wait until it reaches 100%
10. Once it reaches 100%, run sync to force-write all cached data to disk. This ensures that all data was properly written to disk.
```lang=bash
$ sync
```
11. Reboot the machine
==Cloning a DriveThe following steps will make use of Netboot to install Windows. If the computer is not able to Netboot, refer to:
https://ph.engr.unr.edu/w/ecc/cloning/cloning_live_disk/
1. Boot the machine. If machine does not automatically boot on the network, the boot order will need to be changed in BIOS. (Press F12 on a Dell system)
2. Select Onboard NIC(IPV4)
3. Select Debian Netboot
4. Login with ecc-admin.
5. Applications -> Utilities -> Terminal
6. Get sudo privileges by typing:
```lang=bash
$ sudo -i
```
7. Check list of drives connected to system:
```lang=bash
$ lsblk
```
8After choosing which drive to install on, run ONE of the scripts shown below depending on what the computer needs.
====Clean image install (with no engineering software)
8a. Run clone_base_ng.sh
```lang=bash
$ ./clone_base_ng.sh -d $DRIVE
```
====ECC image install (with all engineering software)
8b. Run clone.sh
```lang=bash
$ ./clone.sh -d $DRIVE
```
9. Wait until it reaches 100%
10. Once it reaches 100%, run sync to force-write all cached data to disk. This ensures that all data was properly written to disk.
```lang=bash
$ sync
```
11. Reboot
12. Login with .\ecc-admin the machine