Make SUSE USB on Ubuntu

How do I make an openSUSE 11.4 DVD USB stick on Ubuntu? I downloaded the DVD 32 bit version. I’m not even sure this post is supposed to be on the Install/Boot/Login forum. Can you help me?:expressionless:

You cannot make a USB bootable stick from a DVD straight away. It needs some trick to be done to the downloaded ISO. I’ll have a search for that.

In the meantime: you can make a bootable USB stick from a LiveCD:


cd /path-to-where-downloaded-iso-resides
su -c 'dd if=DOWNLOADEDISONAME of=/dev/sdX bs=4M

where the X in the of= statement is the character in the /dev/sd* entry representing your USB stick. If you have only one disk, that should be /dev/sdb.

Found it: Let’s say your DVD ISO is called “openSUSE114.iso”, and your USB device is /dev/sdb, then it would be:


isohybrid openSUSE114.iso
dd if=openSUSE114.iso of=/dev/sdb bs=4M

Mind, you need a USB stick larger than 4.7 GB.

I mean I downloaded the DVD iso, not the cd ISOs. The 4.7 GB ISO.:wink:

That’s in post #3 in this thread. You need the program “isohybrid”, which is in the package “syslinux”, so


su
zypper in syslinux
cd /path-to-openSUSE-11.4-DVD-i586.iso
isohybrid openSUSE-11.4-DVD-i586.iso
dd if=openSUSE-11.4-DVD-i586.iso of=/dev/sdX bs=4M

where X is the character in the /dev/sd* entry for the USB device.

I type

thomas@Thomas-Dell-DE051:~$ su
Password: 
su: Authentication failure
thomas@Thomas-Dell-DE051:~$ 

I typed in my password!!!>:(>:):’(:sarcastic:

That should be your root password :smiley:

Aargh, you’re on Ubuntu now, I forgot…Well, you should install ‘syslinux’ (is available for *buntu), the other commands should be invoked with ‘sudo’…

So I’d first type sudo instead of su?

On *buntu you cannot “su”, just use “sudo”. IIRC it’s


sudo 'apt-get install syslinux'
(enter your password)

then, you need “sudo” to execute the “dd” command

AFAIK “sudo” is not needed to run the “isohybrid” command.

It says I already have syslinux. Now what do I do? Can you give me step-by-step instructions?

“cd” to the folder you downloaded the openSUSE iso to. Then


isohybrid openSUSE-11.4-DVD-i586.iso [LEFT]

[/LEFT]

thomas@Thomas-Dell-DE051:~$ cd ~/Downloads/
thomas@Thomas-Dell-DE051:~/Downloads$ isohybrid
Usage: isohybrid [OPTIONS] <boot.iso>
thomas@Thomas-Dell-DE051:~/Downloads$ openSUSE-11.4-DVD-i586.iso
openSUSE-11.4-DVD-i586.iso: command not found
thomas@Thomas-Dell-DE051:~/Downloads$ 

What’d I do?

Nothing, a parse error from my side when copying. It should be:


isohybrid openSUSE-11.4-DVD-i586.iso

The command changes the header of the downloaded ISO, which is necessary to make a bootable USB stick from it.

thomas@Thomas-Dell-DE051:~$ cd ~/Downloads
thomas@Thomas-Dell-DE051:~/Downloads$ isohybrid openSUSE-11.4-DVD-i586.iso
isohybrid: Warning: more than 1024 cylinders: 4331
isohybrid: Not all BIOSes will be able to boot this device
thomas@Thomas-Dell-DE051:~/Downloads$

What next?

Now, post output of command below, with USB-stick plugged in


sudo fdisk -l

thomas@Thomas-Dell-DE051:~$ sudo fdisk -l
[sudo] password for thomas: 

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders, total 312500000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008488c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   308307967   154152960   83  Linux
/dev/sda2       308310014   312498175     2094081    5  Extended
/dev/sda5       308310016   312498175     2094080   82  Linux swap / Solaris

Disk /dev/sdb: 16.0 GB, 16030597120 bytes
64 heads, 32 sectors/track, 15287 cylinders, total 31309760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
thomas@Thomas-Dell-DE051:~$ 

[CODEthomas@Thomas-Dell-DE051:~$ sudo fdisk -l
[sudo] password for thomas:

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders, total 312500000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008488c

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 308307967 154152960 83 Linux
/dev/sda2 308310014 312498175 2094081 5 Extended
/dev/sda5 308310016 312498175 2094080 82 Linux swap / Solaris

Disk /dev/sdb: 16.0 GB, 16030597120 bytes
64 heads, 32 sectors/track, 15287 cylinders, total 31309760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
thomas@Thomas-Dell-DE051:~$
]