Linux-Noob Forums
Use a partition to install a new OS - Printable Version

+- Linux-Noob Forums (
+-- Forum: Linux Noob (
+--- Forum: How Do I? (
+--- Thread: Use a partition to install a new OS (/thread-111.html)

Use a partition to install a new OS - John8547 - 2013-03-21

So I want to switch to Ubunto and currently don't have access to a blank external drive/card.

I have a SD card with plenty of memory, but I think you have to use a empty one, please correct me if I'm wrong.

If I am wrong about ^, would I be able to partition some memory, put the .iso in there, and install/replace my OS with that?

If so, how does one partition?

Any help is appreciated.

Use a partition to install a new OS - inittux - 2013-03-21

I think your question is related to your other post? If your SD card already has data on it, it probably already has a filesytem on it because you need a file system in order to write data to it. If it's a sd card it'll probably have FAT32 filesystem on it and it, probably the whole sd card is formatted with that filesystem. Just put the sd card reader of your laptop/desktop and you can just do same as we did before.


df -h

Then you can see the size of the partition on your sd card. Then substract size of your partition of the size of your sd card and that's how much space you will have left over.  If you end up with 0, then all the space of the sd card will have been formatted with a filesystem. You also use the following command to see if there are any partitions on it



#fdisk -l 


sudo fdisk -l

Then you can see the disks and the partitions you have. And you can do it via a graphical interface, which you have to install first



sudo apt-get install gparted
# apt-get install gparted


Then somewhere under administrative tools you can open gparted and see your disks/partitions via a graphical interface.  But to get back to your question, you need to be sure that the current filesystem isn't taken up all of the space on your sd card. If all space of the sd card is formated with a filesystem then you can't install something next to it. If only a small portion is formated with a filesystem, like for example 2GB(of32GB), then you can use the free space to create another file system via the ubuntu installer/disk partitioner. Which you can then install another operation system on. Does that make sense?