Skip to content

Installing from Image USB

Max Dietz edited this page Aug 22, 2014 · 15 revisions
  1. Insert 32 GB USB into drive.
  2. 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.
  3. While booting, you will have to press s to skip mounting when the error about the swap drive appears.
  4. After cmdr starts, press CTRL+ALT+F1 to get to the login screen.
  5. Login with user cmdr and the password.
  6. Run sudo dd if=/dev/sdb of=/dev/sda. This will take about 40 minutes.
  7. After the command finishes, restart the box and remove the USB drive.
  8. Run ifconfig, if you see an ethernet device (i.e. eth0), continue at the next step, otherwise run ifconfig -a and note the number next to the eth device, you should see either eth0 or eth1. Run sudo vim /etc/network/interfaces and replace the name of the eth device with the correct one.
  9. Run sudo couchdb. If you encounter an error about a missing directory at /var/run/couchdb run sudo vim /etc/couchdb/default.ini and delete the line that mentions that directory.
  10. Set the hostname like described in the other wiki by editing /etc/hostname and /etc/hosts.
  11. Change the MAC Address of the room by going to the CouchDB room and changing it to that of the ethernet device.