Home Wiki > SDB:Live USB stick
Sign up | Login

SDB:Live USB stick

tagline: De openSUSE.

Language.png Cette page n'est pas encore traduite (ou pas complètement)

Cet article a besoin d'être traduit. Merci de participer au travail si vous en avez le temps et la compétence.
Si vous cherchez quelque chose à faire, regardez les autres Pages à traduire.


Cette page explique comment créer une clé USB amorçable à partir d'un CD live, ou en d'autres termes, une clé USB live.
Version : 11.3+Cet article s'applique aux versions d'openSUSE à partir de la 11.3.
Attention Les instructions de cette page vont détruire toutes les données actuellement présentes sur la clé USB qui sera utilisée. Soyez certain qu'elle ne contient pas d'information importante.


Sommaire

Créer un "Live USB" (GUI)

Instructions sous Windows

Étape 1

Téléchargez l'image de votre choix à partir du lien suivant :http://software.opensuse.org/. Si vous ne souhaitez pas installer à partir d'une image LiveCD, allez voir dans la section USB-DVD Live

Étape 2

Téléchargez SUSE Studio ImageWriter

Étape 3

Écrire l'image du LiveCD sur la clé USB

  • Ouvrez ImageWriter téléchargé à l'étape précédente
  • Cliquez sur le bouton "select"
  • Renseignez *.* dans le champ filename et trouvez l'image CD.
  • Sélectionnez votre clé USB et cliquez sur "write"

Instructions sous Linux

Étape 1

Téléchargez l'image de votre choix à partir du lien suivant :http://software.opensuse.org/. Si vous ne souhaitez pas installer à partir d'une image LiveCD, allez voir dans la section USB-DVD Live

Étape 2

Installez SUSE Studio Image Writer.

  • Ouvrez le gestionnaire de paquets de Yast :
    • Dans KDE, ouvrez le menu kicker (menu KDE), allez dans l'onglet "Ordinateur", et cliquez sur "Installation/Suppression de logiciels"
    • Dans GNOME, vous devriez voir "Installation/Suppression de logiciels" sur le coté droit.
  • Le mot de passe root (superutilisateur) vous sera demandé
  • Faites une recherche à "imagewriter" (sans les guillemets) et cochez la case pour que imagewriter soit installé
  • Cliquez sur "Accepter"

Étape 3

Write the LiveCD image to the USB stick

  • Open the ImageWriter
    • In KDE, open the kicker menu, search for "imagewriter", and click SUSE Studio Imagewriter
    • In GNOME, you'll click More Applications, search for imagewriter, and click on SUSE Studio Imagewriter
  • Enter the root password when prompted
  • Click in the middle of the application, and navigate to where you saved your image
  • Select your USB device from the dropdown menu, and click the Write button
  • Reboot

Create a Live USB (console)

Instructions sous Linux

Étape 1

Téléchargez l'image de votre choix à partir du lien suivant : http://download.opensuse.org/distribution/11.4/iso/.

~> aria2c -x5 http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-x86_64.iso

Si vous le souhaitez, vous pouvez aussi vérifier l'intégrité du fichier :

~> gpg --recv-keys 9C800ACA
~> wget http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-x86_64.iso
~> gpg -a openSUSE-11.4-KDE-LiveCD-x86_64.iso.asc

Étape 2

Après avoir branché votre clé USB, you can find out what device it is

~> su
# grep -Ff <(hwinfo --disk --short) <(hwinfo --usb --short)

Étape 3

Finally, once you've found your block device, write the image to it

# umount /dev/sdX
# dd_rescue openSUSE-11.4-KDE-LiveCD-x86_64.iso /dev/sdX

Instructions sous Mac OS X

Étape 1

Plug-in your USB stick and find what "/dev/disk*" it is mapped to by opening Terminal and executing:

# diskutil list

This will print out the list of currently mapped devices/partitions. Find the USB using "NAME" column. Then note the corresponding /div/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.

Étape 2

Unmount the USB stick

# diskutil unmountDisk /dev/disk*

Where /dev/disk* is the one you have found in previous step.

Étape 3

Write the content of the ISO file:

# sudo dd if=/path/to/downloaded.iso of=/dev/disk* bs=1m

Again the /dev/disk* is the same one you have found previously. You will be prompted for the administrator's password.

Étape 4

Once the above command finishes eject the the USB drive:

# diskutil eject /dev/disk*

Bootable USB from DVD or Net-install

Instructions sous Linux

Étape 1

Download one of the DVD or Net Installation images from http://software.opensuse.org/

Étape 2

If 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-11.4-DVD-x86_64.iso

Once completed just follow whichever set of above LiveUSB instructions you like.

Instructions sous Windows

Étape 1

Download one of the DVD or Net Installation images from http://software.opensuse.org/

Étape 2

Get isohybrid

  • Download syslinux.
  • Extract the zip. Right click on it in Windows Explorer and click "Extract All"
  • Find the isohybrid.pl script in the utils directory, and place it in the same directory as your image.

Étape 3

Install strawberry perl.

Étape 4

Make the DVD or Net-install image hybrid.

  • Open cmd and navigate to the directory containing isohybrid.pl script and your installation image.
  • Run isohybrid.pl
C:\strawberry\perl\bin\perl.exe isohybrid.pl openSUSE-11.4-DVD-x86_64.iso
  • This should take less than a second to execute

Étape 5

Write the image to the USB stick using the Windows instructions above.

  • Hit F4, change the installation source to Hard Drive, but leave all fields blank and hit Enter to close the dialog.
  • Type "namescheme=by-label" into the boot options for "Installation" and start the installation; you should go straight to the installer without a hitch.

Comment rendre une clé USB bootable

Instructions sous Linux

In the event that for whatever reason your computer doesn't boot from the USB stick (unlikely), you might try the following:

umount /dev/sdX
fdisk /dev/sdX
\tp   «--- print partition table
\ta   «--- activate partition (bootable)
\t1   «--- partition 1 is bootable
\tw   «--- write changes to partition table

Voir aussi

Autres liens relatifs vers des pages openSUSE and Novell