Difference between revisions of "Universal USB installer"

From Notes_Wiki
(Created page with "=Universal USB installer= We can use Universal USB installer to create Live USB images from Live CDs. For example we can create bootable USB disk for system rescue CD with un...")
 
Line 12: Line 12:


''One can also use '<tt>Linux live USB creator</tt>' to create live USB images from ISO images of CDs. Linux live USB creator will even allow installation of virtual box so that live USB can be used directly in Windows without persistent storage''
''One can also use '<tt>Linux live USB creator</tt>' to create live USB images from ISO images of CDs. Linux live USB creator will even allow installation of virtual box so that live USB can be used directly in Windows without persistent storage''
For system rescue CD steps are mentioned on http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick. Automated steps to install from linux using shell script do not work. Detailed steps that work are:
*Create folder for USB - '<tt>mkdir /mnt/usbstick</tt>'
*Mount USB (Fat32) partition: '<tt>mount -t vfat /dev/sdf1 /mnt/usbstick</tt>'
*Remove all files: '<tt>rm -rf /mnt/usbstick/*</tt>'
*Download latest system rescue CD image and mount it on <tt>/mnt/cdrom</tt> using '<tt>mount -o loop &lt;iso_file&gt; /mnt/cdrom</tt>'
*Use following commands to copy files to USB
<pre>
cp -af /mnt/cdrom/* /mnt/usbstick/
rm -rf /mnt/usbstick/syslinux
mv /mnt/usbstick/isolinux/isolinux.cfg /mnt/usbstick/isolinux/syslinux.cfg
sed -i -e 's/scandelay=1/scandelay=5/g' /mnt/usbstick/isolinux/syslinux.cfg
mv /mnt/usbstick/isolinux /mnt/usbstick/syslinux
</pre>
*Make disk bootable using
<pre>
umount /mnt/usbstick
syslinux /dev/sdf1
sync
</pre>

Revision as of 03:37, 13 November 2012

Universal USB installer

We can use Universal USB installer to create Live USB images from Live CDs. For example we can create bootable USB disk for system rescue CD with universal USB installer.

Note:


One can also use 'Linux live USB creator' to create live USB images from ISO images of CDs. Linux live USB creator will even allow installation of virtual box so that live USB can be used directly in Windows without persistent storage