Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

OpenSUSE documentation (https://en.opensuse.org/SDB:Live_USB_stick) explicitly states that unetbootin wont work. They recommend using ImageWriter, but I haven't found a version for Ubuntu.

How can I create a bootable USB stick for OpenSUSE from Ubuntu?

share|improve this question
2  
same link says to use the command line - did you follow those instructions? – fossfreedom Mar 25 at 10:09
    
@fossfreedom Note that I'm not trying to create a live USB stick. I just want to boot from the USB stick to install openSUSE. I read those instructions but it wasn't clear to me if they applied to the installation image as well as the live image. – becko Mar 25 at 10:14
up vote 4 down vote accepted

@fossfreedom Note that I'm not trying to create a live USB stick. I just want to boot from the USB stick to install openSUSE. I read those instructions but it wasn't clear to me if they applied to the installation image as well as the live image. – becko 10 mins ago

Yes, those instructions do apply to installation USB creation. You will need to know the block device path of your USB stick. Use lsblk to find that out. In this example I am using /dev/sdb but it could be anything else.

Ensure the usb stick is unmounted with

udisksctl unmount --block-device /dev/sdb

and burn the iso image to the USB

dd if=/path/to/downloaded.iso of=/dev/sdX bs=4M

For instance,

dd if=/home/xieerqi/Desktop/openSUSE-Leap-42.1-DVD-x86_64.iso of=/dev/sdb bs=4M  

The command will take a long time to complete, so, be patient. You can use this

dd if=/home/xieerqi/Desktop/openSUSE-Leap-42.1-DVD-x86_64.iso of=/dev/sdb bs=4M  && zenity --into --text="DONE"

to show a notification when the burning is over.

share|improve this answer
    
This seems to work. Now how can I recover the drive for normal use? The instructions on openSUSE website explain how to do it on Windows only. – becko Mar 25 at 10:41
1  
You mean normal use as in make a storage device again ? There's nothing really to be done, just delete the files there. Or you can use gparted tool to format the disk again. It's not installed by default though. – Serg Mar 25 at 10:48
1  
Just want to mention that it is important to use /dev/sdX instead of /dev/sdX1 in dd. The latter refers to a partition, but you need to write to full disk. – becko Mar 26 at 10:35

Imagewriter exists on Ubuntu: https://apps.ubuntu.com/cat/applications/precise/usb-imagewriter/

Otherwise, you can do it without additionals packages in command line:

sudo dd if=openSUSE.iso of=/dev/sd*

Where * is the letter of your USB stick (example: sda, sdb, ...)

share|improve this answer
    
that imagewriter seems to support only ubuntu 12 – becko Mar 25 at 10:34
    
Wrong! Imagewriter is supports on all versions : launchpad.net/usb-imagewriter/+packages – monitor35 Mar 25 at 10:35
    
Is there a way to install it through apt-get? I could not find it in the repos for 15.10. – becko Mar 25 at 10:36
    
Actually, following the link: launchpad.net/ubuntu/wily/+source/usb-imagewriter, brings a message saying there is no release of this package for Ubuntu wily. – becko Mar 25 at 10:38
    
You write becko... I'm wrong – monitor35 Mar 25 at 10:44

Install pv to view the progress of the operation: sudo apt-get install pv then: sudo dd if=/path_to_the_opensuse_iso | pv | dd of=/dev/sd* where * is the letter assigned to your usb.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.