Fully Install SUSE on USB

Fully Install SUSE on USB; The following tutorial covers the process of installing SUSE Linux on to a USB Drive using the OpenSUSE Live media. The process is made possible due to a custom Portable SUSE script created by James Rhodes. The user basically boots from the Live OpenSUSE media and performs the installation via the included YaST2 Install script to install SUSE to a USB drive. Then the user reboots from the Portable SUSE installation and launches the custom script to convert some files in the running system for portable compatibility.

Thanks James for directing us to your script and asking us to do a writeup of the Portable SUSE USB conversion process.

Portable OpenSUSE running from USB

OpenSuse on USB

USB SUSE install Requirements:

  • External USB Hard Drive (Rotating Platter “Not a Flash Drive”)
  • OpenSUSE Live CD
  • Portable SUSE conversion script

How to fully Install SUSE on USB

Warning: Before proceeding, backup all data you wish to save from your USB Drive. In addition, physically disconnect any internally attached hard drives to avoid the possibility of installing to the wrong device.

    1. Download the Live ISO, burn to a CD or create a Live USB and start your system from the live media.
    2. Once the live media is up and running, insert the USB device you wish to fully install to.
    3. When prompted that a new medium has been detected, 1.) select the option to Do Nothing and 2.) check the box to Always do this for this type of media, 3.) and then click OK.

media prompt

    1. Next, click the My Computer icon from your SUSE desktop
    2. Locate your USB device from the Disk Information section on the page
    3. Right click on the device and select to Safely Remove

safely remove

    1. Right click on the device again, this time select Properties

device properties

    1. From the Properties window that appear, click the Mounting tab
    2. Uncheck the Mount automatically box and click OK

Install SUSE on USB

  1. Next, start the installer via the Install icon on your desktop and follow the onscreen instructions. You can click Cancel to any pop ups notifying you of newly detected media
  2. Once the installer has finished, reboot your computer. Remove the CD or Live USB and proceed to boot from the other USB device.
  3. Continue the onscreen setup process… users and passwords etc
  4. Once your up and running again, press alt+f2 and type konsolesu then press Enter
  5. Type wget pendrivelinux.com/downloads/portablesuse.tar.gz
  6. Type tar -zxvf *.tar.gz
  7. Type ./installation and follow the onscreen instructions answering y to all of the questions
  8. Type reboot to reboot and ensure that everything is still working

That concludes this Portable SUSE how to tutorial. You should now be able to run your Portable SUSE from any PC that can boot from a USB device. It should be safe to re-attach any internal drives to your PC.