Installing SAMity On USB Flash Drive


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.

  1. 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)
  2. Insert a 1024MB or larger USB thumb drive
  3. 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

    guest@~# fdisk /dev/sdx

    again replacing x with your device type

    guest@~# p

    to show the existing partition and

     guest@~# d

    to delete it type

    guest@~# p

    again to show any remaining partitions (if partitions exist, repeat step 7) type

    guest@~# n

    to make a new partition type

    guest@~# p
  4. for primary partition type
    guest@~# 1
  5. to make this partition one hit enter to use the default first cylinder
  6. hit enter again to use the default last cylender type
     guest@~# a
  7. to make this partition active type
    guest@~# 1
  8. to select partition 1 type
    guest@~# t
  9. to change it’s file system type
    guest@~# 6

  10. 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
    guest@~# w
  11. to write the new partition table type
    guest@~# umount /dev/sdx1

  12. (replacing x with your device) to unmount the partition type
    guest@~# mkfs.vfat -F 16 -n usb /dev/sdx1

  13. 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
    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)
  14. You also can follow this description for an ext3-formatted USB-drive from the unity-forum

Last Modified: 2010-08-06 19:58:51 by Yogibaer - [ Snip Changes ] [ Wiki History ]

No users online

Google Search Engine