Create installation USB stick

Jump to: navigation, search
USB sticks are reusable and bootable media. If you have no writable DVD disk, you can write openSUSE installation image into a USB stick.


Requirements

Download installation images

You need to download a DVD or Network installation image (ISO file) before creating the installation USB stick.

See Portal:Installation.

A large capacity USB stick

To write DVD images, your USB stick must have at least 5 GB storage space.

To write Network images, your USB stick must have at least 100 MB storage space.

NOTE: All data in the USB stick will be erased! Backup all contents before writing the images.

A working PC

You need a working PC to run the bootable USB creation tool. ImageWriter can be run on openSUSE. UNetbootin can be run on other Linux distributions, Microsoft Windows and Apple macOS.

Create bootable USB stick

Imagewriter (openSUSE)

Imagewriter screenshot.png

  1. Open YaST --> Software Management
  2. Search and install "imagewriter" package
  3. Open "SUSE Studio Imagewriter"
  4. Select downloaded image (*.iso file)
  5. Select the USB device
  6. Click "Write" button

It takes several minutes or longer, depending on image size and hardware performance.

Done!

Universal USB Installer (Windows)

Universal USB Installer screenshot.png

  1. Download Universal USB Installer (GPLv2)
  2. Run it. You will see a simple application window.
  3. Select Linux distribution "openSUSE".
  4. Select downloaded image.
  5. Select the USB device.
  6. Click "Create" button.

It takes several minutes or longer, depending on image size and hardware performance.

Done!

UNetbootin (OpenSUSE)

  1. Install unetbootin via zypper
    • sudo zypper install unetbootin
  2. Figure out which drive is your USB stick you wish to overwrite
    • ls -l /dev/disk/by-id/usb*
  3. Wipe out the partition table of your USB stick to avoid issues with existing contents
    • sudo parted
      1. select /dev/sdc ( if your usb stick is /dev/sdc )
      2. p ( to print existing partitions )
      3. rm 1 ( to remove first partition )
      4. mklabel gpt ( to wipe device and make it GPT )
      5. mkpart primary ext4 1 -1 ( fill entire USB drive with ext4 partition )
      6. set 1 boot on ( make the new partition bootable )
      7. quit
    • mkfs.ext4 /dev/sdc1 ( build the filesystem of the newly created partition )
  4. Unplug and replug the USB stick to have OpenSUSE automount /dev/sdc1
  5. Run unetbootin with environment variable to avoid UI bug
    • sudo QT_X11_NO_MITSHM=1 unetbootin
  6. Select 'Diskimage' radio button
  7. Click "..." and open previously downloaded iso file
  8. Select Type "USB Drive" is not already selected
  9. Select Drive of your USB device if not already selected
  10. Click 'OK'
  11. Exit unetbootin
  12. Eject the USB drive from UI, or run 'umount /dev/sdc1' to umount files

UNetbootin (Other Linux, Windows, Mac)

UNetbootin screenshot.jpg

  1. Download UNetbootin (GPLv2)
  2. Run it
  3. Select "Diskimage" creating option
  4. Select "ISO" file type
  5. Select downloaded *.iso file
  6. Select device type "USB Drive"
  7. Select device name of your USB stick
  8. Click "OK"

It takes several minutes or longer, depending on image size and hardware performance.

Done!

Boot from USB stick

  1. Plug your the USB stick into computer.
  2. Boot or reboot system.
  3. Press F12 and enter boot menu when you see BIOS interface. Quickly! (Some computers use Esc, F8, F10 for boot menu, you should see it on BIOS screen)
  4. Select your USB stick in the boot menu
  5. Press Enter

System will restart and boot from the USB stick. Then you can follow the normal DVD installation instructions.