Re: [问题] Ubuntu boot一下就没空间

楼主: aeolus0829 (阿洽)   2017-11-21 14:16:33
清空间也可以,但我比较喜欢一劳永逸的作法,既然你说一定还有空间
直接把 /boot 放回 /
不要另外切空间给它 (除非你不是新手知道自己在干嘛)
参考这篇的资料
https://serverfault.com/questions/484700/linux-ran-out-of-space-on-boot-directory-what-can-i-do
https://goo.gl/mKwYGQ
*** 温馨提示:以下动作如果有其他因素影响,有可能会无法开机 ***
#开头的文字是需以 root 身份执行的指令
# mkdir /boot.original
备份 /boot -> /boot.original
# rsync -arzgov /boot/ /boot.original/
退出 (缷载) /boot 分割区
# umount /boot
把备份改个名正式上场
# mv /boot.original/ /boot/
把 /boot 那一行的挂载指令注解掉 (在最前面加个 #)
# vi /etc/fstab
重开机即可
※ 引述《tokyolympic (tokyolympic)》之铭言:
: 使用版本Ubuntu 16.04
: 系统灌在一个30 gb 的msata上
: 然后另外有一颗3tb的2.5硬盘
: 主要就上网看youtube还有用qBittorrent抓电影
: 抓下来电影就丢到3tb那颗
: 大概这样用了八个月
: 现在系统没容量了
: 连一个500多mb的系统更新都没办法install
: 小弟Ubuntu新手
: 懂得很少所以提供一些截图
: https://imgur.com/a/UDQuD
: https://imgur.com/a/5Ktxo
: https://imgur.com/a/H2gFP
: 30GB的msata上一定是还有空间的
: 但是系统就是没空间
: 请问要如何解决这问题?
: 谢谢
作者: OrzOGC (洞八达人.拖哨天王)   2017-11-21 17:34:00
多系统的话还要考虑其他问题...
作者: Bellkna (柔弱气质伪少女)   2017-11-21 18:28:00
btrfs的话 还要考虑grub不能存开机选单的问题(?
作者: fourdollars (四元)   2017-11-22 14:22:00
直接到 /boot 底下将目前没使用到的档案全删掉就好了像是可以直接 sudo rm -fr /boot/*.old-dkms
作者: galic (嘎利)   2017-11-22 22:44:00
删错就只是不能开机而已 很简单的
楼主: aeolus0829 (阿洽)   2017-11-23 09:36:00
他新手 不能开机只能找人帮忙了 的确很简单 XD
作者: dou0228 (7777)   2017-11-23 09:59:00
真的很简单~?

Links booklink

Contact Us: admin [ a t ] ucptt.com