--- Quote Start ---
originally posted by sfielding+jun 23 2005, 05:49 am--><div class='quotetop'>quote (sfielding @ jun 23 2005, 05:49 am)</div>
--- quote start ---
thanks marc, that helped.
it turned out that i also needed to add some nodes to the filesystem;
@sda,b,8,0
@sda1,b,8,1
hopefully i got this correct?[/b]
--- quote end ---
looks right.
$ ls -al /dev/sda*
brw-rw---- 1 root disk 8, 0 2002-03-14 22:51 /dev/sda
brw-rw---- 1 root disk 8, 1 2002-03-14 22:51 /dev/sda1
<!--quotebegin-sfielding@Jun 23 2005, 05:49 AM
so, now when i mount the usb partition i get
mount -n -t vfat /dev/sda1 /mnt/usb
fat: codepage cp437 not found
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
or too many mounted file systems#
what could cause "fat: codepage cp437 not found" ? --- Quote End ---
This looks to my like you either did not compile vfat support in your kernel
$ cat /usr/src/linux-2.6.12/.config |grep VFAT
CONFIG_VFAT_FS=m
(or =y in case you want it compiled in instead of a module), or some NLS settings:
$ cat /usr/src/linux-2.6.12/.config |grep 437
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_NLS_DEFAULT="cp437"
CONFIG_NLS_CODEPAGE_437=y
but since I never actively remember setting them myself, I would assume they are set by selecting the VFAT configuration.
--- Quote Start ---
originally posted by sfielding@Jun 23 2005, 05:49 AM
i believe that the formatting is correct;
disk /dev/sda: 65 mb, 65011712 bytes
2 heads, 62 sectors/track, 1024 cylinders
units = cylinders of 124 * 512 = 63488 bytes
device boot start end blocks id system
/dev/sda1 1 1024 63457 b win95 fat32
--- Quote End ---
looks right, at least the default crappy formatting of USB sticks seems already cleared
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/laugh.gif