{"id":191713,"date":"2020-05-21T11:00:38","date_gmt":"2020-05-21T03:00:38","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=191713"},"modified":"2020-05-19T09:12:01","modified_gmt":"2020-05-19T01:12:01","slug":"linux-tf","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-tf.html","title":{"rendered":"\u5982\u4f55\u7b80\u5355\u7684\u5728TF\u5361\u4e0a\u505a\u4e00\u4e2aLinux\u7684\u6587\u4ef6\u7cfb\u7edf"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u5982\u4f55\u7528\u7b80\u5355\u7684\u65b9\u6cd5\u5728TF\u5361\u4e0a\u5feb\u901f\u7684\u505a\u4e00\u4e2a\u6587\u4ef6\u7cfb\u7edf\u5462\uff1f\u5f88\u591a\u4eba\u80af\u5b9a\u60f3\u7684\u662f\u628aTF\u5361\u653e\u5230\u8bbe\u5907\u4e0a\uff0c\u7136\u540e\u63d2U\u76d8\u6216\u8005\u5149\u76d8\uff0c\u542f\u52a8\u540e\u5b89\u88c5\u5c31\u884c\u4e86\uff0c\u4f46\u5176\u5b9e\u8fd9\u6837\u505a\u8d77\u6765\u9700\u8981\u64cd\u4f5c\u5404\u79cd\u9009\u9879\u8fd8\u6709\u82b1\u8d39\u7684\u65f6\u95f4\u90fd\u5f88\u591a\uff0c\u4e0b\u9762\u6211\u6765\u6559\u5927\u5bb6\u5feb\u901f\u7684\u505a\u4e00\u4e2aLinux\u6587\u4ef6\u7cfb\u7edf\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u9996\u5148\u6211\u4eec\u9700\u8981\u4e00\u4e2aLinux\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5bf9Linux\u7cfb\u7edf\u7684\u6839\u6587\u4ef6\u4e0b\u7684\u6240\u4ee5\u6587\u4ef6\u6253\u5305\u538b\u7f29\uff0c\u6253\u5305\u8fc7\u7a0b\u5c31\u5148\u4e0d\u8bf4\u5566\uff0c\u6211\u4eec\u6765\u5177\u4f53\u8bf4\u8bf4\u5982\u4f55\u8fd8\u539f\u3002<\/p>\n \u7b2c\u4e00\u6b65\uff1a\u5c06U\u76d8\u901a\u8fc7fdisk\u547d\u4ee4\u8fdb\u884c\u5206\u533a<\/strong><\/div>\n \r\n[root@localhost media]# umount \/media\/cdrom #\uff08\u5378\u8f7d\u5df2\u6302\u8f7d\u7684TF\u5361\uff09\r\n[root@localhost media]# fdisk \/dev\/sdd #\uff08TF\u5361\u5206\u533a\uff09\r\n\u6b22\u8fce\u4f7f\u7528 fdisk (util-linux 2.23.2)\u3002\r\n\r\n\u547d\u4ee4(\u8f93\u5165 m \u83b7\u53d6\u5e2e\u52a9)\uff1ad #\uff08\u5220\u9664\u539f\u6709\u5206\u533a\uff09\r\n\u5df2\u9009\u62e9\u5206\u533a 1\r\n\u5206\u533a 1 \u5df2\u5220\u9664\r\n\r\n\u547d\u4ee4(\u8f93\u5165 m \u83b7\u53d6\u5e2e\u52a9)\uff1an #\uff08\u521b\u5efa\u65b0\u5206\u533a\uff09\r\nPartition type:\r\n p primary (0 primary, 0 extended, 4 free)\r\n e extended\r\nSelect (default p): p\r\n\u5206\u533a\u53f7 (1-4\uff0c\u9ed8\u8ba4 1)\uff1a\r\n\u8d77\u59cb \u6247\u533a (2048-15126527\uff0c\u9ed8\u8ba4\u4e3a 2048)\uff1a\r\n\u5c06\u4f7f\u7528\u9ed8\u8ba4\u503c 2048\r\nLast \u6247\u533a, +\u6247\u533a or +size{K,M,G} (2048-15126527\uff0c\u9ed8\u8ba4\u4e3a 15126527)\uff1a+200M #\uff08\u8bbe\u7f6e\u5206\u533a\u5927\u5c0f\uff09\r\n\u5206\u533a 1 \u5df2\u8bbe\u7f6e\u4e3a Linux \u7c7b\u578b\uff0c\u5927\u5c0f\u8bbe\u4e3a 200 MiB\r\n\r\n\u547d\u4ee4(\u8f93\u5165 m \u83b7\u53d6\u5e2e\u52a9)\uff1an\r\nPartition type:\r\n p primary (1 primary, 0 extended, 3 free)\r\n e extended\r\nSelect (default p): p\r\n\u5206\u533a\u53f7 (2-4\uff0c\u9ed8\u8ba4 2)\uff1a\r\n\u8d77\u59cb \u6247\u533a (411648-15126527\uff0c\u9ed8\u8ba4\u4e3a 411648)\uff1a\r\n\u5c06\u4f7f\u7528\u9ed8\u8ba4\u503c 411648\r\nLast \u6247\u533a, +\u6247\u533a or +size{K,M,G} (411648-15126527\uff0c\u9ed8\u8ba4\u4e3a 15126527)\uff1a\r\n\u5c06\u4f7f\u7528\u9ed8\u8ba4\u503c 15126527\r\n\u5206\u533a 2 \u5df2\u8bbe\u7f6e\u4e3a Linux \u7c7b\u578b\uff0c\u5927\u5c0f\u8bbe\u4e3a 7 GiB\r\n#\uff08\u4e0d\u8f93\u5165\u503c\uff0c\u9ed8\u8ba4\u5c06\u6240\u6709\u5bb9\u91cf\u5206\u4e3a\u4e00\u4e2a\u533a\uff09\r\n\u547d\u4ee4(\u8f93\u5165 m \u83b7\u53d6\u5e2e\u52a9)\uff1ap #\uff08\u67e5\u770b\u5206\u533a\uff09\r\n\r\n\u78c1\u76d8 \/dev\/sdd\uff1a7744 MB, 7744782336 \u5b57\u8282\uff0c15126528 \u4e2a\u6247\u533a\r\nUnits = \u6247\u533a of 1 * 512 = 512 bytes\r\n\u6247\u533a\u5927\u5c0f(\u903b\u8f91\/\u7269\u7406)\uff1a512 \u5b57\u8282 \/ 512 \u5b57\u8282\r\nI\/O \u5927\u5c0f(\u6700\u5c0f\/\u6700\u4f73)\uff1a512 \u5b57\u8282 \/ 512 \u5b57\u8282\r\n\u78c1\u76d8\u6807\u7b7e\u7c7b\u578b\uff1ados\r\n\u78c1\u76d8\u6807\u8bc6\u7b26\uff1a0xcc035aee\r\n\r\n \u8bbe\u5907 Boot Start End Blocks Id System\r\n\/dev\/sdd1 2048 411647 204800 83 Linux\r\n\/dev\/sdd2 411648 15126527 7357440 83 Linux\r\n\r\n\u547d\u4ee4(\u8f93\u5165 m \u83b7\u53d6\u5e2e\u52a9)\uff1aw #\uff08\u540c\u6b65\u5206\u533a\uff09\r\nThe partition table has been altered!\r\n\r\nCalling ioctl() to re-read partition table.\r\n\u6b63\u5728\u540c\u6b65\u78c1\u76d8\u3002\r\n<\/pre>\n |