Now we want to tell you about installing SAMity on USB flash drive.It is not actually installing SAMity on USB it is simply booting Live SAMity from USB flash drive and not from CD while there is no need in CD at all.
-
Restart your Computer, booting from SAMity (login as root i don't think if there is any sense for logging as root,anyway you are doing that in console as a root)
- Insert a 1024MB or larger USB thumb drive
- Open up a terminal and type fdisk -l (note which drive is your USB stick)
type
guest@~# umount /dev/sdx1
replacing x with your flash drive letter
type
again replacing x with your device
type
to show the existing partition and
to delete it
type
again to show any remaining partitions (if partitions exist, repeat step 7)
type
to make a new partition
type
-
for primary partition
type
- to make this partition one
hit enter to use the default first cylinder
- hit enter again to use the default last cylender
type
- to make this partition active
type
- to select partition 1
type
- to change it’s file system
type
-
to select the fat16 file system( for FAT32 type "b" ). Here i recommend if you use up to 2GB USB stick use FAT16,above 2GB use FAT32!
type
- to write the new partition table
type
guest@~# umount /dev/sdx1
- (replacing x with your device) to unmount the partition
type
guest@~# mkfs.vfat -F 16 -n usb /dev/sdx1
-
to format the first partition as fat (replace x with your flash drive)(if you use FAT32 type 32 instead of 16)
Remove and reinsert your USB flash drive
Type
guest@~# mkdir /tmp/usb
guest@~# mount /dev/sdx1 /tmp/usb (replace x with your USB drive)
guest@~# mount /mnt/cdrom (or cdrom2 if you have more than one)
guest@~# cd /mnt/cdrom (or cdrom2)
guest@~# cp -rf livecd.sqfs isolinux/* /tmp/usb
guest@~# cd /tmp/usb
guest@~# mv isolinux.cfg syslinux.cfg
guest@~# cd
guest@~# umount /tmp/usb
(replacing x with your USB device,sometimes the command doesn't work,so use try syslinux /dev/sdx1 or enetr the windows,download the program Syslinux and xetract the files to dir C:syslinux ,open command prompt cmd and type:
guest@~# syslinux -sf /dev/sdx1
cd C:\syslinux\win32
syslinux.exe -f E:
(if E is the char of your usb drive )
shutdown (or just make reboot of the system)
You also can follow this description for an ext3-formatted USB-drive from the unity-forum
http://forum.unity-linux.org/thread-841.html