Jason,
I did interrupt the boot process and type "run usbboot" to boot off USB.
Now I solved the problem by changing the usbboot env from:
usbboot=setenv bootargs console=ttyS0,115200 mtdparts=${partitions}
rootdelay=8 root=/dev/sda1; bootm fc000000
to
usbboot=setenv bootargs console=ttyS0,115200 mtdparts=${partitions}
rootdelay=8 root=/dev/sda1 rw; bootm fc000000
It seems like I have to explicitly to set "root=/dev/sda1 rw", or it will be
mounted as ro.
Thanks for all the help.
cheers,
Zhiwei
On Wed, Jul 15, 2009 at 9:42 PM, Jason Manley <[email protected]> wrote:
> Are you sure that you changed the boot options? Did you boot off the USB
> stick or did you boot off the onboard flash? You need to interrupt the boot
> process and tell it to boot off USB.
>
> You should end up with a complete debian install once that's done. You can
> edit the boot string in uboot to optionally mount ro or rw. Also, you can
> enter your boot options for any other mount points as normal in /etc/fstab.
>
> Jason
>
>
> On 15 Jul 2009, at 13:37, Zhiwei Liu wrote:
>
> Jason,
>>
>> Thanks for the comments.
>> The 2nd issue has been solved. I thinks that is all because I'm using an
>> old hub which is not functioning properly. Once I changed it with a new
>> switch, the network works fine.
>>
>> The first issue remains. I didn't mean I was confusing the read-only file
>> system when booting from the flash.
>> Even if I boot from usb stick, I still got a read-only file system. I have
>> to fix it by typing the command:
>> "mount -n -o remount /"
>>
>> I'm using a 2G usb stick. I prepared it using the following command:
>> ---------------------------------------------------------------------
>> fdisk /dev/sda --- to create partition1
>> mke2fs -t ext2 /dev/sda1 --- format to ext2 file system
>> ----------------------------------------------------------------------
>> Then I downloaded the file system from
>>
>> http://casper.berkeley.edu/svn/trunk/roach/sw/binaries/filesystem/filesystem_etch_nfs_2009_07_07.tar.gz
>> I unzipped it and copied to my usb stick.
>> I also checked and fixed the file system using:
>> e2fsck -p /dev/sda1
>> But eventually the root was still mounted read-only file system when
>> booting from usb stick.
>> Any idea?
>>
>>
>> Best Regards,
>> --
>> Zhiwei Liu
>>
>>