>> > I have a 1GB USB disk with partion table and mkfs.jffs2. It seems
>> > that the Linux system provided with TS-7250 cannot mount it, correct?
>> > Only fat and ext2 are supported?
>> >
>> > $ mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usb
>> > VFS: Can't find ext2 filesystem on dev sd(8,1).
>> > yaffs: Attempting MTD mount on 8.1, "08:01"
>> > FAT: bogus logical sector size 34276
>> > VFS: Can't find a valid FAT filesystem on dev 08:01.
>> > mount: Mounting /dev/scsi/host0/bus0/target0/lun0/part1 on /mnt/usb
>> > failed: Invalid argument
>>
>> It may be possible to build yourself a kernel with the support in it, or
>> if jffs2 support is available as a module compile yourself the
> module and
>> install it.
>>
>> However, I have to ask why are you using jffs2 ? I have seen
> comments that
>> jffs2 is not a good file system for CF. I thought I understood that to
>> support jffs2 you needed better access to the underlying flash
>> infrastructure than the CF interface gives?
>
> Hi Jim,
>
> The TS-7250 has limited space on the onboard flash. I planned to put
> everything (Debian, my own programs, and data) on the USB disk and
> chroot to it.
>
> I don't know much about jffs2. I tried to use it because that's what
> the onboard flash uses.
>
> Any suggestions? Can I boot directly to a USB disk?
You can compile a compressed kernel with USB support then create an
initial ramdisk with pivot_root, chroot, and a shell(I used
sash-plus-patches http://freshmeat.net/projects/sash-plus-patches/). Next
you can boot to the initial ramdisk, load the USB drivers, mount the USB
flash drive, and then pivot root to the USB flash drive. I've posted an
initial ramdisk I created in the files section. I created it as an example
of how to use an initial ramdisk and currently doesn't pivot root to the
USB flash. It would be trivial to change the script to pivot_root to the
USB flash drive... You can gunzip the initrd.gz file then mount it as a
loopback filesystem. Then you can make the changes you require to the
linuxrc script. The redboot commands I used to boot to the initial ramdisk
are below.
load -r -b 0x00218000 -h 192.168.0.11 /u/home/eddie/zImage
load -r -b 0x00600000 -h 192.168.0.11 /u/home/eddie/initrd.gz
exec -r 0x00600000 -s 0x7f15a -b 0x00218000 -l 0x96954 -c
"console=ttyAM0,115200 root=/dev/ram0 init=/linuxrc rw"
//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/
|