首页 > 系统 > Linux > 正文

虚拟linux硬盘不够问题的解决方法

2020-06-07 13:10:15
字体:
来源:转载
供稿:网友
今天准备装Oracle 9i,需要空间4G多,空间不够,多加一个虚拟硬盘来解决此问题:

  1,VM-->setting-->add-->hard disk-->IDE-->划分最大空间-->完成

  2,把新的IDE硬盘分区并且格式化

  1 IDE接口设备是以hd命名,通常有两个IDE接口,连接4个IDE设备,分别为hda,hdb,hdc,hdd,我多加的硬盘是用第一个IDE接口的第二个设备口,所以是hdb。

  2 用fdisk给hdb分区 fdisk /dev/hdb 显示如下

.......
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-22192, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-22192, default 22182): 22192

Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): 83

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表