This process applies to the installation of GGC software images for the following devices:
- GGC servers
- GGC routers (Google provided and managed networking devices)
Requirements
- USB removable media device. Sizes from 2GB to 16GB are supported
- A PC or laptop
- Software for flashing the install image onto the USB media
If you’re reinstalling a GGC server you can find the latest setup image in the ISP Portal. The GGC server installation image can be re-used for multiple installations.
The image for GGC routers is provided by GGC Support and is tailor-made for each specific device.
Create the USB boot stick on Windows
The instructions below use Win32DiskImager, a free third-party tool for burning images onto USB media.
- Download the latest version of Win32DiskImager.
- Complete the Win32DiskImager install process.
- Insert the USB stick. Wait until all appropriate drivers are installed, if necessary.
- Run Win32DiskImager.
- Select the downloaded image file.
- Select the USB drive as the device.
- Select "Write".
- Wait for Win32DiskImager to complete, and remove the USB stick.
Create the USB boot stick on Mac
- Open a terminal.
- Insert the USB stick. A new device (for example,
/dev/disk2s1
) will appear. - Enter this command to check if a partition on the device is mounted:
$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/disk1 112Gi 33Gi 78Gi 30% /
devfs 203Ki 203Ki 0Bi 100% /dev
map auto.auto 0Bi 0Bi 0Bi 100% /auto
map auto.home 0Bi 0Bi 0Bi 100% /home
map -hosts 0Bi 0Bi 0Bi 100% /net
/dev/disk2s1 7.5Gi 1.5Gi 6.0Gi 21% /Volumes/Cruzer
- Unmount the USB stick:
$ diskutil umount /Volumes/Cruzer
Volume Cruzer on disk2s1 unmounted
- Verify it is no longer listed:
$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/disk1 112Gi 33Gi 78Gi 30% /
devfs 201Ki 201Ki 0Bi 100% /dev
map auto.auto 0Bi 0Bi 0Bi 100% /auto
map auto.home 0Bi 0Bi 0Bi 100% /home
map -hosts 0Bi 0Bi 0Bi 100% /net
- This command creates the bootable USB stick. It will ask for your password, and then copy the image to the USB stick.In this example the USB stick is device /dev/disk2.
$ sudo dd if=/path/to/downloaded/image.img of=/dev/disk2 bs=1m
-
After this command has completed, the USB stick can be removed.
Create the USB boot stick on Linux
- Open a terminal.
-
Insert the USB stick. A new device will appear (for example,
/dev/sdb
). Check the device name usingdmesg
:$ dmesg
usb 1-4: new high speed USB device using ehci_hcd and address 5
scsi7 : usb-storage 1-4:1.0
scsi 7:0:0:0: Direct-Access Kingston DataTraveler G3 1.00 PQ: 0 ANSI: 0 CCS
sd 7:0:0:0: Attached scsi generic sg2 type 0
sd 7:0:0:0: [sdb] 7567964 512-byte logical blocks: (3.87 GB/3.60 GiB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 0b 00 00 08
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] Attached SCSI removable disk
In this example, the USB device is/dev/sdb
but this may vary on your system. - Make sure no partition on this device is mounted by entering the command "
mount | grep /dev/sdb
". It should not return any output. If it does, unmount the partition(s). For example:$ mount | grep /dev/sdb
/dev/sdb1 on /media/DEBIAN_LIVE type vfatIn this example, the partition
/dev/sdb1
is mounted. To unmount the partition, enter this command:$ sudo umount /dev/sdb1
Followed by this command:
$ mount | grep /dev/sdb
It should return no output, meaning no partition on this device is mounted. - Enter this command to create the bootable USB stick. In this example, the USB stick is device
/dev/sdb:
$ sudo dd if=/path/to/downloaded/image.img of=/dev/sdb bs=1M
- After this command has completed, you can remove the USB stick.