Mystery second partition after Xubuntu install

…and I seem to have an extra 10.25gb partition that I was not expecting? 5.99GB is used though and it looks like linux directories on that…so I’m wondering if this is like ‘Microsoft Reserved partition’, the equivalent of system restore and I should not delete it?

1 Like

Which “latest Xubuntu release”: 24.04 (latest LTS) or 24.10 (latest interim)?
What partitioning-related options did you select during install?

Could you please provide concrete details of what specifically you are seeing in that partition?

1 Like

ah, it’s 24.04…and i didn’t select any options. Initially it had trouble ‘seeing’ the Windows installation, until I remembered on the UEFI thing…then just let it do it automatically once it ‘saw’ that.

1 Like

That image seems to show the root (/) directory of a 24.04 filesystem. The root (/) directory of your installed system should look similar.

Perhaps you ran the installer more than once, or perhaps you are looking in a different place than you expect.

Ubuntu does not have a Windows-like “reserved” partition nor any kind of “system restore” feature. A single run of the Ubuntu installer does not create a duplicate filesystem.

If you are completely sure that the image you showed us is from /media/jakemaverick/etc…, then those files are safe to delete. That partition is mounted for data (not system files), and can be safely re-used for another purpose. Ubuntu is not using it for some hidden purpose.

1 Like

Thank you! I think that must have been what happened. First time I ran the installer it just stopped, looked like it had fell over/ no message to say it had finished. So I rebooted machine, no grub menu…so I ran the installer again!

From what you said I think that is what has happened. Just struck me as odd creating that separate partition like that…hope I don’t run into any probs with the grub menu by deleting that but I am about to find out!

Many thanks!

1 Like

oh hang on… I just went to delete that partition, unmounted it and then noticed used space has massively increased :frowning: Looks like this one is the active partition? but I unmounted it, so how can i be up and running? Got very rusty on these things, been a couple of years since I needed to do a system build :frowning_face:

1 Like

um, the used space on both the linux partitions are also massively different sizes, I had thought the much more used one was the active one…but all I have installed apart from the O/S is gparted…and gparted isn’t that big to explain the size discrepancy?

1 Like

Partition nvme0n1p5 is probably your failed (fallen over) installation
Partition nvme0n1p6 is your second (more successful) attempt i.e. used the remaining free space

Does that sound plausible?
Can you boot into Xubuntu 24.04 on nvme0n1p6?

1 Like

I think you’re probably right but I can’t figure why used space has increased on 0n1p5…that is what worrying me a bit.

No way to tell which one i have actually booted from?

1 Like

Can you show us this:

ls -al /dev/nvme0n1p5

Maybe this as well

ls -al  /dev/nvme0n1p6
1 Like

not sure what that does…or the odd date discrepancy?

image

That did not help much, but I’m guessing neither of those two are your installed system ie:
My root in 2 different shows:

df -hT /
Filesystem               Type  Size  Used Avail Use% Mounted on
rpool/ROOT/ubuntu_5u9nfk zfs   427G  5.3G  421G   2% /

and

ls -al /
total 154
drwxr-xr-x  21 root root   25 Dec 31 08:58 .
drwxr-xr-x  21 root root   25 Dec 31 08:58 ..
lrwxrwxrwx   1 root root    7 Nov  7 07:17 bin -> usr/bin
drwxr-xr-x   4 root root   16 Dec 30 20:12 boot
dr-xr-xr-x   2 root root    2 Dec 29 19:38 cdrom
drwxr-xr-x  22 root root 5220 Jan  1 11:42 dev
drwxr-xr-x   8 root root    8 Dec 31 11:41 dozer
drwxr-xr-x 143 root root  241 Jan  1 06:49 etc
drwxr-xr-x   3 root root    3 Dec 30 18:49 home
lrwxrwxrwx   1 root root    7 Nov  7 07:17 lib -> usr/lib
lrwxrwxrwx   1 root root    9 Nov  7 07:17 lib64 -> usr/lib64
drwxr-xr-x   4 root root    4 Dec 31 05:31 media
drwxr-xr-x   2 root root    2 Dec 29 19:17 mnt
drwxr-xr-x   4 root root    4 Dec 30 19:26 opt
dr-xr-xr-x 707 root root    0 Jan  1 11:40 proc
drwx------   5 root root    9 Dec 31 10:50 root
drwxr-xr-x  40 root root 1120 Jan  1 11:48 run
lrwxrwxrwx   1 root root    8 Nov  7 07:17 sbin -> usr/sbin
drwxr-xr-x   2 root root    3 Dec 30 18:49 snap
drwxr-xr-x   2 root root    2 Dec 29 19:17 srv
dr-xr-xr-x  13 root root    0 Jan  1 11:40 sys
drwxr-xr-x  54 root root   89 Dec 31 11:41 tank
drwxrwxrwt  18 root root  440 Jan  1 11:57 tmp
drwxr-xr-x  12 root root   12 Dec 29 19:17 usr
drwxr-xr-x  15 root root   18 Dec 30 18:49 var

lsblk in a terminal will show you which device you are booted from:

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 931.5G  0 disk 
├─sda1        8:1    0   512M  0 part 
└─sda2        8:2    0   931G  0 part /srv
nvme0n1     259:0    0 465.8G  0 disk 
├─nvme0n1p1 259:1    0   493M  0 part /boot/efi
└─nvme0n1p2 259:2    0 465.3G  0 part /

As you can see, I’m booted from /dev/nvme0n1p2

1 Like

The used space increased a little less than 2GB on partition 5 and you can easily check what is on that partition by navigating to that location “/media/jakemaverick” to see what you have there. In addition to the lsblk command suggested above, you can find the partition you are booted to with the df -h command. The output from my computer shows it on partition 5:

df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p4   47G   34G   12G  75% /

1 Like

looks like i am booting from partition 6 then? as i thought

image

looking around on it i can’t see anything there really apart from the system files…but if it’s not being used…why has used space increased? which is what threw me a bit…but about to bite the bullet and delete it, so will soon see…

still here! job done, thanks for help fellas…can close this thread now.

1 Like

ok this is a bit odd, seems i can’t add the unallocated space back t the Ext 4 partition? Tried gparted and Acronis Disk Director in Windows, neither will do it :frowning: it’s only 10GB on a 1 TB drive anyway…

Partitions have boundaries. Unallocated space can sometimes be added to another partition but unless you are using a volume manager LVM or ZFS, which you are not, it is not always easy to add unallocated space to a partition without a careful look at what is in front off, & behind your partition(s), and without a ready backup. I wouldn’t mess with it in your case for 10gb. What I would do is format it to regular ext4 & create another mountpoint under /media, and use that space for some excess storage. Or, you could just leave it unallocated.

2 Likes

You may notice that your disks are not show in order which means they are not contiguous so if you want to add what was sda5 and is now unallocated, you would have to add it to the partition immediately before or after that space. You can determine this by looking at the Start/End Sector in the fdisk output.