About the Ubuntu10.04 disk space problem

Source: Internet
Author: User

recently due to project issues, need to write their own driver, but the drive knowledge is too little, began to play a kernel of their own, did not think of the kernel is good, Ubuntu standby but can not login, restarted several times also not, and the color is blue, The upper right corner also hint: install problem, make very blindfolded, thought with so long, installation will have problems, not to go in the words of my inside of the program is not, the feeling of Baidu a bit, the original disk space is full. There are two ways of summarizing this.

combined, the operation is as follows:

(1) login interface as above;

(2) The first step:

Turn off Ubuntu open settings, configure storage inside the IDE controller for select Ubuntu10.04.4***.iso disc image, save after opening Ubuntu, when the word virtual box is displayed, press "ESC" key, enter the following interface, then select the language " Chinese ", confirm and then select the first pre-installation, wait until the normal desktop, open the terminal;

(3) step three:

After opening terminal, enter the Super user, enter: fdisk-l, view the primary partition (my is sda1);

Then enter the command to mount the original system on the current system: MOUNT/DEV/SDA1/MNT; (on the Internet to find a predecessor with four orders, but I only use this one to succeed, the following three sentences can also try: Mount--bind/proc/mnt/proc, Mount--bind/dev/mnt/dev, Mount--bind/sys/mnt/sys);

then enter "Chroot/mnt" into the original system, and enter "/home" to confirm whether it is your own before the file directory;

(4) if it is, then the success, and then enter "Df-h" to see the remaining disk space, if full, delete unnecessary files, and then "Exit" command Exit Chroot, and then uninstall the Mount directory input "Umount/mnt", and then restart the system, Change the startup item to hard disk boot, ok! After restarting, you can see your original interface!

--------------------------------------------------------------------------------------------------------------- --------

(5) The first method is finished, the relative second is more complex, because the second method I did not succeed a few times, so take the first kind, and then try the second can also, but also simple:

When the power on the "ctrl+alt+f1" into the character interface, and then enter the user name and password to log in, after logging in "df-h" to see the disk space consumption, the first "/DEV/SDA1" is the primary partition, if "Size" and "used" the value is equal, the proof disk is full, At this point, go to the home directory to delete unnecessary files, and then check the disk occupancy, and then restart the system!

About the Ubuntu10.04 disk space problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.