Linux to format the SD into ext2 format and mount the __linux

Source: Internet
Author: User

SD cards are formatted under Windows and can only be formatted in the FAT file system format, but the FAT file system does not support soft links under Linux. It is also necessary to format it as a file system format under Linux, such as EXT2.

Use built-in Linux with the Tools command mkfs.ext2.

root@target:~# mkfs.ext2/dev/mmcblk0 
mke2fs 1.41.5 (23-apr-2009)
filesystem label=
OS type:linux< br> block size=1024 (log=0)
Fragment size=1024 (log=0)
31360 inodes, 125440 blocks
6272 blocks (5.00%) reserve D for the super User
Block=1
Maximum filesystem blocks=67371008
Blocks groups
8192 blocks per Group, 8192 fragments per group
1960 Inodes per group
superblock backups stored on blocks: 
8193, 24577, 40961, 57345, 73729


Writing inode tables:  0/16 1/16 2/16 3/16 4/16 5/16 6/16 7/16 8/16 9/1610/1611/1612/ 1613/1614/1615/16done                           &NBSP;
writing superblocks and filesystem accounting Information:done


This filesystem'll be automatically Checke D every mounts or
180, whichever comes  use to Tune2fs-c or-i.
Override

Mount SD Card

root@target:~# mount-t ext2/dev/mmcblk0/media/mmc1/

Enter SD card, "Lost+found" indicates that the mount has been successful

root@target:~# cd/media/mmc1/
root@target:/media/mmc1# ls
Lost+found

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.