How to expand Ubuntu Mate space for Raspberry pi 2

ubuntu_mate_logo

Sometimes we install one operating system next to another, which is known as dual-boot or dual-boot, and we realize that we have made a mistake when saying how much space to reserve for the new installation we wanted. If you use a Raspberry Pi 2 with Ubuntu MATE and space is running out, below you have a video tutorial that will teach you how expand file system of said system in the micro-computer.

As you know, and if not, I'll tell you about it here and now, Ubuntu MATE Already announced several months ago the final version of the build for Rasbperry Pi 2, a version based on Ubuntu MATE 15.10 Wily Werewolf. The Raspberry Pi 2 edition of Ubuntu MATE is designed from the ground up to offer owners of this small computer a fully functional MATE graphical environment, something that is always appreciated; Better a system created with a purpose than using a modification of it. In the following video you can see how to resize and expand the Ubuntu MATE file system on a Raspberry Pi 2 SBC. The video is courtesy of YouTube user cenkaetaya1.

How to extend the file system of the Raspberry Pi 2

To be able to expand the size of the Raspberry Pi 2 file system with Ubuntu MATE we will have to open a Port and write some commands of which the first is the following:

sudo fdisk /dev/mmcblk0

Once in the program Fdisk we will have to press the sequence of keys d, 2, n, p, 2, Enter, Enter, w. After each letter there is an Enter, important. Next, we reboot the system, open a Terminal and type:

sudo resize2fs /dev/mmcblk0p2

And that's it. It would only be necessary to make the verification, for which it is enough to open a file explorer window and confirm that the memory has been expanded by a few megabytes. Easy, right?


3 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Efrain said

    Hey.

    When I put the command line resize2fs it tells me permission denied, how can I do it?

  2.   jhonatan said

    It helped me to resize it, thank you very much

  3.   mrkaf said

    at the first, thank you very much !!