Difference between revisions of "How to install Salix Live on an USB key"

From Salix OS
Jump to: navigation, search
Line 5: Line 5:
 
These mostly automatized methods to install the LiveCD to an USB only support sticks formatted as '''FAT''' (FAT16, FAT32, VFAT), as supported by syslinux, and a '''MBR''' partition table (no GPT). If you don't know what this means, you most probably have such a stick. Other setups are very uncommon and require you to do all the work manually.
 
These mostly automatized methods to install the LiveCD to an USB only support sticks formatted as '''FAT''' (FAT16, FAT32, VFAT), as supported by syslinux, and a '''MBR''' partition table (no GPT). If you don't know what this means, you most probably have such a stick. Other setups are very uncommon and require you to do all the work manually.
  
If you have any important data on the stick, please do create a '''backup''' before continuing! Also we've carefully written those scripts to protect your data, we make no guarantees whatsoever.
+
If you have any important data on the stick, please do create a '''backup''' before continuing! Although we've carefully written those scripts to protect your data, we make no guarantees whatsoever.
  
 
== From a Salix Live CD ==
 
== From a Salix Live CD ==
Line 24: Line 24:
 
This is to give you a more precise idea how it's done. We're assuming you're using file-roller as your default archive manager and Thunar as your file manager, but for other tools like xarchiver it should work quite similarly. If you have such other tools don't be surprised if the screenshots are not exactly what you're seeing. ;)
 
This is to give you a more precise idea how it's done. We're assuming you're using file-roller as your default archive manager and Thunar as your file manager, but for other tools like xarchiver it should work quite similarly. If you have such other tools don't be surprised if the screenshots are not exactly what you're seeing. ;)
  
# First check whether you have the package for syslinux, parted and lilo installed. The last one is optional, but highly recommended.
+
# The script requires parted and syslinux to be installed - lilo is also highly recommended. If installation to USB is unsuccessful, this is the first thing to check using your existing distro's package manager.  
 
# Browse to the directory where you downloaded the ISO image file to and open it by double-clicking. This should bring up your default archive manager.
 
# Browse to the directory where you downloaded the ISO image file to and open it by double-clicking. This should bring up your default archive manager.
 
# Now select the ''Extract'' button.<br/>[[File:usbinstall-extract1.png]]
 
# Now select the ''Extract'' button.<br/>[[File:usbinstall-extract1.png]]

Revision as of 21:57, 30 January 2012

Contents

How to install Salix Live on a USB key?

It depends if you already have a Salix Live CD or simply an ISO image. In any case, Unetbootin is not supported and should not be used.

These mostly automatized methods to install the LiveCD to an USB only support sticks formatted as FAT (FAT16, FAT32, VFAT), as supported by syslinux, and a MBR partition table (no GPT). If you don't know what this means, you most probably have such a stick. Other setups are very uncommon and require you to do all the work manually.

If you have any important data on the stick, please do create a backup before continuing! Although we've carefully written those scripts to protect your data, we make no guarantees whatsoever.

From a Salix Live CD

  1. Boot a Live session from the CD.
  2. Insert your USB key.
  3. Use LiveClone.

From an ISO image

  1. You need to at least install parted and syslinux. Installation of lilo is optional, but highly recommended.
  2. Open the ISO file using a software archiver (file-roller, xarchiver, 7-zip, iso-master, …)
  3. Extract all files and folders (boot, packages, salixlive and salix-<...>.live) to your USB root directory
  4. Go to the "boot" directory on the USB key.
    • If you're on Unix (Linux, BSD, Max OS X), simply execute the file called "install-on-USB.sh" (root privileges are required)
    • If you're on Windows, execute the file called "install-on-USB.cmd" instead.

Walkthrough with file-roller on Linux

This is to give you a more precise idea how it's done. We're assuming you're using file-roller as your default archive manager and Thunar as your file manager, but for other tools like xarchiver it should work quite similarly. If you have such other tools don't be surprised if the screenshots are not exactly what you're seeing. ;)

  1. The script requires parted and syslinux to be installed - lilo is also highly recommended. If installation to USB is unsuccessful, this is the first thing to check using your existing distro's package manager.
  2. Browse to the directory where you downloaded the ISO image file to and open it by double-clicking. This should bring up your default archive manager.
  3. Now select the Extract button.
    Usbinstall-extract1.png
  4. In the popping up dialog window select your USB stick in the left column. For me it's "TEST". If the USB Stick doesn't show up, try opening it first in your regular file manager. Also make sure that the same tickboxes/radio buttons are selected in the bottom of the window (Extract "All files", "Re-create folders" and "Overwrite existing files").
    Usbinstall-extract2.png
  5. Now press the Extract button and wait until the operation is finished. If it is, press the Quit button.
    Usbinstall-extract4.png
  6. Open your file manager and navigate to your USB stick. Open the boot directory in the root of your stick.
  7. Start the installation by double-clicking the install-on-USB.sh script.
    Usbinstall-execute.png
  8. You need to enter your root password because administrative privileges are required.
    Usbinstall-root.png
  9. Now follow the on-screen instructions. It should be safe to always say yes, after checking whether the right devices have been chosen. Finally you should end up like this:
    Usbinstall-install.png
    If you end up getting a error message, first try to make some sense out of it. You might be missing one of the utilities mentioned before (syslinux, parted, lilo).
  10. IMPORANT!!! Be sure to unmount your stick and to wait for it to become really unmounted after all data has been written onto the device. Don't unplug it before it's really unmounted. For Thunar and many other file managers unmounting works by right-clicking onto the device in the left-hand panel.
    Usbinstall-unmount.png
  11. If the stick is really unmounted and all data has been written, this is somehow indicated. For example by graying out the device. Now you may safely unplug your stick if you want.
    Usbinstall-unmounted.png
  12. Done! Now reboot with your stick plugged in and select it as the boot device for your BIOS.
    Many BIOS offer a Boot Selection Menu for this task, which is accessible for example by F12. Otherwise you might have to enter your BIOS Setup and change the boot device order/priority.