7 if [ ! `whoami` = "root" ] ; then
9 echo "You need to be root to run this shell script"
15 mkfs.vfat -F 16 -n kubuntu8 ${USB_DEV}1
16 mount ${MOUNT_POINT}/kubuntu8
17 if [ $? -ne 0 ] ; then
18 echo "Mount of USB boot partition failed."
21 cd ${MOUNT_POINT}/kubuntu8
22 if [ $? -ne 0 ] ; then
23 echo "Could not cd to USB boot partition"
26 tar xfz ${BOOT_IMAGE} .
27 ls -l ${MOUNT_POINT}/kubuntu8
29 unmount ${MOUNT_POINT}/kubuntu8