Logical partition invisible in Caja? [Solved]

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Mr Mate

Logical partition invisible in Caja? [Solved]

Post by Mr Mate »

Hi everybody,

I have placed my personal data files in a logical partition, following this guide https://www.maketecheasier.com/move-home-folder-ubuntu/, but it confuses me that this logical partition isn't shown in the file manager (Caja) at the top level:

https://imgur.com/a/bfSyF

As you can see, it only shows the file system partition and another primary partition (23 GB), and of course external drives ("Hitachi" is an external harddisk). To find the logical partition with my personal folders I have to open first the file system folder ("/") and then the "home" folder. So intuitively, one would think that my personal folders in the logical partition were still in the "/" partition :? Is this just me, or is it Caja that has a funny structure?

My username folder is shown at the desktop, but not the personal folders I later placed in the logical partition, after following the mentioned guide. Now I see that I can only copy-paste these folders to my desktop, not cut-paste them. Does that mean that if I copy-paste them, it's actually the folders I copy? Or is it just the icons?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
syg00

Re: Logical partition invisible in Caja?

Post by syg00 »

Let's see the ouput from these commands.

Code: Select all

lsblk -f 
cat /etc/fstab
Mr Mate

Re: Logical partition invisible in Caja?

Post by Mr Mate »

Here you are:

tl@tl-P5Q-SE ~ $ lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sdb
├─sdb2 ntfs Partition_1 48D46804D467F29C
└─sdb1 ntfs Recovery AC1E857B1E853EF8
sr0
fd0
sda
├─sda2 ext4 65ba126f-5a04-42b4-92d5-bcbd94d9828d
├─sda5 swap dbfa6150-29e3-4d39-8852-01ee8822fd05 [SWAP]
├─sda3
├─sda1 ext4 a81afe39-37eb-4be7-a658-0f6a2dcdeb21 /
└─sda6 ext4 469a378b-2474-4d9f-a9c3-6a5cac6d4f4a /home
sr1
tl@tl-P5Q-SE ~ $ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=a81afe39-37eb-4be7-a658-0f6a2dcdeb21 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=dbfa6150-29e3-4d39-8852-01ee8822fd05 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
UUID=469a378b-2474-4d9f-a9c3-6a5cac6d4f4a /home ext4 nodev,nosuid 0 2

The logical partition is sda6.
syg00

Re: Logical partition invisible in Caja?

Post by syg00 »

Must be just a foible of caja - same behaviour here.
Mr Mate

Re: Logical partition invisible in Caja?

Post by Mr Mate »

Yes it looks so. Thank you.

I've just found out that it's only the top folders at the logical partition I can't cut-paste, - the files and sub folders I can cut-paste without problem. Very good, but not obvious for new users of caja.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Logical partition invisible in Caja? [Solved]

Post by Flemur »

Mr Mate wrote: but it confuses me that this logical partition isn't shown in the file manager (Caja) at the top level:
That's perfectly normal. Think of a logical partition as a fake partition which doesn't have any data other than the partitions you see in the file-browser...so there's no reason to show the logical partition. (Plus it's supposed to be "transparent" - you don't see it - because it's a work-around to the 4 partition limit).
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mr Mate

Re: Logical partition invisible in Caja? [Solved]

Post by Mr Mate »

Okay thanks, but I really don't understand. If the logical partition has no data, then where is that data (I thought) I put in it? Is it still in the primary OS partition?
syg00

Re: Logical partition invisible in Caja? [Solved]

Post by syg00 »

That explanation was wrong - it applies more to extended partition. One of the primary partitions has to be converted to an extended partition - this is the container for logical partitions. Logical partitions do indeed hold filesystems.
Mr Mate

Re: Logical partition invisible in Caja? [Solved]

Post by Mr Mate »

Okay, thank you.
Locked

Return to “MATE”