ETHW

 
 
Line 5: Line 5:
  
 
Download the image of your choise:
 
Download the image of your choise:
<console>$ wget http://example.com/linux-livecd.iso</console>
+
<console>
 +
$##bl## wget http://example.com/linux-livecd.iso
 +
</console>
  
 
== Convert livecd image to hybrid mode ==
 
== Convert livecd image to hybrid mode ==
 
Most modern LiveCD's are already in hybrid mode. If your LiveUSB doesnt boot without this step then you have to convert it to hybrid mode. Hybrid image means image that can be booted from either CD-ROM or USB drive.
 
Most modern LiveCD's are already in hybrid mode. If your LiveUSB doesnt boot without this step then you have to convert it to hybrid mode. Hybrid image means image that can be booted from either CD-ROM or USB drive.
<console># emerge syslinux
+
<console>
$ isohybrid linux-livecd.iso</console>
+
###i## emerge syslinux
 +
$##bl## isohybrid linux-livecd.iso
 +
</console>
  
 
== Write livecd image to the usb drive ==
 
== Write livecd image to the usb drive ==
 
Now you can write the hybrid image to usb drive. Be sure to select the device node /dev/sdX, not partition node /dev/sdX1.
 
Now you can write the hybrid image to usb drive. Be sure to select the device node /dev/sdX, not partition node /dev/sdX1.
<console># dd if=linux-livecd.iso of=/dev/sdb bs=4M</console>
+
<console>
 +
###i## dd if=linux-livecd.iso of=/dev/sdb bs=4M
 +
</console>
 
Now you can reboot. You must select the usb drive as startup device in bios.
 
Now you can reboot. You must select the usb drive as startup device in bios.
  
 
[[Category:HOWTO]]
 
[[Category:HOWTO]]

Latest revision as of 19:44, January 17, 2014

This guide will show you how to install bootable linux livecd image to USB stick.

Get the livecd image

First you need to choose livecd distribution. SystemResqueCd is good choise because it supports 32bit and 64bit processors on the same image. Its also based on gentoo.

Download the image of your choise:

$ wget http://example.com/linux-livecd.iso

Convert livecd image to hybrid mode

Most modern LiveCD's are already in hybrid mode. If your LiveUSB doesnt boot without this step then you have to convert it to hybrid mode. Hybrid image means image that can be booted from either CD-ROM or USB drive.

# emerge syslinux
$ isohybrid linux-livecd.iso

Write livecd image to the usb drive

Now you can write the hybrid image to usb drive. Be sure to select the device node /dev/sdX, not partition node /dev/sdX1.

# dd if=linux-livecd.iso of=/dev/sdb bs=4M

Now you can reboot. You must select the usb drive as startup device in bios.