I am setting up a server using Ubuntu Server 16.04 and I have 5 GB of free space on my drive that I want to partition into space used for installing the system. What option should I select under "How to use this partition:"? These options include (but are not limited to) Ext4 journaling file system, FAT16 file system, EFI System Partition and Reserved BIOS Boot Area. There are 15 options, including "do not use the partition". Which should I select?
121899
I would like to make a new installation of Lubuntu Core I will use only Lubuntu Core on this machine. I use a    I will have very few files on HDD, some poor quality movies and some documents.   I would like to partition the HDD like this:  HDD 250 GB:   20GB - ext4 - / - for the operating system 4GB - swap  The rest of 220 GB on 2 equal partitions of ext4.   Is this the best choice of HDD partitioning for speed?  Is ext4 the best solution for speed for my hardware configuration and my files?  If sometimes I will use some files from Windows should I create a FAT32 partition too? Will the FAT32 partition make the system slower? If yes, will it help in any way if it will be of only a few GB?
99760
How do I mount a partition with UFS filesystem (FreeNAS) in Ubuntu 11.10?  I'm a total Ubuntu newbie and just switched from FreeNAS.  There should be ll the info I need I guess, but if anyone would help me get going i'll by glad =)
5335
I would like to install Ubuntu alongside Windows 7 on a HP G62 Notebook. Although I have installed  Ubuntu in a dual-boot many times before, I found out that this model has already four partitions.    Partitions:   SYSTEM (NTFS, 199MB, used 66.59MB) Partition without any tag: NTFS (579GM, used 129GB)  RECOVERY (NTFS 16.74 GB, used 2.42GB)  HP_TOOLS (FAT32, 103.34 MB, used 13.23MB)   Since I am not an expert with partitions I would like to get advice on how to do this.  My first idea is this one:   Free some space from /dev/sda2 (I don't know if could also free some other space) delete the HP_Tools partition (I have already created a backup) create an extended partition with the free space in #1 containing three parititions: swap (1gb); / (EXT4, 30GB);  /home (EXT4, 120GB)   Another option is to use wubi instead.  What do you think? Is there any other way to achieve this?  PS: I really think this HP policy of using 4 partitions is not a coincidence  PS: I tried using gparted from the live CD and I got a warning message saying that if I freed some space from /dev/sda2 I could create serious issues in the system
52008
I have CentOS 5.5 installed, I have no un-partitioned space and the only ext3 partition I have is huge with lots of free space.  Can I change that partition size in order to allocate another one? I want to create new partitions in order to install another distribution there (Ubuntu).  I tried to do it through the volume administration tool in CentOS, but when I edit the partition size and confirm, it says that it is mounted in / and it needs to be un-mounted before re-sizing, which of course fails.  Any suggestion?
23007
Right now, I have everything in a partition (except EFI system partition). How can I split the partition into two, one for / and one for /home?   How would you use parted to do that step by step?  How would you use gparted to do that step by step?  How would you use LVM to do that step by step?   One thing I am not sure of is that I can't just shrink the partition and create a second partition on the space that is freed by shrinking, because that doesn't move /home to the new partition.  Thanks.    $ sudo parted -l [sudo] password for t:  Model: ATA TOSHIBA MQ01ABF0 (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags:   Number  Start   End    Size   File system  Name                  Flags  1      1049kB  538MB  537MB  fat32        EFI System Partition  boot, esp  2      538MB   500GB  500GB  ext4  $ sudo df -h [sudo] password for t:  Filesystem      Size  Used Avail Use% Mounted on udev            1.7G     0  1.7G   0% /dev tmpfs           340M  1.4M  338M   1% /run /dev/sda2       457G  6.7G  428G   2% / tmpfs           1.7G   27M  1.7G   2% /dev/shm tmpfs           5.0M  4.0K  5.0M   1% /run/lock tmpfs           1.7G     0  1.7G   0% /sys/fs/cgroup /dev/sda1       511M  6.1M  505M   2% /boot/efi tmpfs           340M   20K  340M   1% /run/user/1000 tmpfs           340M     0  340M   0% /run/user/106
119443
I have 3 partitions on my computer.  +-----------+-------+----------+---------+----------------------------------------------------------------------------------------------------------+ |  Device   |  Type |   Size   |  Used   |                                                 Comments                                                 | +-----------+-------+----------+---------+----------------------------------------------------------------------------------------------------------+ | /dev/sda1 | ntfs  | 104MB    | 35MB    | This is Windows loader                                                                                   | | /dev/sda2 | ntfs  | 144598MB | 64536MB | Here I want to install UBUNTU                                                                            | | /dev/sda3 | ntfs  | 105353MB | 20227MB | This my backup partition. I don't want to delete anything from here, I have all my necessary information | +-----------+-------+----------+---------+----------------------------------------------------------------------------------------------------------+   The problem is when I select "Device for boot loader installation" /dev/sda2.  I get:  No root file system is defined. Please correct this from the partitioning menu.   How can I resolve this?
77339
I recently installed an Ubuntu-server (20.04) on VM initially giving it only 10Gb RAM. Soon enough, I noticed that the program I need to install (Gluu-server) requires at least 40Gb. Hence, I proceeded to power off the VM and extend the memory to 70Gb. Running lsblk indeed shows that sda partition is 70Gb.  But sda3 on which the actual OS is installed has only 9Gb of free space. user@ubuntuserver:/$ lsblk NAME                      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT fd0                         2:0    1    4K  0 disk  loop0                       7:0    0 30.3M  1 loop /snap/snapd/9279 loop1                       7:1    0   55M  1 loop /snap/core18/1880 loop2                       7:2    0 70.6M  1 loop /snap/lxd/16922 loop3                       7:3    0 55.3M  1 loop /snap/core18/1885 loop4                       7:4    0 29.9M  1 loop /snap/snapd/8542 loop5                       7:5    0 71.3M  1 loop /snap/lxd/16099 sda                         8:0    0   70G  0 disk  ├─sda1                      8:1    0    1M  0 part  ├─sda2                      8:2    0    1G  0 part /boot └─sda3                      8:3    0    9G  0 part    └─ubuntu--vg-ubuntu--lv 253:0    0    9G  0 lvm  / sr0                        11:0    1 1024M  0 rom   sr1                        11:1    1 1024M  0 rom    I tried to install gluu server and I get this message: root@localhost:/install/community-edition-setup# ./setup.py Detected OS ubuntu 20 Warning: Available free disk space was determined to be 2.9 GB. This is less than the required disk space of 40 GB.  I am kinda confused. Why is the &quot;available free disk space determined to be only 2.9 GB&quot;? Is this a partitioning issue and how can I fix that?
95901
I installed Ubuntu 14.04 recently. During the installation I did not create a separate partition for my home folder. I also accidentally encrypted my home folder. When i did    sudo df   I got the result as  Filesystem                   Size  Used Avail Use% Mounted on /dev/mapper/ubuntu--vg-root  455G  181G  251G  42% / ....   Why does this have a funny name instead of a normal '/dev/sdx'?  Please explain to me what this is?
46236
These are my current disk partitions. /yedek is for some personal backup files. As you can see there is only Ubuntu on my PC. I will install Windows, too. Because of this I want to shrink /dev/sda3 . It currently 546GB and I want to split it: 300GB for / and 246GB for Windows (NTFS) is OK for me.  I'm using GParted for the first time. How can I shrink /?  I don't want to lose any datas from Ubuntu.
80533
I am a Linux user. I don't have Windows on my laptop. Also the hard drive size is less than 2 TB. Then why should I use GPT tables? Can't I go with old fasioned MBR?  I will be having two root partitions, two home partitions, and a swap space. So when a partition is not primary, but is extended, does that make any performance difference?
100687
So i want to install Ubuntu and im booting from USB. Im new to Ubuntu.  When i click SOMETHING ELSE, it shows 4 partions: the first of 1mb, sda1, unknown free space, second of 100mb sda2 (that i know its system recovery from win7), third is 170gb (win7) sda3, and the last one is like 830gb, i dont know where this came from.... on windows i have them separated.  is this a bug or something? How to install without losing all my data and keeping Win7?  When i try without installing i get to see my 3 partions (170gb, 600gb, 230gb) but not when i try to install.  Edit  ubuntu@ubuntu:~$ sudo gdisk -l /dev/sda   outputs this:  GPT fdisk (gdisk) version 0.8.7   Partition table scan:   MBR: MBR only   BSD: not present   APM: not present   GPT: not present   *************************************************************** Found invalid GPT and valid MBR; converting MBR to GPT format in memory.  ***************************************************************  Disk /dev/sda: 1953525168 sectors, 931.5 GiB Logical sector size: 512 bytes Disk identifier (GUID): 2729AEE7-A594-4A07-91DF-96116B581067 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 1953525134 Partitions will be aligned on 8-sector boundaries Total free space is 2044 sectors (1022.0 KiB)  Number  Start (sector)    End (sector)  Size       Code  Name    1              63            2047   992.5 KiB   4200  Windows LDM data    2            2048          206847   100.0 MiB   4200  Windows LDM data    3          206848       245762047   117.1 GiB   4200  Windows LDM data    4       245762048      1953523119   814.3 GiB   4200  Windows LDM data   And,  ubuntu@ubuntu:~$ sudo fdisk -l   outputs this:  Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x13344b63     Device Boot      Start         End      Blocks   Id  System /dev/sda1              63        2047         992+  42  SFS Partition 1 does not start on physical sector boundary. /dev/sda2   *        2048      206847      102400   42  SFS /dev/sda3          206848   245762047   122777600   42  SFS /dev/sda4       245762048  1953523119   853880536   42  SFS
72306
Following is the layout of the current partitions of my single hard drive viewed from Windows 7:   C: has Windows 7 system files and my personal data; Q: for Lenovo recovery; SYSTEM_DRV: for Windows boot files;   My goals are:   to create another partition D: for my personal data, and dedicate C: for Windows system files and applications only. to install Ubuntu alongside Windows. D: will be shared between the two OSes.   My questions are:   Is it correct that the free space generated from shrinking C: will only be able to create an extended partition, since there are already 3 primary partitions? So must D: be one logical partition on the extended partition, just as the partitions for Ubuntu will be? Will this be bad sometime? If yes, other better solutions? What are the good utilities to accomplish the partition tasks? Can Ubuntu installer solely handle them? Or better to have some of the jobs done in Windows with some recommended softwares?   Thanks and regards!
92381
I'm going to install Linux on Lenovo B5400, which contains:   500GB Hybrid SSHD with a 8 GB SSD and 500 GB HDD   Designing partitions for my 2 Linux distros was quite easy before, when I had only HDD. I always had:   10GB for Linux distro (mounted as "/") 10GB for another distro (again "/"; for another distro; for testing purposes or to assure continuity when switching distros) 2GB for swap (used for both distros; no need to separate) 300GB+ for "/home" (used for both distros; different usernames eliminates possible conflicts)   It's simple, isn't it? I would like to keep this approach, but I know that SSD has its own specificity - it prefers to be read, continuous writing may affect its life span. I don't want to kill SSD in a year, so I would like to move some system partitions to HDD in order to protect SSD. As far as I know /tmp is one of often read&amp;written locations. How much space it needs? What else should be placed on HDD?  Or: how to design partitions to achieve exactly the same effect and to keep SSD as safe as possible?  I'd be grateful for your help.
4981
I plan on installing Ubuntu 19.04 and give it 100 GB of my 256 GB SSD space and leave the rest for Windows as I would primarily be using Ubuntu.     A. Now, as I plan to install a lot of applications in Ubuntu, should I give more space to the / partition than the home partition? (Or maybe even drop the /home altogether?).    B. I have another 128 GB SD card for files like photos, audio and video files. Please suggest me the optimal partitioning for the use case.    C. Also, I have 8 GB of RAM so what should be the optimal swap partition size?    D. How would the distribution be if I choose "install Ubuntu alongside Windows" option?
67809
When I first installed Ubuntu (actually ElementaryOS) I didn't think that it would take up that much space, so I made the OS partition 15GB and /home 100GB. sda5 and sda6 are my Linux partitions.  Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x1b518505     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048      823295      410624    7  HPFS/NTFS/exFAT /dev/sda2          823296   410943487   205060096    7  HPFS/NTFS/exFAT /dev/sda3       410943488   738621439   163838976    7  HPFS/NTFS/exFAT /dev/sda4       738623486   976771071   119073793    5  Extended /dev/sda5       738623488   767918079    14647296   83  Linux /dev/sda6       767920128   976771071   104425472   83  Linux     The thing is, I don't actually have anything new installed on the OS now compared to when it was fresh. Just a browser and sublime text. Over time, installing system updates, the size just keeps on going up and up.    /usr/src has 2.2 GB of folders named linux-headers-X.XX.X-XX  /lib/modules has 3.9 GB of X.XX.X-XX-generic folders  Advice on what to do would be appreciated.   If I choose to increase the size of the 15GB partition, how do I do it? What are /usr/src and /lib/modules and how do I delete them safely?
46245
please help me here  i am always getting messages saying no free space available in boot partition.    output of ls -alh /boot  total 79M drwxr-xr-x 4 root root 1.0K Sep 7 20:53 . drwxr-xr-x 23 root root 4.0K Sep 5 18:38 .. -rw-r--r-- 1 root root 1.2M May 8 16:14 abi-3.16.0-38-generic -rw-r--r-- 1 root root 1.3M Aug 17 12:10 abi-4.1.6-040106-generic -rw-r--r-- 1 root root 168K May 8 16:14 config-3.16.0-38-generic -rw-r--r-- 1 root root 177K Aug 17 12:10 config-4.1.6-040106-generic drwxr-xr-x 5 root root 1.0K Sep 5 14:23 grub -rw-r--r-- 1 root root 28M Aug 22 22:49 initrd.img-3.16.0-38-generic -rw-r--r-- 1 root root 28M Aug 24 00:35 initrd.img-4.1.6-040106-generic drwx------ 2 root root 12K Aug 12 12:52 lost+found -rw-r--r-- 1 root root 173K Mar 12 2014 memtest86+.bin -rw-r--r-- 1 root root 174K Mar 12 2014 memtest86+.elf -rw-r--r-- 1 root root 175K Mar 12 2014 memtest86+_multiboot.bin -rw------- 1 root root 3.4M May 8 16:14 System.map-3.16.0-38-generic -rw------- 1 root root 3.6M Aug 17 12:10 System.map-4.1.6-040106-generic -rw-r--r-- 1 root root 6.1M Jun 28 01:15 vmlinuz-3.16.0-38-generic -rw------- 1 root root 6.4M Aug 17 12:10 vmlinuz-4.1.6-040106-generic   output of   sudo parted -l  Model: ATA ST9500325AS (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/512B Partition Table: msdos  Number  Start   End    Size    Type      File system     Flags  1      1049kB  106MB  105MB   primary   ntfs            hidden  2      106MB   140GB  140GB   primary   ntfs            boot  3      140GB   471GB  331GB   primary   ntfs  4      471GB   500GB  29.5GB  extended                  lba  5      471GB   493GB  22.0GB  logical   ext4  6      493GB   499GB  6536MB  logical   linux-swap(v1)  7      499GB   500GB  910MB   logical   ext4   @Pilot6
13182
I'm going to install 64 bit 14.04 on a new machine with something like 1 to maybe 128GB RAM and even more RAM later. How much space should I allocate to the swap partition?   And especially: WHY those recommendations for these numbers?    (None of the existing answers  and  explain any of the why and are a bit dated if we look at 1GB or RAM and up)