如何在Linux启动时轻松挂载分区

Usually making Ubuntu mount a partition at startup would require fiddling with the “fstab” which is confusing. The easiest way to mount your partitions automatically when you turn on your computer is by reading this article. So let’s get started!

通常在启动时使Ubuntu挂载一个分区将需要弄乱“ fstab”,这会造成混淆。 打开计算机时自动挂载分区的最简单方法是阅读本文。 因此,让我们开始吧!

Image by matsuyuki

图片由

We are going to install the program that will make the process easy is called “Storage Device Manager”. Enter this command in a terminal window to install it:

我们将安装使该过程变得容易的程序,称为“存储设备管理器”。 在终端窗口中输入以下命令进行安装:

sudo apt-get install pysdm

须藤apt-get install pysdm

Or search for it in Ubuntu Software Center

或在Ubuntu软件中心中搜索它

Now fire it up from System > Administration > Storage Device Manager. Once running, from the left hand side panel choose the partition you want to be mounted on startup (expand the hard drives list first). Then click on “Assistant” on the right side.

现在从系统>管理>存储设备管理器中启动它。 运行后,从左侧面板中选择要在启动时挂载的分区(首先扩展硬盘驱动器列表)。 然后单击右侧的“助手”。

Now you are presented with the options window. Just check the “The file system is mounted at boot time” and uncheck the “Mount file system in read-only mode”.

现在,您将看到选项窗口。 只需选中“文件系统在引导时已挂载”,然后取消选中“以只读模式安装文件系统”。

You can edit the other options if you want but be careful, it might damage your system. When done click the “OK” button then hit “Apply”. Close the program and restart to see the effect. That’s it!

您可以根据需要编辑其他选项,但要小心,这可能会损坏系统。 完成后,单击“确定”按钮,然后单击“应用”。 关闭程序,然后重新启动以查看效果。 而已!

翻译自: https://www.howtogeek.com/60817/how-to-auto-mount-partitions-at-linux-startup-the-easy-way/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值