我通过重新安装Ubuntu 12.10来安装Ubuntu 12.04。现在,我的计算机警告我磁盘已快满了。运行apt-get purge
,运行apt-get autoremove
并清空垃圾箱后,我仍然遇到此问题,如Gparted的以下屏幕截图所示:
磁盘/dev/sda7
确实已满。我运行了磁盘使用情况分析器(Baobab),但仍然不确定发生了什么:
我的假设之一是,在安装Ubuntu 12.04时,我没有很好地配置磁盘,并且磁盘/dev/sda6
安装得也不好/home
。确实是这个原因吗?我应该怎么做才能验证这一点,然后解决问题?
Here are a few additional details to answer the questions I received (thank you everybody):
After I mount /dev/sda6
, the command df -h
gives
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 244G 221G 12G 96% /
udev 3,9G 4,0K 3,9G 1% /dev
tmpfs 1,6G 904K 1,6G 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 3,9G 164K 3,9G 1% /run/shm
/dev/sda6 653G 189G 433G 31% /media/8ec2fa69-039b-4c52-ab1b-034d785132a1
Thanks to izx's post, I realized /dev/sda6
was not even mounted before. It contains all the documents I used to have when I was running Ubuntu 11.10.
One of my hypothesis is that when installing Ubuntu 12.04, I didn't configure my disks well and the disk
/dev/sda6
is not mounted well as/home
. Is this the reason indeed?
Yes!
What should I do to verify this
gparted clearly shows that /dev/sda6
, although it contains some data, is NOT mounted as /home
(or as anything).
and then to get the things fixed?
概述:您将临时挂载/dev/sda6
,清理(或格式化它(如果现有数据无关紧要)),将其中的所有内容复制/home
到其中,将其卸载,然后从那时开始/etc/fstab
进行安装/home
。然后重启...
请遵循此官方指南,该指南会更详细地说明该过程,并向我们询问您在评论中可能存在的任何问题或疑虑。
正如@jrg在评论中指出的那样,如果您/home
的加密内容变得更加复杂。如果您处于这种情况,请提出一个新问题,在标题中提及该问题。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句