Go to previous topic
Go to next topic
Last Post 03 Jun 2008 02:51 PM by  addyyang
issue when mount fatfs /cf in logic loader
 1 Replies
Author Messages
addyyang
New Member
New Member
Posts:


--
02 Jun 2008 03:20 PM
    i got a 'bad partition magic (00 00)' error...
    please advice...thanks!


    losh> mount fatfs /cf
    read_partition_info: bad partition magic (00 00)
    0x200441fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004420c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004421c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004422c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004423c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004424c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004425c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004426c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004427c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004428c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004429c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x200442ac 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x200442bc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x200442cc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x200442dc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x200442ec 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x200442fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004430c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004431c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004432c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004433c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004434c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004435c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004436c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004437c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004438c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x2004439c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x200443ac 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x200443bc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x200443cc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x200443dc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x200443ec 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    error: mount: unable to mount (/)
    losh>
    addyyang
    New Member
    New Member
    Posts:


    --
    03 Jun 2008 02:51 PM
    problem solved.

    The cf card was not formatted properly.

    Format the card by HOST PC using a card reader.

    'df -h ' to check which dev node this card is mounted. Mine is on /dev/sdb

    fdisk /dev/sdb

    follow the command helper.

    five things needs to be done.
    1 create two partitions, one is fat16 and the other one is ext2.
    2 change to partition type by issuing command 't' and an HEX value (fat16 is 6, linux ext2 is 83)
    3 assign the fat16 partition as the primary boot partition
    4 write and sync your card by issuing 'w' command
    5 quit

    then copy the files to compact flash as described in the user manual


    ---