歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 虛擬linux硬盤不夠問題的解決方法

虛擬linux硬盤不夠問題的解決方法

日期:2017/2/28 17:38:04   编辑:Linux教程
今天准備裝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.
Copyright © Linux教程網 All Rights Reserved