增加虚拟机下的Ubuntu分区大小

柔音

我将MacBook与Mac OS X 10.9.1结合使用我已经安装了VMWare Fusion 6.0.2已将Ubuntu 12.04 LTS作为虚拟机安装。

现在,我需要增加的磁盘大小UbuntuGParted显示80G未分配:

在此处输入图片说明

但是,右键单击第一个分区显示Resize/Move为灰色,然后我不知道如何继续...

PS:这个帖子似乎有同样的问题一,如果是这样,任何人都可以告诉我怎么Boot from the Ubuntu LiveCDVMWare Fusion

编辑1:

我在VMWare中设置了以下内容以尝试Boot from the Ubuntu LiveCD

在此处输入图片说明 在此处输入图片说明 在此处输入图片说明

Once started, it is odd that I didn't see anything different from a boot from hard disk... Still, I opened terminal, turned swap off, and launched GParted. In GParted, I deleted the swap (as well as the whole extended partition containing it). However, I could not resize/move /dev/sda1. Could anyone help?

在此处输入图片说明

Edit2:

Following the comment of @Hadi , I think creating another disk is not a bad idea, a disk usage analysis shows the follows. Could anyone suggest which of my folders should be mounted to a newly created disk?

在此处输入图片说明

Avinash Raj

You have to boot from Ubuntu live disk.So that you can be able to resize your installed Ubuntu partition on Virtualbox.

  1. First Right-click on the Ubuntu virtual machine and select settings option.From the settings menu, select Storage option.Finally choose CD/DVD virtual disk file(choose an iso file of Ubuntu in which you want to boot).I had choosed Ubuntu 13.04 iso file.

    在此处输入图片说明

  2. Now from the Ubuntu settings, select System option.From the boot-order, enable only CD/DVD option and put it on the top.

    在此处输入图片说明

  3. Now strat the selected Ubuntu virtual machine(Ubuntu is name given for my virtual machine).

  4. It will boot from the iso file(live disk) you have to select Try Ubuntu option on startup.Then open gparted from dash.

    在此处输入图片说明

    In my case /dev/sr0 represents Ubuntu 13.04 live disk and /dev/sda1 represents the partition where Ubuntu 13.10 is installed.

  5. 现在,您可以/dev/sda像上面的屏幕截图一样卸载所有磁盘分区。

  6. /dev/sda1通过添加ext4分区来调整ext4分区的大小,或者仅从可用空间中添加一些空间,然后使用剩余空间创建扩展分区(在其中进行交换)。

  7. 调整大小后,请关闭虚拟机,然后在虚拟机设置上将启动顺序更改为“硬盘”。

  8. 它会从硬盘启动,现在您的Ubuntu分区大小将被调整大小。

注意:我正在运行虚拟盒而不是vmware融合。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

增加虚拟机下的Ubuntu分区大小

来自分类Dev

从虚拟机调整物理分区的大小

来自分类Dev

如何增加虚拟机的硬盘大小?

来自分类Dev

如何增加虚拟机的硬盘大小?

来自分类Dev

如何增加 GNOME Boxes (QEMU) 使用的虚拟机的根分区大小?

来自分类Dev

无法通过Azure管理门户增加虚拟机大小

来自分类Dev

如何增加Google Cloud虚拟机的大小?

来自分类Dev

从增加的磁盘大小中恢复虚拟机

来自分类Dev

Windows 7下的ubuntu虚拟机的SCP:连接被拒绝

来自分类Dev

虚拟机是否需要交换分区?

来自分类Dev

虚拟机中增加的磁盘大小,但是gdisk不想使用新空间

来自分类Dev

如何减小虚拟机大小?

来自分类Dev

无法调整虚拟机大小

来自分类Dev

如何增加VB分辨率?(Ubuntu主机,Windows 7 guest虚拟机。)

来自分类Dev

将ubuntu安装到虚拟机

来自分类Dev

Ubuntu虚拟机路由问题

来自分类Dev

使用腻子更新Ubuntu虚拟机

来自分类Dev

Ubuntu虚拟机屏幕尺寸问题

来自分类Dev

在VMWare Fusion下的Ubuntu guest虚拟机中没有/ mnt / hgfs

来自分类Dev

增加Ubuntu(12.04)分区大小

来自分类Dev

增加Ubuntu(12.04)分区大小

来自分类Dev

如果虚拟机大小已更新,Azure虚拟机软件会怎样?

来自分类Dev

创建虚拟机实例后如何扩展默认分区?

来自分类Dev

是否应在虚拟机映像中使用LVM分区?

来自分类Dev

用于写虚拟机软CPU的分区内存

来自分类Dev

在虚拟机中创建一个分区!

来自分类Dev

将Ubuntu物理机转换为虚拟机

来自分类Dev

将Ubuntu物理机转换为虚拟机

来自分类Dev

从虚拟机导出 ubuntu/linux 安装到物理机