How to make a bootable USB installation stick

Some computers do not have a CD or DVD drive. To install openSUSE on these computers you can make a USB stick that does the same thing as a installation DVD.

1.  First you have to format your stick as FAT32 (either in Windows or in Linux). It needs to be sufficiently large, so 4GB for the Khmer installation DVD, and 8 GB for the normal openSUSE 11.0 installation DVD.

2.  Copy all the contents of the DVD to the USB drive. After that you have to make the stick bootable. To do this you need to install the package syslinux. It is included in the openSUSE dvd, so YaST will take care of that.

Now all we have to do is make the usb stick bootable. You need to do this on the commandline.
First you need know which partition your USB drive has (like /dev/sdb1 or /dev/sdc1). You can find this out by typing this:
mount

It will show you all your mounted partitions. Find the one which is your USB flash drive.
Then you need to unmount the flashdrive. You can do this manually:

umount /dev/sdb1 (or what partition you have)

Or you can click on my computer on your desktop and rightclick your drive and select "safely remove".

3.   The last thing you need is the path where the installation DVD is mounted.

Download a script called mksusebootdisk which will do the rest. It's located here:
mksusebootdisk

Copy this file somewhere on your computer.
Open a konsole and make sure that you are root.

In the following example, I assume that the USB stick partition is /dev/sde1 and that the DVD is mounted in /media/DVD.
Issue this command:

/path/to/script/mksusebootdisk --32 --partition /dev/sde1 /media/DVD

This should take about 20 seconds and you have a fully working bootable USB installation disk!

More information can be found on the openSUSE wiki:
http://en.opensuse.org/SuSE_install_from_USB_drive

1 comment:

You might also like:

Related Posts with Thumbnails
 
 
 
 
Copyright © The Life and Work