我可以使用我的交换内存来增加 Ubuntu 20.04 的存储吗?

哈克曼

我不小心(实际上是粗心大意)为我的双引导 Ubuntu 20.04 安装和 Windows 10 提供了 11gb 交换内存。我已经为根分区分配了 25gb,我想扩展它。我可以将交换内存转换为 Ubuntu 中的根存储吗?如果是这样,如何?如果没有,有什么替代方案吗?

我是一个完整的 Linux 菜鸟,如果这是一个愚蠢的问题,我很抱歉!

编辑:这是我正在谈论的交换分区

编辑 2:以下是我在 Gparted 中看到的内容。/ext4是我的根分区,下面unallocatedlinux-swap. 那我可以调整大小吗?

在此处输入图片说明

贾斯泰克

Use disk management tool gparted. If not installed you can install it using $ sudo apt update && sudo apt install gparted. Launch the app as a super user $ sudo gparted and enter the password when prompted. You will see the logical representation of your storage device.

It is possible to make these changes if and only if your swap partition is adjacent to the right of the root partition otherwise you are limited! If this is true, proceed to swapoff and resize your partition from left to right creating an unallocated space adjacent to the right of the root partition. After that move the root partition to the right adding the an unallocated space. A green icon should appear to the top asking to apply all changes. Click and proceed as prompted and you are good to go.

For detailed information on how to use gparted find it here.

希望这可以达到您的目的。成功!

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

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

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

我可以使用Java来执行“寻求1 + 2!+ 3!+ ... + 20!并且”吗?

我可以使用重构来交换变量的类型吗?

当匹配计数大于某个阈值时,我可以使用 C++20 范围来中断吗?

我可以从Ubuntu存储库安装VirtualBox Extension Pack吗?

我可以使用已安装的Ubuntu Live吗?

我可以使用Java为ubuntu开发gui吗

我可以使用Ubuntu进行Clojure开发吗

我可以使用Ubuntu进行网络管理吗?

我的网络可以使用Ubuntu Openstack吗?

我可以使用Debian软件包构建环境来构建Ubuntu软件包吗?

带有 Ubuntu-20-04 的 HP Elitebook 上的触摸板按钮不起作用

我可以使用Ubuntu安装程序分区工具(Win 8.1和Ubuntu 13.04)吗?

如果Ubuntu软件(16.04版)无法正常工作,我可以使用Ubuntu软件中心吗?

我可以使用Visual Studio来跟踪对表和存储过程的更改吗?

我可以使用Object#hashCode来存储密码的哈希值吗?

我们可以使用 KeyStore 来存储敏感数据吗

我可以使用更新存储过程来保存带有微风的视图吗?

我可以使用 Android PreferenceActivity / PerferenceManager 来存储用户管理的字符串列表吗?

我可以使用基于noSQL的文档来存储json对象吗?

我可以使用jwt来存储用户的购物车商品直到结帐吗?

我们可以使用ArrayList来存储WebElement吗?

我可以使用Azure Active Directory来保存应用程序的用户存储吗?

我可以使用 mule 对象存储来持久化 HTTP 连接吗?

即使我的Ubuntu发行版的存储库尚未更新,我也可以安装软件吗?

其他基于Debian的发行版可以使用Ubuntu的存储库吗?

除Ubuntu之外,我还可以使用启动盘创建程序来刷新另一个iso吗?

我的设备可以在Ubuntu上使用吗?

我可以在Ubuntu上使用Homebrew吗?

我们可以清除 Ubuntu 中的内存缓存吗