home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Creating a bootable USB on a Linux system

Perform the following steps to create a bootable USB ISO image on a Linux system by using the dd command line utility.

  1. Insert the USB key.
    The USB mounts automatically. Output similar to the following appears:
    [22244334.455519] usb 3-1: new high-speed USB device number 31 using 
    xhci_hcd [22244334.589073] usb 3-1: New USB device found, 
    idVendor=13fe,
    idProduct=4200
    [22244334.589080] usb 3-1: New USB device strings: Mfr=1, Product=2,
    SerialNumber=3
    [22244334.589083] usb 3-1: Product: Patriot Memory [22244334.589086] 
    usb
    3-1: Manufacturer:
    [22244334.589089] usb 3-1: SerialNumber: 90005AF4CC168649 
    [22244334.589624] usb-storage 3-1:1.0: USB Mass Storage device detected 
    [22244334.590004] scsi10 : usb-storage 3-1:1.0
    [22244335.589084] scsi 10:0:0:0: Direct-Access              Patriot Memory
      PMAP PQ: 0 ANSI: 6
    [22244335.589517] sd 10:0:0:0: Attached scsi generic sg2 type 0 
    [22244336.963543] sd 10:0:0:0: [sdb] 60626944 512-byte logical blocks:
    (31.0 GB/28.9 GiB)
    [22244336.963844] sd 10:0:0:0: [sdb] Write Protect is off 
    [22244336.963851] sd 10:0:0:0: [sdb] Mode Sense: 23 00 00 00 
    [22244336.964082] sd 10:0:0:0: [sdb] No Caching mode page found 
    [22244336.964089] sd 10:0:0:0: [sdb] Assuming drive cache: write through
    [22244336.968993] sdb: sdb1   
    [22244336.970988] sd 10:0:0:0: [sdb] Attached SCSI removable disk
    
  2. Locate the partition name in dmesg or in the system logs.
    In the example output, the sdb: sdb1 message indicates that the disk partition is sdb1.
  3. Enter the following command to locate the mounted partition:
    hostname:~$ mount |grep sdb1
    Output similar to the following appears:
    /dev/sdb1 on /media/user/myusb type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
  4. Enter the following command to unmount the partition:
    hostname:~$ sudo umount /dev/sdb1 
  5. Enter the following command to verify the disk has been unmounted:
    hostname:~$ mount |grep sdb1
  6. Download the vRouter ISO software image by using your Ciena Portal account.
  7. Enter dd to create a bootable USB ISO image.
    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.

    The dd command has the following syntax.

     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-2009-base.iso of=/dev/sdb1
    Output similar to the following appears:
    hostname:~$ sudo dd bs=4M  if=Vyatta-2009.base.iso of=/dev/sbd1
    128+1 records in
    128+1 records out
    538968064 bytes (539 MB, 514 MiB) copied, 9.04746 s, 59.6 MB/s
    hostname:~$
  8. Remove and reinsert the USB disk and automatically mount (auto-mount) the USB disk to verify that the copy operation was successful.
  9. Auto-mount the USB disk to verify it is readable. For example, enter the following command:
    hostname~$ mount |grep sdb1
    
    You see output similar to the following:
    /dev/sdb1 on /media/user/2009 type iso9660 (ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048,uid=1000,gid=1000,dmode=500,fmode=400,uhelper=udisks2)
  10. Browse the mounted file system to view the ISO files. Enter commands similar to the following:
    hostname:~$ cd /media/user/2009
    hostname:~$ ls boot  EFI  efi.img  isolinux  live  md5sum.txt  sha256sum.txt
    hostname:~$ 
  11. Enter the following command to unmount the disk before removing it:
    hostname:~$ sudo umount /dev/sdb1