SDB:Live USB stick
tagline: From openSUSE
Contents |
[edit] Create a Live USB (GUI)
[edit] Download LiveCD ISO
Download the installation image of your choice from http://software.opensuse.org/. You'll need to look at the USB DVD section below if you don't want to install from a LiveCD image.
Windows InstructionsDownload ImageWriterDownload the SUSE Studio ImageWriter Write ISO to USBWrite the LiveCD to the USB stick. NOTE: Windows Imagewriter.exe, unlike Linux version, does not see automatically .iso files, only .raw, but it works with any of those files without problems. That leads to manual selection described below.
NOTE: You may meet this error on some MS Windows versions:
| |
Linux InstructionsInstall ImageWriterInstall the SUSE Studio Image Writer.
| |
Write ISO to USBWrite the LiveCD image to the USB stick
|
Alternate graphical method is to use Live USB GUI, frontend to live-fat-stick script.
[edit] Create a Live USB (console)
[edit] Download and verify LiveCD ISO
Download the installation image of your choice from:
~> aria2c -x5 http://download.opensuse.org/distribution/12.2/iso/openSUSE-12.2-KDE-LiveCD-x86_64.iso
Verify a download integrity:
~> gpg --recv-keys 9C800ACA ~> wget http://download.opensuse.org/distribution/12.2/iso/openSUSE-12.2-KDE-LiveCD-x86_64.iso.asc ~> gpg -a openSUSE-12.2-KDE-LiveCD-x86_64.iso.asc
Linux InstructionsFind Block DeviceAfter inserting your USB stick, you can find out what device it is ~> su # grep -Ff <(hwinfo --disk --short) <(hwinfo --usb --short) Write ISO to USBFinally, once you've found your block device, write the image to it. Point 'dd' to the full path such as '/home/user/Downloads/openSUSE-12.2-KDE-LiveCD-x86_64.iso' or change directory (example: # umount /dev/sdX # dd if=/path/to/downloaded.iso of=/dev/sdX Put ISO on vfat partitioned USB stick or hard diskIf you'd rather not reformat the USB device and keep the ability of putting files on it and accessible by other operating systems, you have the option of using the live-fat-stick script. On openSUSE you can install the package via 1-click, if you are running any other distribution, get the script from here and make it executable(as root, with Run the following as root (with # live-fat-stick -l
to get the USB device path # live-fat-stick --suse /path/to/openSUSE-filename.iso /dev/sdXY
to copy iso to USB device and make it bootable # live-fat-stick -h
it shows help. Multiple iso images from multiple distributions can be added to the USB device, boot menu will offer a choice of distribution to boot from. Scripts does not format or remove data from the device.
| |
| 200px |
OS X instructionsFind Block DevicePlug-in your USB stick and find what "/dev/diskN" it is mapped to by opening Terminal (where "N" stands for "disk0", "disk1", "disk2" etc). To do so, please execute: # diskutil list This will print out the list of currently mapped devices/partitions. Find the USB using "NAME" column. Then note the corresponding /dev/diskN, where "N" is for index of your disk. For example: /dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: FAT32 2.0 GB disk0 1: USB2 2.0 GB disk0s1 In this case "/dev/disk2" is the one we want. Unmount USB StickUnmount the USB stick # diskutil unmountDisk /dev/diskN Where /dev/diskN is the one you have found in previous step as per our example it would be "/dev/disk2". Write ISO to USBWrite the content of the ISO file: # dd if=/path/to/downloaded.iso of=/dev/diskN bs=4k Again the /dev/diskN is the same one you have found previously. You will be prompted for the administrator's password.
|
[edit] Bootable USB from DVD or Net-install
[edit] Download DVD ISO
Download one of the DVD or Net Installation images from http://software.opensuse.org/
Linux instructionsWarning Do not run isohybrid for 12.2 or higher. Skip this section. Install syslinux/isohybridIf you would like to boot the from a USB stick then you can make the ISO bootable by installing syslinux. # zypper in syslinux # isohybrid openSUSE-12.1-DVD-x86_64.iso Once completed just follow whichever set of above LiveUSB instructions you like, and take care to read the Booting from USB-DVD section below afterward.
| |
Windows instructionsWarning Do not run isohybrid for 12.2 or higher. Skip this section. Get isohybridDownload and extract isohybrid from the syslinux package.
[edit] Install PerlInstall strawberry perl. | |
Create Hybrid ISOMake the DVD or Net-install image hybrid.
> C:\strawberry\perl\bin\perl.exe isohybrid.pl openSUSE-12.1-DVD-x86_64.iso
Once completed just follow whichever set of above LiveUSB instructions you like, and take care to read the Booting from USB-DVD section below afterward.
| |
Booting from USB-DVDWrite the image to the USB stick using the Windows instructions above.
|
[edit] How to make a USB drive bootable
This situation would happen very rarely, but in the even that your computer doesn't boot from the LiveUSB/DVD from the steps above, you might try the following procedure.
[edit] Live USB stick with persistent file system
To create a persistent file system on the usb stick give at the initial boot prompt the extra command:
kiwi_hybridpersistent=yes
Now an extra file system will be created so that data can be stored on the stick in a persistent way.
Note that this only makes sense if your USB stick is larger than 1 GB.
[edit] See also
- Live CD installation for 11.3
- YaST Image Creator module
- KIWI Cookbook: Live USB Stick
- KDE Plasma Netbook Workspace


