- 1、本文档共13页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Linux下安装硬盘后的操作(国外英文资料)
Linux下安装硬盘后的操作(国外英文资料)
/ sbin/fdisk -l to view the hard disk situation, and notice that you need root privileges.
As follows:
= = = = = = = = = = = = = = = = = = = = = = = = = = partition = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
[root @ localhost dinghuaneng] # / sbin/fdisk - l
Disk/dev/sda: 10.7 GB, 10737418240 bytes
255 heads, the 63 sectors/track, 63 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot End Blocks Id System
/dev/sda1 * 1.13 1043983 Linux
/dev/sda2 1478 522112 + 82 Linux swap/Solaris
/ dev/sda3 79 1305 9855877 + 83 Linux
Disk/dev/SDB: 10.7 GB, 10737418240 bytes
255 heads, the 63 sectors/track, 63 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk/dev/SDB doesnt contain a valid partition table
We see that the SDB has no efficient partition table. We partition the SDB.
Operate on the SDB:
Fdisk/dev/SDB
[root @ localhost dinghuaneng] # fdisk/dev/SDB
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only.
You decide to write them. After that, of course, the previous one
The content won t be recoverable.
The number of cylinders for this disk is set to 1305.
There is nothing wrong with that, but this is larger than 1024.
And could in certain setups cause problems.
1) software that runs at boot time
2) booting and partitioning software from other OSs
(DOS FDISK, OS / 2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be used by w (rite)
See help:
Command (m for help) : m
The Command action
A toggle a bootable flag
Edit BSD disklabel b
C toggle the DOS compatibility flag
D the delete a partition
List known partition types
M: print this menu
N add a new partition
O create a new empty DOS partition table
Print the partition table
Q quit without saving changes
S create a new empty Sun disklabel
T change a partitions system id
U change display/entry units
Verify the partition table
W write table to disk and
文档评论(0)