ts-7000
[Top] [All Lists]

Re: [ts-7000] help on create new CF

To:
Subject: Re: [ts-7000] help on create new CF
From: "Eddie Dawydiuk" <>
Date: Wed, 4 Jan 2006 15:28:15 -0700 (MST)
Hello,

> Hi, I want to create a large CF with 512Mb usb drive and follow the
> instruction from
> http://www.seiner.com/ts7000/index.php/EraseFlashImageAndReplace

Those instructions are for the onboard filesystem on the TS-7250 and
TS-7260. If you want to create a CF card with Debian loaded on it refer
to the TS-ARM developers manual 
(http://www.embeddedarm.com/Manuals/TS_ARM_L.PDF). Refer to page 10,
the section is entitled "Compact Flash Card"...

> 1. I fdisk the new 512Mb usb drive follow the TS-ARM developers manual
> 2. I use wget to get the img file and tar to mnt/src, the CF from TS
> is /dev/sda and my new usb drive is /dev/sdb1
>
> mount /dev/sdb1 /mnt/src
> wget -O - ftp://oz.embeddedx86.com/images/debian256/debian256-10-27-
> 2005.tar | tar xvf - -C /mnt/src
>
> 3. Then I plug the new usb drive into the first USB slot. Reboot and
>
> loadUSBModules.sh
> loadUSB.sh
>
> Then I get those error messages. $ /usr/bin/loadUSB.sh
>
> Creating extra device nodes...done.
> Started device management daemon v1.3.25 for /dev
> modprobe: cannot create /var/log/ksymoops/19691231.log Read-only file
> system
> modprobe: cannot create /var/log/ksymoops/19691231.log Read-only file
> system
> Checking root file system...
> fsck 1.27 (8-Mar-2002)
> e2fsck 1.27 (8-Mar-2002)
> modprobe: cannot create /var/log/ksymoops/19691231.log Read-only file
> system
> modprobe: cannot create /var/log/ksymoops/19691231.log Read-only file
> system
> modprobe: cannot create /var/log/ksymoops/19691231.log Read-only file
> system
> modprobe: cannot create /var/log/ksymoops/19691231.log Read-only file
> system
> modprobe: cannot create /var/log/ksymoops/19691231.log Read-only file
> system
> modprobe: cannot create /var/log/ksymoops/19691231.log Read-only file
> system
> fsck.ext2: No such file or directory while trying to open /dev/hda1
>
> The superblock could not be read or does not describe a correct ext2
> filesystem.  If the device is valid and it really contains an ext2
> filesystem (and not swap or ufs or something else), then the
> superblock
> is corrupt, and you might try running e2fsck with an alternate
> superblock:
>    e2fsck -b 8193 <device>
>
>
> fsck failed.  Please repair manually and reboot.  Please note
> that the root file system is currently mounted read-only.  To
> remount it read-write:
>
>   # mount -n -o remount,rw /
>
> CONTROL-D will exit from this shell and REBOOT the system.
>
> ts7200:~#
>
> Can anyone help me to correct the problem?

By default /etc/fstab tells linux your rootfilesystem is /dev/hda1, this
corresponds to the CF card. If you are using a USB flash drive copy 
/etc/fstab.usb to /etc/fstab on your USB flash drive.

//Eddie


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU