文档详情

Linux下安装硬盘后的操作(国外英文资料).doc

发布:2017-06-09约8.09千字共13页下载文档
文本预览下载声明
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
显示全部
相似文档