Ubuntu Mate in Micro Sd or Pendrive

Hi Guys, let's perform a Mate Ubuntu installation on a micro SD card. I like Micro SD cards better than pendrives. They take up little space, withstand blows, you can step on them, they can get wet, and endure much higher and lower temperatures and excessive electromagnetic radioactivity.

The micro SD cards have many options, you use in mobiles, MP4, photo camera, video camera and with a card reader you can listen to music in the car or a portable player, you can store additional information to take with you, and put in them an operating system like Ubuntu Mate.

I have used Ubuntu since 2008 and I have done this many times, with Linux Mint Mate, Ubuntu 14.04, Ubuntu Mate 14.04 and now Ubuntu Mate 16.04; I always follow the same pattern and works phenomenal.

1 / Get a 64 Gb Micro SD Card (recommended size) from a good brand, which assures you it will last for a long time. Sony, Samsung, Toshiba, etc. ....
The card must have good reading and writing speed. I have long used a Samsung EVO card with 48 Mb/sec read and 15 MB/sec write and it has been sufficient for normal operation. But if you can have one with more speed all the better. I now have Ubuntu Mate on a Samsung EVO plus 80 MB/sec read and 20MB/sec write. With a USB2 port you can have speed up to 60 Mb/sec, and 600 Mb/sec if you have a USB3, but there is no Micro SD that fast.

If you are using Ubuntu remember that you have to have installed the packages needed for ExFAT.
If it does not recognize the ExFAT file on the 64 GB SD card, open Synaptic and click on search ExFAT. You will see the required packages you need to install Exfat, Exfat-fuse and Exfat-utils.

In Mate Ubuntu they come already installed. It is better to make the partition with Gparted before installing, afterwards you configure it during the OS installation. With Gparted you can leave the initial 16Mb Unassigned and go step 3/.

2 / We will setup the Micro Sd card with the Ubuntu ISO 32-bit. We will use 32 bits because this way you will be able to use it in 32 and 64 bits computers. Your computer must have a 32-bit CPU for proper installation, and any OS installed so that the Grub can detect multiple systems.

Continue with usual setup steps, Make the installation without Internet connection. It will take too long, and you will have time to update later. When prompted how to install, it says “More options” below. Click there.

Doing the partitions, you select the partitions of 16 Gb and 32 GB that must be formatted. In the first partition it will prompt “Format now?” You do not do it now, so you press the back button, because everything is formatted at the end of the selections, and you select INSTALL NOW.

3rd / To make partition and format the MicroSd card we will do as follows:

  • For the first 16Mb, we leave UNASSIGNED, as it is close to the start of the card area.
  • For the next 16 Gb, this partition is formatted in FAT32. This partition will be multi-purpose, it can be used to put information you can share with computers, mobile, camera, video cameras, car radio-cd (it can read the music that you store) and other devices. When you start Mate Ubuntu from your Micro SD card it will recognize this partition as external storage. This will be so only with Ubuntu, if you install Linux Mint it will not recognize this partition. You can name this partition so you recognize it when connected to the computer.
  • For the next 40 Mb, you let this partition as UNKNOWN. This is important as Android mobiles
    will not accept Ext4 files from SD cards. If it ever detects it, you will never use the 16 GB partition on the Android mobile. This is to separate FAT32 partition from the Ext4.
  • Next 16 Gb partition is formatted in Ext4. This one is to install the operating system. It is likely that 10 or 12 Gb may be enough though.
  • Then the rest will be approximately 32 Gb and this partition is formatted in Ext4. It will be used to put the home. This area is your personal folder and your desktop,
  • Swap. This partition is not installed, because the Micro SD card does not support such
    data transfer speed. Removing SWAP, RAM memory will perform all the work.

IMPORTANT: Do not forget that when you finish the installation you need to disable the system hibernation and suspension, because if it enters standby it will not work and then you have to shut down your computer and restart. We have no Swap.

You will find next where the boot loader is to be installed. You must put the start of Micro SD card. In my case / deb / sdb Generic-SD / MMC (64.0 Gb)

And then you press INSTALL, and all the changes will apply. It will make the partitions, format the microSD card and begin with the installation of Ubuntu Mate.

Next it will ask for Username, machine name, and Password

  • I recommend to put user password and encrypt the home, so you can keep secure what is important to you and you do not want to see anyone and can always carry with you. If you lose the microSD card no one can access it, the information is safe; but a card is not fail proof, it will last a long time but not for all of your life, so you must have backup on an external disk.

4 / Once the installation is complete you must have your computer's BIOS configured to boot first from USB, then from CD and then Hard Disk.

Booting Ubuntu from your Micro Sd card usually takes about 45 seconds on the computer where you made the installation, but on another computer it will be about 3 minutes and 30 seconds, like when you boot an ISO image, so you should be patient.
Turning off Ubuntu takes 5 seconds or less.

You already have portable Ubuntu Mate, to use on any computer, carry what is important with you, use it with other devices, and taking up little space.

I hope I was not wrong in any explanation, and hope that you enjoy it.

Regards...

5 Likes

Thanks. Maybe I will try this. I didn’t know you could install Linux on one computer and boot it on another.:relaxed:

Yes mrtribute, is good Linux kernel, we can not say the same for Windows,

you can use it on any computer, at work, at a friend’s house, on a Windows computer is damaged and you have to save all data. (I have done).

It will be difficult, but I like to have a MicroSD two Ubuntu Mate installed ,

  • One works on desktop computers, (what I have said above)

  • The other OS on another partition that was able to run on a mobile (android, windows mobile, etc …), use its CPU, using his ram, and GPU, it was a computer operating system, the phone would mouse and keyboard and you only had to find a screen where you work.

would be the best,

regards…

Very interesting article. I have a question: which is the drop of performance between an sd/micro sd and a hard drive? I used to run mate on virtualbox but now I have to develop with cuda so I must have the direct access to the gpu and maybe then I could use it as a stable OS for programming (especially with Jetbrains tools). I know that it depends by the pc but maybe there is a near percentage or you can tell about your experience. Thank you.

Hi Ripper92, I have it another way, Ubuntu mate installed and with Virtualbox I have installed Windows XP, … it can be installed on a sd card, micro sd, pendrive and on external hard drives too, the problem of This is the data transfer in order to work well, you need a minimum USB 2.0 port and if it is USB 3.0 much better. In this case it would be better to have an external hard disk 3.0 and in the installation of Ubuntu Mate add the Swap partition. You can do this perfectly and have no hard drive on your computer. In a laptop with little space too. See if the computer works 32 bits or 64 bits, to have the best performance to your computer. regards…

Today there are very fast Sd cards, exceeding 90 mb / s, with these speeds you need a usb 3.0 port for maximum performance, the hard drives are very fast too, with Usb 3.0, hard drives usually have speed difference Between writing and reading, the writing speed is usually lower. Depends on the manufacturer also varies its read and write speeds,

If you opt for external hard drive, I advise Western Digital for quality of durability and good price.

I leave a few tables of speeds in usb port operations, sata ...... I hope you clarify the options.

In this test performed with hard disks, it is seen that sometimes they do not meet the disks with theoretical speeds.

http://blog.macnificos.com/guia-especial-discos-duros/tutoriales/os-x

regards....

Thank you for the tutorial, but some things aren’t clear to me. First, how do you run the installer? I can’t call it from my Ubuntu MATE desktop. The only that occurs to me is creating a Live ISO and then trying to install the OS on the thumb drive itself that is running the Live session.

hello fredmbarros, sorry if I have not explained it well, this is not a live ISO, it is not done from your desktop, this is a new installation from a DVD with ubuntu Mate, you start the computer from the DVD and perform an installation on a card SD or a pendrive, as you would do it on your hard drive, but with some corrections, greetings …

1 Like

Oh, ok. Now I understand. Thanks a lot!!

Well, it worked. I have my persistent live Ubuntu Mate l, but I then tried to boot into my computer again to meet the “Minimal BASH-like line editing” etc. and then the command prompt “grub>”…

Is there a way for me to get back to my system?

sorry, I have not understood what you have done, have you done the installation on a pendrive or an iso image on a pendrive?