vmware虚拟机中linux系统下挂载卸载新硬盘的方法.docxVIP

  • 9
  • 0
  • 约5.07千字
  • 约 13页
  • 2021-04-12 发布于天津
  • 举报

vmware虚拟机中linux系统下挂载卸载新硬盘的方法.docx

VMware 虚拟机中, Linux 系统下挂载、卸载新硬盘的方法 VMware 虚拟机中, Linux 系统下挂载、 卸载新硬盘的方 2012-03-19 16:55:30我来说两句 2012-03-19 16:55:30 我来说两句 收藏 我要投稿 VMware 虚拟机中, Linux 系统下挂载、卸载新硬盘的方法 装载: 1、启动 vm ,选择 vm-gt;Settings, 按向导添加一块 SCSI 磁 盘。进入 Linux 系统。 2、 fdisk -l 会看到有一块新的设置 ,如果你先前有一块硬盘 (sda1, sda3...),新加的这块应该是 (/dev/sdb) 。 [root@localhost ~]# fdisk -l Disk /dev/sda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device BootStartEndBlocks Id Device Boot Start End Blocks Id System System /dev/sda1 *13 /dev/sda1 * 13 104391 83 83 Linux /dev/sda31410448281507+ /dev/sda3 14 1044 8281507+ 83 Linux Disk /dev/sdb: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdb doesnt contain a valid partition table 3、分区: [root@localhost ~]# 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, until you decide to write them. After that, of course, the previous content wont be recoverable. The number of cylinders for this disk is set to 1044. 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) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): m Command action toggle a bootable flag edit bsd disklabel toggle the dos compatibility flag delete a partition list known partition types print this menu add a new partition create a new empty DOS partition table print the partition table quit without saving changes create a new empty Sun disklabel change a partitions system id change display/entry units verify the partition table write table to disk and exit extra functionality (experts only) Command (m for help

文档评论(0)

1亿VIP精品文档

相关文档