2011年7月28日 星期四

將bin檔案放置SD card

1.要先用linux ubuntu format SD card
   sudo fdisk /dev/sdc     =>sdc 這是要看插入sd card是在哪裝置
    輸入後,顯示如下:
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):
Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): d
Partition number (1-4): 1

Command (m for help): n
Command action寫最後面的數字
   p   primary partition (1-4)
p
Selected partition 1
First cylinder (1-1015, default 1): 50     <== 50 是要寫入檔案的大小
Last cylinder, +cylinders or +size{K,M,G} (50-1015, default 1015): 1015   <= 50-1015 寫最後面的數字

Command (m for help): w
The partition table has been altered!


上面是我操作的指令

sudo mkfs -t vfat /dev/sdd       <==更改為fat format
最後到windows xp上格式化就好了
完成 !!!!!

沒有留言:

張貼留言