-
Notifications
You must be signed in to change notification settings - Fork 3
Installing from Image USB
Max Dietz edited this page Aug 22, 2014
·
15 revisions
- Insert 32 GB USB into drive.
- Hold F2 on boot to boot into the USB drive. The BIOS options page will appear. If you get the message about load previous values you can select yes or no, it doesn't matter. Then go to the boot menu and select the 3rd boot device, it should be called
hp 1.0
or something similar. - While booting, you will have to press
s
to skip mounting when the error about the swap drive appears. - After cmdr starts, press
CTRL+ALT+F1
to get to the login screen. - Login with user
cmdr
and the password. - Run
sudo dd if=/dev/sdb of=/dev/sda
. This will take about 40 minutes. - After the command finishes, restart the box and remove the USB drive.
- Run
ifconfig
, if you see an ethernet device (i.e.eth0
), continue at the next step, otherwise runifconfig -a
and note the number next to the eth device, you should see eithereth0
oreth1
. Runsudo vim /etc/network/interfaces
and replace the name of the eth device with the correct one. - Run
sudo vim /etc/couchdb/default.ini
and delete line 16 that mentions/var/run/couchdb/couch.uri
. - Set the hostname and inventory the device like described in https://github.com/wesleyan/cmdr/wiki/Deploying-a-new-cmdr-controller.
- Restart the box.
- Change the MAC Address of the room by going to the CouchDB room and changing it to that of the ethernet device.
- Reboot and you're set.