Creating a bootable USB on a Macintosh system
Perform the following steps to create a bootable USB ISO image on a Macintosh system.
- Insert the USB key into a USB port on the Macintosh device.
- Determine the volume identifier by using the Macintosh Disk Utility.
My-MacBook-Air:~ user$ diskutil list
Output similar to the following appears:/dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *60.7 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_CoreStorage Macintosh HD 59.8 GB disk0s2 3: Apple_Boot Recovery HD 650.1 MB disk0s3 /dev/disk1 (internal, virtual): #: TYPE NAME SIZE IDENTIFIER 0: Macintosh HD +59.4 GB disk1 Logical Volume on disk0s2 E8E7EEBB-3613-4C27-8D17-C75323A01833 Unlocked Encrypted /dev/disk2 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *4.0 GB disk2 1: Apple_HFS 4G-USB 4.0 GB disk2s1
In the example,
disk2s1
is the USB drive volume identifier (/dev/disk2s1).Note: There is also a GUI version of Disk Utility. You can access it in Spotlight Search by typing disk utility in the search box. - Perform the following steps to unmount the disk.
- Enter the following command to locate the mounted partition:
My-MacBook-Air:~ user$ mount |grep disk2s1
Output similar to the following appears:/dev/disk2s1 on /Volumes/4G-USB (hfs, local, nodev, nosuid, journaled, noowners)
- Enter the following command to unmount the disk:
My-MacBook-Air:~ user$ diskutil umount /dev/disk2s1 Volume 4G-USB on disk2s1 unmounted My-MacBook-Air:~ user$
- Enter the following command to verify that the disk is unmounted:
My-MacBook-Air:~ user$ mount |grep disk2s1 My-MacBook-Air:~ user$
- Enter the following command to locate the mounted partition:
- Download the vRouter ISO software image by using your Ciena Portal account.
- Enter the following commands to create a bootable USB ISO image:
- Enter dd to create a bootable USB ISO image. The dd command has the following syntax. Note:
This step might take several minutes depending on the size of the ISO image. Note also that every call to dd erases all content previously installed on the output device.
dd bs=<block_size> if=<iso-filename> of=<usb-drive>
block_size—Increases the default block size, which makes the "burn" go faster.
iso-filename—Specifies the input file (ISO image file).
usb-drive—Specifies the USB drive.
For example, enter the following command:sudo dd bs=4m if=Vyatta-vrouter-2009-base.iso of=/dev/sdb1
- Enter dd to create a bootable USB ISO image. The dd command has the following syntax.
- To verify that the USB ISO image is correct, connect the USB key to a Linux system and browse the ISO and verify MD5 sums.