How do I upgrade my flash drive to the latest version?

Asked by ekan

Help me upgrade!

Question information

Language:
English Edit question
Status:
Solved
For:
Wicker Edit question
Assignee:
No assignee Edit question
Solved by:
ekan
Solved:
Last query:
Last reply:
Revision history for this message
ekan (eric-theredpost) said :
#1

You'll need to do the upgrade on a Linux computer, as Macs and PCs don't read ext2 (Linux) filesystems properly.

1. Download the latest version of Wicker from SourceForge and decompress it
- You can download it here: http://sourceforge.net/project/showfiles.php?group_id=195335
  - go to a good place to download it: "cd /usr/local/src/"
  - use the command "wget http://internap.dl.sourceforge.net/sourceforge/redpost/wicker-beta-2008-05-19.tar.bz2"
- once it's done downloading (it's over 500MB, it may take awhile), decompress it
  - use the command "tar xjvf wicker-...tar.bz2" (replace the "..." with the correct file name)

2. Insert the flash drive and mount it
- enter the command "df" and note the mount point of the drive's 2 partitions (assuming your OS automatically mounts USB flash drives, which Ubuntu does do)
  - in Ubuntu, your drive will most likely mount at "/media/casper-rw/" and "/media/ubuntu/" (there are 2 partitions)
- if the drive doesn't mount, you'll have to manually mount it

3. Erase the contents of the old "casper-rw" partition and the old files on "ubuntu"
- use the command "sudo rm rf /media/casper-rw/*" (be careful! rm rf can delete things and you CANT get them back)
- use the command "sudo rm /media/ubuntu/casper/filesystem.squashfs"
- use the command "sudo rm /media/ubuntu/casper/initrd.gz"

4. Copy over the updated files
- do the following: "sudo rysnc --progress /usr/local/src/wicker-beta/casper/initrd.gz /media/ubuntu/casper/"
- do the following: "sudo rysnc --progress /usr/local/src/wicker-beta/casper/filesystem.squashfs /media/ubuntu/casper/"

5. Unmount your flash drive and test it in your Sign
- use the commands "umount /media/casper-rw" and "umount /media/ubuntu/" (or the equivalent, depending on your mount point)

6. Rerun setup to connect your Sign to Corktop