Creating a Bootable USB Drive from on Linux
Before starting this process, ensure that the capacity of your USB drive is at least 4 GB.
To
create a bootable USB drive from on Linux:
- Download the D2000 or D6000 image from MOS.
-
Copy the image on
the USB drive.
Doing this, destroys all existing data on the USB drive.
-
Insert the USB
drive into the computer and run the
dmesg|tail
command.[4317966.832947] usb 4-1: new SuperSpeed USB device number 39 using xhci_hcd [4317966.845892] usb 4-1: New USB device found, idVendor=0951, idProduct=1666 [4317966.845893] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [4317966.845894] usb 4-1: Product: DataTraveler 3.0 [4317966.845895] usb 4-1: Manufacturer: Kingston [4317966.845896] usb 4-1: SerialNumber: E0D55EA57419E3C139680956 [4317966.848319] usb-storage 4-1:1.0: USB Mass Storage device detected [4317966.848421] scsi host6: usb-storage 4-1:1.0 [4317967.863955] scsi 6:0:0:0: Direct-Access Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6 [4317967.864524] sd 6:0:0:0: Attached scsi generic sg4 type 0 [4317967.864606] sd 6:0:0:0: [sdd] 60604416 512-byte logical blocks: (31.0 GB/28.9 GiB) [4317967.864790] sd 6:0:0:0: [sdd] Write Protect is off [4317967.864792] sd 6:0:0:0: [sdd] Mode Sense: 45 00 00 00 [4317967.864972] sd 6:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
-
In this case, the
device name is
"sdd"
, and will be referenced by Linux as“/dev/sdd”
. -
If Linux has been
configured to auto-mount USB devices, unmount the partitions on the drive. Run
the
“df”
command to detect the status of the partitions of the drive:In this example, the second partition of /dev/sdd is mounted and must be unmounted. In your case there may be no mounts on the USB or more.
df Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 16416036 0 16416036 0% /dev /dev/mapper/ol_lobi7u6-root 52403200 37842328 14560872 73% / /dev/sda1 1038336 427060 611276 42% /boot /dev/mapper/ol_lobi7u6-home 164415040 112140980 52274060 69% /home /dev/sdd2 2755604 2389404 222896 92% /run/media/oracle/USBBoot
-
To unmount the
partition on the drive, run the command:
umount /run/media/oracle/USBBoot.
-
Run the
df
command again to make sure that there are no mounts matching your USB device name (/dev/sdd
in the example.) - Insert the USB drive. At this point, the USB drive is ready to receive the image.
-
gunzip the
downloaded USB raw image file.
gunzip d6000v1_OS_7_0_1_0_0_GA_02282020_OS_52_GA_05022019_R8_2_1_0_0_GA_01282020.raw.gz
-
Burn the image,
copy the USB raw image file to the USB device.
In the example, the USB device is identified as
dev/sdd
. This command requires root access and is prefixed with “sudo”.sudo cp d6000v1_OS_7_0_1_0_0_GA_02282020_OS_52_GA_05022019_R8_2_1_0_0_GA_01282020.raw /dev/sdd
The USB
burn process on a USB3 device can take 15 minutes. It may take a longer time if
the device or port is USB2. After the process is complete, you can remove the
USB. It is ready for use.