AirV's Blog

Just another blog

Live CD

Liste :

Installation SystemRescueCD sur USB


Overview

If you are running Linux on your computer it’s very easy to install SystemRescueCD on a USB stick. You just have to download the ISO image ofSystemRescueCD-1.5.8 (or more recent), and then run a script which is at the root of the CD-ROM. You don’t have to burn the ISO image to a disc to do that, you just need to have the ISO image available from a running Linux system. Formatting the USB stick will remove all its content, so make sure you don’t need the data or make a backup first.

  1. Download the SystemRescueCD-1.5.8 (or more recent) ISO image from the Download page
  2. Mount the ISO image using the -o loop and -o exec options of the mount command
  3. Plug in your USB stick and wait 5 seconds to allow enough time for the system to detect it
  4. Unmount the USB stick if auto-mount is enabled or if it was already mounted
  5. Run bash ./usb_inst.sh in a shell then select the correct USB device and press OK/Enter

Mount the CD-ROM ISO image

You first have to mount the ISO image (or a media where you have burned it). You just need an empty directory on your system on which the ISO image can be mounted. We will use /tmp/cdrom in this example but you can use any directory such as /mnt/cdrom:

mkdir -p /tmp/cdrom
mount -o loop,exec /path/to/systemrescuecd-x86-x.y.z.iso /tmp/cdrom

Plug in the USB stick

Just make sure the USB stick has been plugged in, and wait a few seconds to be sure the device has been detected by the system.

Execute the installer

Now you just have to execute the installation script which is at the root of the CD-ROM. This script requires several commands to run but it won’t be a problem. To be sure the script will always work, these commands are part of the CD-ROM:

cd /tmp/cdrom
bash ./usb_inst.sh

This script will show you a list of USB sticks detected on your system. Only removable medias are in the list. This way it’s not possible to destroy a persistent device by accident.

Unmount the ISO image

Now you can unmount the ISO image

cd ~
umount /tmp/cdrom

mercredi 3 novembre 2010 Posté par à 8:19 | Informatique | pas de commentaire