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)

Note: Universal USB Installer only supports ISO files up to a maximum size of 4 GiB, which can be exceeded by some openSUSE DVD images. In this case, use UNetbootin for Windows as described below.

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
  1. Figure out which drive is your USB stick you wish to overwrite
$ ls -l /dev/disk/by-id/usb*
  1. 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 )
  1. Unplug and replug the USB stick to have OpenSUSE automount /dev/sdc1
  2. Run unetbootin with environment variable to avoid UI bug
 $ sudo QT_X11_NO_MITSHM=1 unetbootin
  1. Select 'Diskimage' radio button
  2. Click ... and open previously downloaded iso file
  3. Select Type: 'USB Drive' is not already selected
  4. Select Drive: '/dev/sdX' if not already selected
  5. Click OK
  6. Exit unetbootin
  7. 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" radio button
  4. Select "ISO" file type
  5. Click {{Key| ... } and open previously downloaded *.iso file
  6. Select device Type: "USB Drive"
  7. Select Drive: "Letter/Name of your USB stick" if not already selected
  8. Click OK

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

Done!


Ventoy

We do not recommend using Ventoy as users regularly experience boot issues.


These seem to be caused by invalid boot parameters which get added by Ventoy. Removing them seems to fix it. We recommend users to use one of the supported alternatives above, as we can't guarantee what's in the 3rd party made image.

Example for boot parameters which break installation/start of openSUSE:

 rdinit=/vtoy/vtoy

Instructions:

Guide to use Ventoy on Linux [1] Guide to use Ventoy on Windows [2]


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.