Difference between revisions of "USB Media Creation"

From SuperX Documentation and Help
Jump to navigation Jump to search
m (Fixed hierarchy)
m
Line 15: Line 15:
  
 
=====Using dd=====
 
=====Using dd=====
Warning: This will irrevocably remove ALL your existing on the existing drive. To restore the USB drive, the ISO 9660 fs signature needs to be removed by running <code>wipefs --all /dev/sdx</code> as the root user, before repartitioning the USB drive.
+
Warning: This will irrevocably remove ALL your existing on the existing drive. To restore the USB drive, the ISO 9660 fs signature needs to be removed by running <code>wipefs --all /dev/sdX</code> as the root user, before repartitioning the USB drive.
  
 
Step 1: First off, find your device name with lsblk and make sure it's not mounted.
 
Step 1: First off, find your device name with lsblk and make sure it's not mounted.
  
 
Step 2: <code>dd bs=4M if=path/to/SuperX_OS.iso of=/dev/'''sdX''' status=progress oflag=sync</code>
 
Step 2: <code>dd bs=4M if=path/to/SuperX_OS.iso of=/dev/'''sdX''' status=progress oflag=sync</code>
 +
 +
Replace X with the drive letter as seen in <code>lsblk.</code> Do not specify a partition letter, e.g. /dev/sdc1.
  
 
=====Using Etcher=====
 
=====Using Etcher=====

Revision as of 19:59, 27 January 2019

This page will discuss various methods on how to create a SuperX OS Installer USB Drive in multiple platforms for booting in UEFI and BIOS systems. The result will be a live USB that can be used for installing SuperX OS, system maintenance, or for rescue purposes.

Downloading SuperX OS

You can download SuperX OS from <link>.

Live Image Media Verification

Do NOT forget to verify the md5sum of your downloaded ISO with the one that is available at <link>.

Creating and Using a Live USB

You can write the SuperX OS ISO image to a USB stick, making this a convenient way on any USB-bootable computer to either install SuperX OS or try a live SuperX OS environment without writing to the computer’s hard disk. You will need a USB stick at least as large as the image you wish to write.

Using automated tools

In GNU/Linux

Using dd

Warning: This will irrevocably remove ALL your existing on the existing drive. To restore the USB drive, the ISO 9660 fs signature needs to be removed by running wipefs --all /dev/sdX as the root user, before repartitioning the USB drive.

Step 1: First off, find your device name with lsblk and make sure it's not mounted.

Step 2: dd bs=4M if=path/to/SuperX_OS.iso of=/dev/sdX status=progress oflag=sync

Replace X with the drive letter as seen in lsblk. Do not specify a partition letter, e.g. /dev/sdc1.

Using Etcher

Etcher is a OS Image flashing tool built with node.js and Electron and is capable of flashing a USB Drive, or SDCard.

Step 1: Select the image to be written.

Step 2: Select the destination drive.

Step 3: Flash!

<screenshot>

In Windows

Using Etcher

Step 1: Download Etcher.

Step 2: Select the image to be written.

Step 3: Select the destination drive.

Step 4: Flash!

<screenshot>

Booting from a Live USB

Almost all modern PCs can boot from USB sticks. However, how you tell the system to boot from a USB stick varies significantly from system to system. Initially, you can try this:

  1. Power off the computer.
  2. Plug the USB drive into a USB port.
  3. Remove all other portable media, such as CDs, DVDs, floppy disks or other USB sticks.
  4. Power on the computer.
  5. If the computer is configured to automatically boot from the USB drive, you will see a screen that says "Automatic boot in 10 seconds…​" with a countdown. If you do a native UEFI boot, you will see a rather more minimal boot menu.

If the computer starts to boot off the hard drive as normal, you’ll need to manually configure it to boot off the USB drive. Usually, that should work like this:

  1. Wait for a safe point to reboot.
  2. As the machine starts to reboot, watch carefully for instructions on which key to press. Usually a function key, Escape, Tab or Delete is to be pressed to enter the boot device selection menu, BIOS setup, firmware, or UEFI. Press and hold that key. If you miss the window of opportunity, often only a few seconds, then reboot and try again.
  3. Use the firmware, BIOS, interface or the boot device menu to put your USB drive first in the boot sequence. It might be listed as a hard drive rather than a removable drive. Each hardware manufacturer has a slightly different method for doing so.
  4. Save the changes, exit, and the computer should boot from the USB drive.