MVWT disk reimaging

From Murray Wiki
Jump to navigationJump to search

Downloading a working 256 MB disk image from svn

The current stable disk image with Player 2.0.3, steelebot drivers, and glibc 2.3.1 can be checked out of svn at:

To install this image, follow steps 1-3 and 6 of "Copying a Flash card", substituting the downloaded disk image for steelebot-flash.dd in step 6.

Copying a Flash card

We need to use Rome ( on the south wall of the lab or any other computer with an attached IDE to Flash interface.

1. Mount the old flash drive on Rome.

  • Shut down Rome by typind sudo halt - make sure the power light is off
  • Take a working flash drive and insert it into the IDE to flash interface
  • Turn Rome back on

2. (optional) Check to make sure file system is OK

  • sudo mount /dev/hdd1 /mnt/flash
    • if it works, it should just return without any output
  • cd /mnt/flash
    • type "ls" and you should get a regular Linux file system

3. Make a copy of the exact contents of the disk

  • sudo umount /mnt/flash/
  • sudo dd if=/dev/hdd of=/tmp/steelebot-flash.dd
    • Running the dd operation should take 2-3 minutes

In /tmp/ we now have a file steelebot-flash.dd that we will copy to the new flash card.

4. Shut Rome back down using sudo halt. Insert the new flash card into the interface, then turn Rome back on. If the disk is already formatted, skip the following step.

5. the step that must be skipped

6. Copy the flash image back to the hard disk.

  • sudo dd if=/tmp/steelebot-flash.dd of=/dev/hdd
    • It should take about 5-7 minutes to write to the disk
  • sudo halt
  • Remove the new flash drive from the disk

Note: this didn't work using flash card, but did work on A corrupt sector is suspected.

Changing the IP Address

After successfully copying a flash card, we need to change the IP address so that we don't have any network conflicts.

The IP address can be found in the following two files on the card:

  • /etc/rc.d/rc.inet1
  • /etc/hosts

Change the IP address in both of these files using a text editor. If using vim, you'd open the files using the command sudo vi rc.inet1 and sudo vi hosts.

Note: Richard's old instructions are accessible using the document history.