<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://murray.cds.caltech.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Oishi</id>
	<title>Murray Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://murray.cds.caltech.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Oishi"/>
	<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/Special:Contributions/Oishi"/>
	<updated>2026-06-23T03:57:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://murray.cds.caltech.edu/index.php?title=MVWT_disk_reimaging&amp;diff=5614</id>
		<title>MVWT disk reimaging</title>
		<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=MVWT_disk_reimaging&amp;diff=5614"/>
		<updated>2007-01-20T01:41:28Z</updated>

		<summary type="html">&lt;p&gt;Oishi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Downloading a working 256 MB disk image from svn==&lt;br /&gt;
The current stable disk image with Player 2.0.3, steelebot drivers, and glibc 2.3.1 can be checked out of svn at:&lt;br /&gt;
* ssh://gc.caltech.edu/dgc/subversion/mvwt/trunk/users/koishi/steelebot-software&lt;br /&gt;
To install this image, follow steps 1-3 and 6 of &amp;quot;Copying a Flash card&amp;quot;, substituting the downloaded disk image for &amp;lt;code&amp;gt;steelebot-flash.dd&amp;lt;/code&amp;gt; in step 6.&lt;br /&gt;
&lt;br /&gt;
==Copying a Flash card==&lt;br /&gt;
We need to use Rome (192.168.0.10) on the south wall of the lab or any other computer with an attached IDE to Flash interface.&lt;br /&gt;
&lt;br /&gt;
1. Mount the old flash drive on Rome.&lt;br /&gt;
* Shut down Rome by typind &amp;lt;code&amp;gt;sudo halt&amp;lt;/code&amp;gt; - make sure the power light is off&lt;br /&gt;
* Take a working flash drive and insert it into the IDE to flash interface&lt;br /&gt;
* Turn Rome back on&lt;br /&gt;
&lt;br /&gt;
2. (optional) Check to make sure file system is OK&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo mount /dev/hdd1 /mnt/flash&amp;lt;/code&amp;gt;&lt;br /&gt;
** if it works, it should just return without any output&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /mnt/flash&amp;lt;/code&amp;gt;&lt;br /&gt;
** type &amp;quot;ls&amp;quot; and you should get a regular Linux file system&lt;br /&gt;
&lt;br /&gt;
3. Make a copy of the exact contents of the disk&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo umount /mnt/flash/&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo dd if=/dev/hdd of=/tmp/steelebot-flash.dd&amp;lt;/code&amp;gt;&lt;br /&gt;
** Running the &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; operation should take 2-3 minutes&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;/tmp/&amp;lt;/code&amp;gt; we now have a file &amp;lt;code&amp;gt;steelebot-flash.dd&amp;lt;/code&amp;gt; that we will copy to the new flash card.&lt;br /&gt;
&lt;br /&gt;
4. Shut Rome back down using &amp;lt;code&amp;gt;sudo halt&amp;lt;/code&amp;gt;.  Insert the new flash card into the interface, then turn Rome back on.&lt;br /&gt;
If the disk is already formatted, skip the following step.&lt;br /&gt;
&lt;br /&gt;
5. &#039;&#039;the step that must be skipped&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
6. Copy the flash image back to the hard disk.&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo dd if=/tmp/steelebot-flash.dd of=/dev/hdd&amp;lt;/code&amp;gt;&lt;br /&gt;
** It should take about 5-7 minutes to write to the disk&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo halt&amp;lt;/code&amp;gt;&lt;br /&gt;
* Remove the new flash drive from the disk&lt;br /&gt;
&lt;br /&gt;
Note: this didn&#039;t work using flash card 192.168.1.155, but did work on 192.168.1.151.  A corrupt sector is suspected.&lt;br /&gt;
&lt;br /&gt;
==Changing the IP Address==&lt;br /&gt;
After successfully copying a flash card, we need to change the IP address so that we don&#039;t have any network conflicts.&lt;br /&gt;
&lt;br /&gt;
The IP address can be found in the following two files on the card:&lt;br /&gt;
* /etc/rc.d/rc.inet1&lt;br /&gt;
* /etc/hosts&lt;br /&gt;
&lt;br /&gt;
Change the IP address in both of these files using a text editor.  If using vim, you&#039;d open the files using the command &amp;lt;code&amp;gt;sudo vi rc.inet1&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sudo vi hosts&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: Richard&#039;s old instructions are accessible using the document history.&lt;br /&gt;
&lt;br /&gt;
[[Category:MVWT documentation]]&lt;br /&gt;
[[Category:MVWTfest]]&lt;/div&gt;</summary>
		<author><name>Oishi</name></author>
	</entry>
	<entry>
		<id>https://murray.cds.caltech.edu/index.php?title=MVWT_disk_reimaging&amp;diff=5613</id>
		<title>MVWT disk reimaging</title>
		<link rel="alternate" type="text/html" href="https://murray.cds.caltech.edu/index.php?title=MVWT_disk_reimaging&amp;diff=5613"/>
		<updated>2007-01-20T01:40:56Z</updated>

		<summary type="html">&lt;p&gt;Oishi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Downloading a working 256 MB disk image from svn==&lt;br /&gt;
The current stable disk image with Player 2.0.3, steelebot drivers, and glibc 2.3.1 can be checked out of svn at:&lt;br /&gt;
* ssh://gc.caltech.edu/dgc/subversion/mvwt/trunk/users/koishi/steelebot-software&lt;br /&gt;
To install this image, follow steps 1-3 and 6 of [[Copying a Flash card]], substituting the downloaded disk image for &amp;lt;code&amp;gt;steelebot-flash.dd&amp;lt;/code&amp;gt; in step 6.&lt;br /&gt;
&lt;br /&gt;
==Copying a Flash card==&lt;br /&gt;
We need to use Rome (192.168.0.10) on the south wall of the lab or any other computer with an attached IDE to Flash interface.&lt;br /&gt;
&lt;br /&gt;
1. Mount the old flash drive on Rome.&lt;br /&gt;
* Shut down Rome by typind &amp;lt;code&amp;gt;sudo halt&amp;lt;/code&amp;gt; - make sure the power light is off&lt;br /&gt;
* Take a working flash drive and insert it into the IDE to flash interface&lt;br /&gt;
* Turn Rome back on&lt;br /&gt;
&lt;br /&gt;
2. (optional) Check to make sure file system is OK&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo mount /dev/hdd1 /mnt/flash&amp;lt;/code&amp;gt;&lt;br /&gt;
** if it works, it should just return without any output&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /mnt/flash&amp;lt;/code&amp;gt;&lt;br /&gt;
** type &amp;quot;ls&amp;quot; and you should get a regular Linux file system&lt;br /&gt;
&lt;br /&gt;
3. Make a copy of the exact contents of the disk&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo umount /mnt/flash/&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo dd if=/dev/hdd of=/tmp/steelebot-flash.dd&amp;lt;/code&amp;gt;&lt;br /&gt;
** Running the &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; operation should take 2-3 minutes&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;/tmp/&amp;lt;/code&amp;gt; we now have a file &amp;lt;code&amp;gt;steelebot-flash.dd&amp;lt;/code&amp;gt; that we will copy to the new flash card.&lt;br /&gt;
&lt;br /&gt;
4. Shut Rome back down using &amp;lt;code&amp;gt;sudo halt&amp;lt;/code&amp;gt;.  Insert the new flash card into the interface, then turn Rome back on.&lt;br /&gt;
If the disk is already formatted, skip the following step.&lt;br /&gt;
&lt;br /&gt;
5. &#039;&#039;the step that must be skipped&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
6. Copy the flash image back to the hard disk.&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo dd if=/tmp/steelebot-flash.dd of=/dev/hdd&amp;lt;/code&amp;gt;&lt;br /&gt;
** It should take about 5-7 minutes to write to the disk&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo halt&amp;lt;/code&amp;gt;&lt;br /&gt;
* Remove the new flash drive from the disk&lt;br /&gt;
&lt;br /&gt;
Note: this didn&#039;t work using flash card 192.168.1.155, but did work on 192.168.1.151.  A corrupt sector is suspected.&lt;br /&gt;
&lt;br /&gt;
==Changing the IP Address==&lt;br /&gt;
After successfully copying a flash card, we need to change the IP address so that we don&#039;t have any network conflicts.&lt;br /&gt;
&lt;br /&gt;
The IP address can be found in the following two files on the card:&lt;br /&gt;
* /etc/rc.d/rc.inet1&lt;br /&gt;
* /etc/hosts&lt;br /&gt;
&lt;br /&gt;
Change the IP address in both of these files using a text editor.  If using vim, you&#039;d open the files using the command &amp;lt;code&amp;gt;sudo vi rc.inet1&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sudo vi hosts&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: Richard&#039;s old instructions are accessible using the document history.&lt;br /&gt;
&lt;br /&gt;
[[Category:MVWT documentation]]&lt;br /&gt;
[[Category:MVWTfest]]&lt;/div&gt;</summary>
		<author><name>Oishi</name></author>
	</entry>
</feed>