Expand the system space available for PortableUbuntu

Source: Internet
Author: User
The boot screen/diagram of PortableUbuntu used by the Linux community is step-by-step. For a long time, Ubuntu finally ran on my NB ~ This PortableUbuntu is based on Ubuntu8.04 and is in file E! Change Chinese: Select Chinese in System-& gt; Administration-& gt; LanguageSupport (do not select traditional Chinese ~) Upgrade

Portable Ubuntu startup screen for Linux community

Step by step, the long-lost Ubuntu finally ran on my NB, that happy ~ This Portable Ubuntu is based on Ubuntu 8.04 and is in the E-file format!

Change Chinese: Select Chinese in System> Administration> Language Support (do not select traditional Chinese ~)

Upgrade to Ubuntu 8.10: Enter the following command on the terminal: sudo update-manager-dc (remember to patch the system with the manager first)

During the upgrade to 8.10, you will encounter insufficient disk space and the upgrade will stop. Now you need to know how to expand the system!

Related reading: Portable Ubuntu: Run Ubuntu on a Windows Operating System
Http://www.linuxidc.com/Linux/2009-04/19280.htm

First, open the images folder in the system folder in the command line and enter the command fsutil file createnew rootfs _. img 4294967296 (this is the size, 4 GB here) to create a new image file.

In the config folder, change portable_ubuntu.conf's cobd3 = "D: \ Documents ents and Settings \ czw5hv \ Application Data \ Windux \ images \ root. img" to cobd3 = images \ rootfs _. img.

Run Portable Ubuntu and enter

Sudo su

Dd if =/dev/cobd0 of =/dev/cobd3

Fsck. ext3-f/dev/cobd3

Resize2fs-f/dev/cobd3

After running the command (wait for a while), disable Portable Ubuntu and run the new rootfs _. change img to rootfs. img (the original name is changed to another name. Do not delete it for the time being), and replace the changes in portable_ubuntu.conf. Run the command to check whether the operation is successful (if the operation fails, you can try again)

PS: I used Linux QQ. Haha, it's really good ~ "

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.