Ubuntu 10.10 manual disk partitioning guide

16install

UbuntuThe installation program on Ubuntu desktop is pretty basic. It lacks the other features, like support for LVM, RAID, and full disk encryption, that the Ubuntu text installer edition has. By default, it creates just one partition onto which it installs everything. If you want to install Ubuntu on a disk with separate partitions for the major file systems, you will have to partition the disk manually.

This tutorial presents a step by step guide on how to partition a hard disk manually for installing Ubuntu 10.10. Note: This tutorial covers installation on a computer with a single disk and no other operating system already installed.

The image below is the first during the installation process where disk partitioning is about to begin. Like virtually all graphical installation programs, the Ubuntu installer is capable of detecting the presence of another OS on the disk. If there is, it is also capable of installing itself alongside the other OS – if you opt to. For this tutorial, the option to select is “Specify partitions manually (Advanced)”. That option offers the freedom to partition the disk anyway you want. Click on the Forward button to continue.

partitions
Select manual option

The hard drive on the computer used for this tutorial is about 640 GB in size, but I am going to use just a fraction for this installation. The rest will be used to installation another OS in a dual-boot configuration. I could have installed the other OS first and then Ubuntu last, but it does not matter. It works either way. Note: If the other OS is Windows (any version), always install it first, then install Ubuntu last.

Related Post:  Final Term: A terminal emulator to rule them all

To begin creating partitions, select the free space and click on the Add… button.

10install
Select free space to start creating partitions

In a default installation of Ubuntu, the installer creates just one primary and one logical partition. The primary partition is for /, the root file system, while the logical partition is used for swap. In this tutorial, we are going to create three primary partitions (one less than the maximum of four allowed by the traditional disk partitioning system), and one logical partition.

The first primary partition will be for /boot, which is the file system where boot-related files are kept. The space requirement of this partition is minimal.About 500 MB is recommended. For file system type (Use as), the default is Ext4 journaling file system. The Mount Point should, of course, be /boot. OK.

11install
Create the /boot partition

With the first partition out of the way, repeat the process to create the next partition, which will be used for /. Note that by default, the installer will try to create any partition after the first one created above as a logical partition. So be sure to select Primary. Sticking with the default, that is, Logical will not break anything, but it just does not make much sense. The size assigned is 20 GB, and the mount point is, of course, /.

Related Post:  Ubuntu TV: Can it gain a foothold in the market place?

Keep in mind that a default installation of Ubuntu 10.10 takes up less than 3 GB of disk space, so 20 GB is more than enough for /. If you intend to create separate partitions for the other major file systems, like /usr, /tmp and /var, you may reduce the size allocated to this partition. OK.

12install
Create the / partition

The next partition, which will be the last primary partition, will be for swap space. If I have the disk space to spare, I normally allocate about 4 GB to 5 GB to the swap partition. For Use as, select swap area. OK.

13install
Create the swap partition

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Hola! Did you notice that LinuxBSDos.com no longer run network ads?  Yep, no more ads from the usual suspects that track and annoy you across the Internet. But since I still need to pay to keep the site running, feel free to make a small donation by PayPal or your favorite cryptocurrency.

  • Bitcoin
  • Ethereum
  • Xrp
  • Bitcoin cash
  • Bitcoin sv
  • Litecoin
  • Binance coin
  • Cardano
  • Ethereum classic
Scan to Donate Bitcoin to bc1qzvlte2m224zkayhdc7fdfjkp2rsgt0l5a496ua

Donate Bitcoin to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin

Scan to Donate Ethereum to 0x0F4362DFF77F3Ba0Dc637F5f3Eba35D09a2fA60C

Donate Ethereum to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum

Scan to Donate Xrp to r4ggjvL36njsMCYTkJ3S7cTHscPsMsSGQv

Donate Xrp to this address

Scan the QR code or copy the address below into your wallet to send some Xrp

Scan to Donate Bitcoin cash to qrs0dedzp9t55af3nfwypydghp29r0xguy9s20fz2k

Donate Bitcoin cash to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin cash

Scan to Donate Bitcoin sv to 15K9TLyVDBtLuG9cYvXCX9SSkq9C9oUKHK

Donate Bitcoin sv to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin sv

Scan to Donate Litecoin to LetJ9QQMb7u2LMZ9Tu6rtHwcBcQFW98fbG

Donate Litecoin to this address

Scan the QR code or copy the address below into your wallet to send some Litecoin

Scan to Donate Binance coin to bnb1ga8trq08ssqepd90v6225nzfgy448pu5pw8gxp

Donate Binance coin to this address

Scan the QR code or copy the address below into your wallet to send some Binance coin

Scan to Donate Cardano to addr1qx2354yw49etstfljpdhwja3ajjlt487lg95vu9ngy2q6vu4rf2ga2tjhqknlyzmwa9mrm997h20a7stgectxsg5p5esq5l7d9

Donate Cardano to this address

Scan the QR code or copy the address below into your wallet to send some Cardano

Scan to Donate Ethereum classic to 0xcD6CC972a2297FcafACDcfE042C55C69516a9264

Donate Ethereum classic to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum classic

Subscribe for updates. Trust me, no spam!

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
4. Axo Finans.

Upcoming events

24 Responses

  1. Can you help me? My older brother installed Linux on my computer and created another partiton just for other data, like files, gtames, images and so on. And he left, not telling me how to swap partitions from the main one, with ubuntu system files to the other, memory one. I would be glad if you can reply, as I couldn’t find anything.
    Apkarp

    1. Provide a little bit more detail, and we’ll see if we can help. What operating systems are installed on the PC?

      Have you called your bro to find out exactly what he did?

      1. I don’t have contact with him right now, but I was watching what he was doing. First he started installing Ubuntu, and created a system partition, on which system was saved. There is a little place for files too, but it’s not much, then he added a swap partition and a partition only fro files, with no system on it (not sure how is it called though). I have only Ubuntu on my computer. Ah, and he said, that he is adding a partition, so if someday I would install windows, then files on this partition could be used from both linux and windows
        Sorry for my english, I’m from Poland.

        1. Ok, what do you want to do, that is, what do you want help with? What edition of Ubuntu is installed on the PC?

          Also, can you post the output of “df -h”. To do that, open a shell terminal, then type “df -h” without the quotes. Then, copy and paste the output so we can see what the partitioning scheme looks like. I think your bro likely created an NTFS partition, but post the output and let’s confirm.

          1. I have Ubuntu 11.04, but I use ubuntu classic skin (probably it doesn’t change anything, but in case of…)

            /dev/sda1 33G 24G 7.6G 76% /
            none 1.6G 680K 1.6G 1% /dev
            none 1.6G 1.4M 1.6G 1% /dev/shm
            none 1.6G 216K 1.6G 1% /var/run
            none 1.6G 0 1.6G 0% /var/lock
            /home/adam/.Private 33G 24G 7.6G 76% /home/adam

            This is what was shown when I entered “df -h”, but I’m kinda sure, that I have more memory there… But I am still learning very basics of Ubuntu, so probably I’m wrong.

  2. My instalation gets stuck at “detecting file systems” ? please help me out. how to continue instalation after that.

    1. Have you tried restarting the installation? What are our hardware specs?

      Btw, I hope you are aware that Ubuntu 11.10 has been released. If you are going to install a distro, you might have well install the latest. See the review here

  3. I have one physical and one logical for my WinXP. When I try to install Ubuntu 10.10, I cannot create more than 2 partitions. May I know how to do it? (creating 3 primary and 1 logical as shown in this example)

    I tried to partition in my WinXP first, but I found out now, I can only create logical partition in WinXP.

    Please advise. Thanks

    1. If you have 1 primary and 1 logical in WinXP, how does Ubuntu’s installer see them – /dev/sda1 and /dev/sda2, or /dev/sda1 and /dev/sda5?

      In either case, you can only create two more primary partitions because the system will not allow more than 4 primary partitions. That’s the way it is.

      If the installer recognizes the partitions as sda1 and sda2, you can create the first partition as a primary partition, and subsequent partitions as logical. In this case, the first partition created will be /dev/sda3, and the logical partitions will be /dev/sda5, /dev/sda5, etc.

      If your goal is to dual boot WinXp and Ubuntu, these tutorials could be of help:

  4. Hey, I’ve installed Ubuntu 10.10 with no swap, and now I want the system to use a swap memory. With GParted I created the swap space and formated it for doing that, and now this memory is not in use. How do I make Ubuntu see and use this swap memory? Thanks in advance!

    1. I think you have to add an entry for it in /etc/fstab.

      Here’s what an entry in Linux Mint 10 looks like:

      proc /proc proc nodev,noexec,nosuid 0 0
      /dev/sda3 / ext4 errors=remount-ro 0 1
      /dev/sda1 /boot ext2 defaults 0 2
      /dev/sda2 none swap sw 0 0

      Be sure to change the file system (/dev/sda2 above) to match your system.

      Btw, I did not know that you could install Ubuntu without swap.

  5. agreed! no ext4 for /boot, this is a case where journaling doesn’t apply. ext2 is sufficient and faster.

    1. and further i can’t see anyone needing 20GB for /, ever! unless they are using /opt for extra programs. 8GB should be a super dooper liberal amount even for the most “load every program from the repository and never clean apt” kinda user.

  6. You love troubles. Or is there other reason why you formated /boot with ext4 fs? ext2 is far better option for /boot partition…

  7. Another note: the Ubuntu desktop installer is pretty lo-fi. But you can use encrypted partitions with it anyway. Just prepare your partitions with fdisk, set it up as LUKS, pre-mount the crypted partitions, and start the installer afterwards. It will pick those settings up. However, it requires some post-processing still (chroot to target partition, adapt fstab and crypttab, and install ‘cryptsetup’ package to have boot image updated).

Leave a Reply

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

Get the latest

On social media
Via my newsletter

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
4. Axo Finans.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.

Categories
Archives

The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.