#!/bin/bash #This script will modify the Vibuntu 1.2 iso image so that it can be installed #to a USB Stick with persistent storage using the Ubuntu USB Installer #application. It assumes that you have already copied the Vibuntu 1.2 iso image #and the hidden .disk folder from the original Ubuntu 8.10 CD into the #/home/orca/ directory. #Create a mount point for the Vibuntu 1.2 CD iso image mkdir /home/orca/CD-iso #Mount the Vibuntu 1.2 iso image to this mount point sudo mount -o loop /home/orca/Custom_Live_CD.iso /home/orca/CD-iso #Copy the contents of the mounted Vibuntu 1.2 iso into a temp folder cp -r /home/orca/CD-iso /home/orca/USB-iso #Copy the hidden .disk folder from the original Ubuntu CD to the temp folder sudo cp -r /home/orca/.disk /home/orca/USB-iso #Copy the contents of the temp folder into a new USB iso image mkisofs -r -o /home/orca/Custom_Live_USB.iso /home/orca/USB-iso #Unmount the Vibuntu 1.2 CD iso image sudo umount /home/orca/CD-iso #Delete the mount point for the Vibuntu 1.2 CD iso image rmdir /home/orca/CD-iso #Delete the temp folder sudo rm -rf /home/orca/USB-iso #There should now be an iso image called Custom_Live_USB.iso in the #/orca/home directory. You can point the Ubuntu USB Installer to this #iso image and it will install it to a USB stick with persistent storage! #drbongo 16/12/2008