Universal USB installer

From Notes_Wiki
Revision as of 03:34, 13 November 2012 by Saurabh (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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


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 - 'mkdir /mnt/usbstick'
  • Mount USB (Fat32) partition: 'mount -t vfat /dev/sdf1 /mnt/usbstick'
  • Remove all files: 'rm -rf /mnt/usbstick/*'
  • Download latest system rescue CD image and mount it on /mnt/cdrom using 'mount -o loop <iso_file> /mnt/cdrom'
  • Use following commands to copy files to USB
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
  • Make disk bootable using
umount /mnt/usbstick
syslinux /dev/sdf1
sync