Difference between revisions of "Dockstar"

From Makers Local 256
Jump to: navigation, search
m (Added links)
m (finished updating instructions)
 
Line 14: Line 14:
 
Your mileage may vary.
 
Your mileage may vary.
  
==Replacing U-Boot==
+
==Using ext3==
I had problems with installing U-Boot to mtd3 and had to replace the original uboot in mtd0. The following is meant to be run from inside the original firmware, as root, with access to the Internet.
+
If you want to use ext3 instead of ext2, which I did, you have to do two more steps.
cd /tmp
+
# After downloading dockstar.debian-squeeze.sh:
wget http://jeff.doozan.com/debian/uboot/install_uboot_mtd0.sh
+
#* Search for ext2 in a section where it writes a new fstab and replace it with ext3
chmod +x install_uboot_mtd0.sh
+
#* Search for mke2fs and add -J to make a proper ext3 filesystem
./install_uboot_mtd0.sh
+
# After dockstar.debian-squeeze.sh runs, DO NOT REBOOT IT when prompted
It's worked fine since.
+
#* Run the following to tell uboot to use ext3 to mount the rootfs, then reboot
 +
fw_setenv usb_rootfstype=ext3
  
 
==Building a Debian usb drive==
 
==Building a Debian usb drive==
Line 29: Line 30:
 
  export PATH=$PATH:/usr/sbin:/sbin
 
  export PATH=$PATH:/usr/sbin:/sbin
 
  ./dockstar.debian-squeeze.sh  
 
  ./dockstar.debian-squeeze.sh  
 
* Upgrade to ext3
 
** fstab
 
** usb_rootfs nvram
 
  
 
==External References==
 
==External References==

Latest revision as of 21:22, 10 September 2010

Creator:
Brimstone
Status:
Documentation
Born On:
17:43, 23 August 2010 (CDT)
Last Updated:
21:22, 10 September 2010 (CDT)

Overview

This is my notes and brief instructions for running Debian on your dockstar. Most steps are taking from Jeff Doozan's webpage.

Rooting the device

For mine device, bought in August 2010, I was able to ssh into the device with the following:

username: root
password: stxadmin

Your mileage may vary.

Using ext3

If you want to use ext3 instead of ext2, which I did, you have to do two more steps.

  1. After downloading dockstar.debian-squeeze.sh:
    • Search for ext2 in a section where it writes a new fstab and replace it with ext3
    • Search for mke2fs and add -J to make a proper ext3 filesystem
  2. After dockstar.debian-squeeze.sh runs, DO NOT REBOOT IT when prompted
    • Run the following to tell uboot to use ext3 to mount the rootfs, then reboot
fw_setenv usb_rootfstype=ext3

Building a Debian usb drive

From any sane computer, partition and format a usb drive with the first partition being ext2, and the second being swap. Then run the following install script from inside your dockstar as root, with the usb drive in:

cd /tmp
wget http://jeff.doozan.com/debian/dockstar.debian-squeeze.sh
chmod +x dockstar.debian-squeeze.sh
export PATH=$PATH:/usr/sbin:/sbin
./dockstar.debian-squeeze.sh 

External References