Beagleboard の要求する FAT は、けっこう厳しい?
なんか
に書いてあるように VFAT を用意しているはずなんだけど、うまくいくときと行かないときがあります。SD カード上の MLO が読めないです。以下は、うまく動くパターン。備忘録です。
$ sudo fdisk /dev/sdb You will not be able to write the partition table. WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): p Disk /dev/sdb: 1015 MB, 1015808000 bytes 32 heads, 61 sectors/track, 1016 cylinders Units = cylinders of 1952 * 512 = 999424 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 * 2 52 49776 e W95 FAT16 (LBA) /dev/sdb2 53 1016 940864 83 Linux Command (m for help): ^C
で、
$ sudo fsck.vfat -v /dev/sdb1 dosfsck 3.0.7 (24 Dec 2009) dosfsck 3.0.7, 24 Dec 2009, FAT32, LFN Checking we can access the last sector of the filesystem Boot sector contents: System ID "mkdosfs" Media byte 0xf8 (hard disk) 512 bytes per logical sector 2048 bytes per cluster 1 reserved sector First FAT starts at byte 512 (sector 1) 2 FATs, 16 bit entries 50176 bytes per FAT (= 98 sectors) Root directory starts at byte 100864 (sector 197) 512 root directory entries Data area starts at byte 117248 (sector 229) 24830 data clusters (50851840 bytes) 61 sectors/track, 32 heads 0 hidden sectors 99552 sectors total Checking for unused clusters. /dev/sdb1: 82 files, 3504/24830 clusters