解决 VirtualBox 4GB 文件大小限制

发布于 2024-09-18 11:47:25 字数 1459 浏览 10 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

手心的海 2024-09-25 11:47:25

如果您在来宾中配置了 LVM,则只需创建另一个 vdi。添加到机器上。然后挂载它并添加到lvm作为物理卷。

接下来您可以调整逻辑卷的大小。它有效!

如果您没有配置 LVm。您可以添加 vdi 和 mount。但它可能只是文件系统的另一部分。您可以做的是将 /home 目录迁移到这个新卷,然后将其安装为 /home。

If you have LVM in guest configured, then just create anothe vdi. Add to the machine. Then mount it and add to lvm as Physical Volume.

Next you can resize the Logical volume. And it works!

If you do not have LVm configured. Than you can add vdi and mount.But it will probably be just another part of filesystem. What you can do is to migrate your /home dir to this new volume, and then mount it as /home.

匿名。 2024-09-25 11:47:25

文件系统:fat32(vdi 文件所在位置)

这就是 4GB 文件大小限制的来源。使用 ext3(Linux 默认)或 Reiser 或任何其他现代文件系统。

filesystem: fat32 (where the vdi file is located)

That's where the 4GB file size limit comes from. Use ext3 (default for linux) or Reiser or any of the other modern filesystems.

爱冒险 2024-09-25 11:47:25

您可以像这样创建分割磁盘映像:

VBoxManage createhd --filename /path/to/my-disk.vmdk --size 8192 --format vmdk --variant split2g

You can create a split disk image like so:

VBoxManage createhd --filename /path/to/my-disk.vmdk --size 8192 --format vmdk --variant split2g
不…忘初心 2024-09-25 11:47:25

现在有了 Virtualbox 4.0,您可以调整 VDI 的大小!

Now that there is a Virtualbox 4.0, you can resize VDI!

可遇━不可求 2024-09-25 11:47:25

我的 USB 记忆棒上有便携式 virtualbox,具有 FAT32 文件系统。当我尝试在大小限制为 100Gb 的虚拟机上使用动态 VDI 时,Virtualbox 显示一条建议,告诉您使用 NTFS 文件系统而不是 FAT,因为 FAT32 允许最大文件大小为 4 Gb。

I have virtualbox portable on my USB stick, with FAT32 filesystem. When I tried to use a dinamic VDI on a virtual machine with a size limit of 100Gb, Virtualbox display an advice telling to use NTFS filesystem instead of FAT, because FAT32 allows 4 Gb as maximum file size.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文