create a bootable USB of the openSUSE installation DVD

I don’t have a dvd drive and I want to do an offline upgrade from 12.2 to 12.3. Is it possible to write the image of the installation DVD to a usb using “imagewriter” or with another method ?

I used “dd_rescue”. But then I’m a command line kind of person. As far as I know, what image writer does is identical, but with a different user interface.

I have installed both 32 bit and 64 bit that way (from the DVD iso files for 12.3).

You should be able to create a bootable USB from the ISO with imagewriter, but I’ve had some mixed experiences with it in the past.

Edit: Nvm, seems that is deprecated.

On Wed, 13 Mar 2013 21:46:02 +0000, zelhar wrote:

> I don’t have a dvd drive and I want to do an offline upgrade from 12.2
> to 12.3. Is it possible to write the image of the installation DVD to a
> usb using “imagewriter” or with another method ?

Word is that yes, you can just write the image to a USB drive using
something like dd or imagewriter - the ISO does not need to be prepared
with isohybrid as in the past (so I hear).

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

I used imagewriter to write the dvd image to USB stick, installed perfect.

This tool from one of the forum members jdmcdaniel3](https://forums.opensuse.org/members/jdmcdaniel3.html) works well.

On 2013-03-13 23:03, Jim Henderson wrote:
> On Wed, 13 Mar 2013 21:46:02 +0000, zelhar wrote:
>
>> I don’t have a dvd drive and I want to do an offline upgrade from 12.2
>> to 12.3. Is it possible to write the image of the installation DVD to a
>> usb using “imagewriter” or with another method ?
>
> Word is that yes, you can just write the image to a USB drive using
> something like dd or imagewriter - the ISO does not need to be prepared
> with isohybrid as in the past (so I hear).

Correct.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

imagewriter is the best though it cannot create persistent usb. oh well

At initial boot


kiwi_hybridpersistent=yes

Have not tried yet but that in the instruction on the USB page

https://en.opensuse.org/Live_USB_stick

Cool thanks. This might be a stupid question ,but here goes. Is this “parameter” grub2 compatible?

On 2013-03-14 06:16, vazhavandan wrote:

>> https://en.opensuse.org/Live_USB_stick
> Cool thanks. This might be a stupid question ,but here goes. Is this
> “parameter” grub2 compatible?

That wiki page is obsolete. I think I asked about that parameter in the
factory mail list and got no response.

The only thing I could do is remove the instructions to run isohybrid on
the dvd image.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

The only thing I could do is remove the instructions to run isohybrid on
the dvd image.

Any instruction on that ie where is that done?

On 2013-03-14 19:56, gogalthorp wrote:
>
>> The only thing I could do is remove the instructions to run isohybrid on
>> the dvd image.
>
> Any instruction on that ie where is that done?

Sorry, done what? :-?

I learnt from comments here (“here” means a thread in one forum here)
that running isohybrid on the DVD image that was to be copied to the usb
stick could make it unbootable as it has a current UEFI/GPT
partitioning. So I warned the people on the factory mail list. I only
got a possible confirmation of the fact, but no reasoning of why
isohybrid is needed or not or when. The people that are supposed to be
on the know didn’t say a word.

So I went ahead and did the editing myself, and Rajko immediately
accepted the one line change, because it was felt urgent.

If you are asking how to “burn” the DVD image into the stick, I only
know what that wiki page says. And I did not write it :slight_smile:

Actually, I “burn” it this way:


> minas-tirith:/home/cer/Download/isos # time ionice -c 3 dd if=openSUSE-12.3-DVD-x86_64.iso of=/dev/sdb
> 9162752+0 records in
> 9162752+0 records out
> 4691329024 bytes (4.7 GB) copied, 1259.87 s, 3.7 MB/s
>
> real    21m0.551s
> user    0m3.657s
> sys     1m13.137s
> minas-tirith:/home/cer/Download/isos #

(anybody doing this, make sure your stick is sdb, or you end destroying
something vital - no kidding)

Now, some one figures out why I decided to use “ionice” :wink:


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

Aaah

Thought you were taking about the persistence got lost in this thread lol

I’ve been using image writer for some time without problem, probably since 11.4

This time I created a DVD USB stick for 12.3 from 12.2

Now I can’t read the USB stick on 12.3 (just not recognised)

I took a working USB stick with 12.2 live on it, put 12.3 live on it

Now checking with Dolphin returns

An error occurred while accessing ‘Home’, the system responded:
The requested operation has failed:
Error mounting /dev/sdb1 at /run/media/gerry/openSUSE Live CD KDE:
Command-line `mount -t “iso9660” -o uhelper=udisks2,nodev,nosuid,uid=1000,gid=100,iocharset=utf8,mode=0400,dmode=0500" “/dev/sdb1” “/run/media/gerry/openSUSE Live CD KDE”’ exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error

In some cases useful info is found in syslog - try su dmesg | tail or so



linux-zd5t:/home/gerry # dmesg | tail
[28817.462239] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[28817.463682]  sdb: sdb1
[28817.466113] sd 7:0:0:0: [sdb] No Caching mode page present
[28817.466120] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[28817.466124] sd 7:0:0:0: [sdb] Attached SCSI removable disk
[32499.175633] ISOFS: Unable to identify CD-ROM format.
[32506.856180] ISOFS: Unable to identify CD-ROM format.
[32522.862026] ISOFS: Unable to identify CD-ROM format.
[32535.072861] ISOFS: Unable to identify CD-ROM format.
[32640.532693] ISOFS: Unable to identify CD-ROM format.

(I’ve no idea what the “or so” means)

Am I ruining USB sticks somehow or is there a missing package I need to install on my computer?

Any help greatly appreciated

Are you trying to mount the image or the device? I noticed that the device notifier shows both and only the device mounts the image does not.

Does it boot?

Thanks for the nudge. Of course you can’t mount these things

I’ve just checked on my last 12.2 machine and there is an option in Dolphin “USB 2.0 DISK” with which one open can check the contents of the stick

However in 12.3 there is no “USB 2.0 DISK” but I’m not sure if that is a feature, bug or missing package

Checking in YaST shows the same usb library and utility files are installed on both machines with a little version nudging on 12.3

The difficulty is that they’ve become “write once” on 12.3, what happens when I want to create 12.4?

This might be helpful


linux-zd5t:/home/gerry # lsusb
Bus 001 Device 002: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 001 Device 010: ID 0930:6544 Toshiba Corp. Kingston DataTraveler 2.0 Stick (2GB)
Bus 003 Device 002: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20
Bus 004 Device 002: ID 046d:c526 Logitech, Inc. Nano Receiver
Bus 005 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Though the Kingston USB stick is actually 16GB (and has a complete openSUSE 12.3 DVD on it)


linux-zd5t:/home/gerry # df
Filesystem     1K-blocks    Used Available Use% Mounted on
devtmpfs         1017044       8   1017036   1% /dev
tmpfs            1032620      88   1032532   1% /dev/shm
tmpfs            1032620     676   1031944   1% /run
/dev/sda2       20641788 8253268  11339896  43% /
tmpfs            1032620       0   1032620   0% /sys/fs/cgroup
tmpfs            1032620     676   1031944   1% /var/run
tmpfs            1032620     676   1031944   1% /var/lock
/dev/sda3      100357584 6064688  93273320   7% /home

but no sign of it here

the other stick is not so verbose but is the empty listing


linux-zd5t:/home/gerry # lsusb
Bus 001 Device 002: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 001 Device 011: ID cd12:ef18  
Bus 003 Device 002: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20
Bus 004 Device 002: ID 046d:c526 Logitech, Inc. Nano Receiver                                                                                               
Bus 005 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)                                                                   
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                                                                                              
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                                                                                              
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub                                                                                              
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub                                                                                              
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

and also not visible using df