全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
手工格式化硬盘# fdisk /dev/sda /进入分割硬盘模式The number of cylinders for this disk is set to 19457.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)Command (m for help): d /删除一个分区Selected partition 1Command (m for help): w /写入磁盘退出分区程序,按w这个分区就等于是删除了The partition table has been altered!Calling ioctl() to re-read partition tablefdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy重 启# fdisk /dev/sdaThe number of cylinders for this disk is set to 19457.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)Command (m for help): n /添加一个新分区Command action e extended p primary partition (1-4)P /显示分区表Partition number (1-4): 1First cylinder (1-19457, default 1):Using default value 1Last cylinder or +size or +sizeM or +sizeK (1-19457, default 19457):Using default value 19457Command (m for help): w /按下w 保存退出皆可,分区工作结束The partition table has been altered!Calling ioctl() to re-read partition table# umount /mnt/usb1 /卸载文件系统,/mnt/usb1是磁盘挂载目录# mkfs.ext3 /dev/sda1 /格式化,其中/dev/sda1是硬盘分区名,而不是硬盘设备名mke2fs 1.41.5 (23-Apr-2009)Filesystem label=OS type: LinuxBlock size=4096 (log=2)Fragment size=4096 (log=2)9773056 inodes, 39072080 blocks1953604 blocks (5.00%) reserved for the super userFirst data block=0Maximum filesystem blocks=01193 block groups32768 blocks per group, 32768 fragments per group8192 inodes per groupSuperblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872Writing inode tables: done Creating journal (32768 blocks): doneWriting superblocks and filesystem accounting information: doneThis filesystem will be automatically checked every 27 mounts or180 days, whichever comes first. Use tune2fs -c or -i to override.#重 启动fdisk -l /dev/sda ,观察硬盘之实体使用情形,可以查看磁盘格式化情况附录:按m是显示命令帮助出现如下界面Command action a toggle a bootable flag 设置引导扇区 b edit bsd disklabel 编辑卷标(linux下使用的卷标bsd通用) 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 partitions system id 修改分区
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 电气设备检修维护策略
- 大气污染预警系统构建
- 遥感影像解译技术研究
- 古生物化石鉴定与地层划分
- 注射剂澄明度控制技术
- 皮影艺术的数字化发展
- 小旧渔船转让协议书
- 巧家库区移民协议书
- 工地用吊车合同范本
- 小吃街抽成合同范本
- 医疗机构停空调应急预案
- 2025年中国市政工程西南设计研究总院有限公司招聘笔试参考题库附带答案详解
- 商业银行信息科技风险现场检查指南 (一)
- 《电力安全事故应急》课件
- 2025年重庆轨道交通集团招聘笔试参考题库含答案解析
- 《国家综合性消防救援队伍队列条令(试行)》题库
- DB36T 1593-2022 高速公路日常养护技术规范
- 学宪法讲宪法教学课件
- 学前幼教科学学前中班中班下-中班科学活动:土豆的生长过程
- 默写单(知识清单)-2024-2025学年人教PEP版英语六年级上册
- 【世邦魏理仕】2023中国仓储物流租户调研报告
评论
0/150
提交评论