手工格式化硬盘

手工格式化硬盘

ID:39800231

大小:30.00 KB

页数:4页

时间:2019-07-11

手工格式化硬盘_第1页
手工格式化硬盘_第2页
手工格式化硬盘_第3页
手工格式化硬盘_第4页
资源描述:

《手工格式化硬盘》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、手工格式化硬盘#fdisk/dev/sda//进入分割硬盘模式Thenumberofcylindersforthisdiskissetto19457.Thereisnothingwrongwiththat,butthisislargerthan1024,andcouldincertainsetupscauseproblemswith:1)softwarethatrunsatboottime(e.g.,oldversionsofLILO)2)bootingandpartitioningsoftwarefromothe

2、rOSs(e.g.,DOSFDISK,OS/2FDISK)Command(mforhelp):d//删除一个分区Selectedpartition1Command(mforhelp):w//写入磁盘退出分区程序,按w这个分区就等于是删除了Thepartitiontablehasbeenaltered!Callingioctl()tore-readpartitiontablefdisk:WARNING:rereadingpartitiontablefailed,kernelstillusesoldtable:Devi

3、ceorresourcebusy重启#fdisk/dev/sdaThenumberofcylindersforthisdiskissetto19457.Thereisnothingwrongwiththat,butthisislargerthan1024,andcouldincertainsetupscauseproblemswith:1)softwarethatrunsatboottime(e.g.,oldversionsofLILO)2)bootingandpartitioningsoftwarefromoth

4、erOSs(e.g.,DOSFDISK,OS/2FDISK)Command(mforhelp):n//添加一个新分区Commandactioneextendedpprimarypartition(1-4)P//显示分区表Partitionnumber(1-4):1Firstcylinder(1-19457,default1):Usingdefaultvalue1Lastcylinderor+sizeor+sizeMor+sizeK(1-19457,default19457):Usingdefaultvalue194

5、57Command(mforhelp):w//按下w保存退出皆可,分区工作结束Thepartitiontablehasbeenaltered!Callingioctl()tore-readpartitiontable#umount/mnt/usb1//卸载文件系统,/mnt/usb1是磁盘挂载目录#mkfs.ext3/dev/sda1//格式化,其中/dev/sda1是硬盘分区名,而不是硬盘设备名mke2fs1.41.5(23-Apr-2009)Filesystemlabel=OStype:LinuxBlocksi

6、ze=4096(log=2)Fragmentsize=4096(log=2)9773056inodes,39072080blocks1953604blocks(5.00%)reservedforthesuperuserFirstdatablock=0Maximumfilesystemblocks=01193blockgroups32768blockspergroup,32768fragmentspergroup8192inodespergroupSuperblockbackupsstoredonblocks:327

7、68,98304,163840,229376,294912,819200,884736,1605632,2654208,4096000,7962624,11239424,20480000,23887872Writinginodetables:doneCreatingjournal(32768blocks):doneWritingsuperblocksandfilesystemaccountinginformation:doneThisfilesystemwillbeautomaticallycheckedevery

8、27mountsor180days,whichevercomesfirst.Usetune2fs-cor-itooverride.#重启动fdisk-l/dev/sda,观察硬盘之实体使用情形,可以查看磁盘格式化情况附录:按m是显示命令帮助出现如下界面Commandactionatoggleabootableflag设置引导扇区beditbsddisklab

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。