Questions regarding dual boot setup of EndeavourOS and Windows 11

Post the output again so we can see the new partition information.

NAME        TYPE FSTYPE   SIZE MOUNTPOINT UUID
sda         disk        931.5G
├─sda1      part ntfs   217.6G            86BC504EBC503ABF
├─sda2      part ntfs     256G            6C8ADD1A8ADCE21E
├─sda3      part ntfs   256.9G            F8F4E4C2F4E483EA
├─sda4      part ntfs     101G            840014E90014E3C8
└─sda5      part ext4     100G            1ce02630-044f-43e8-b23f-81d523a10e36
nvme0n1     disk        238.5G
├─nvme0n1p1 part vfat     100M /boot/efi  7484-F5C2
├─nvme0n1p2 part           16M
├─nvme0n1p3 part ntfs   179.4G            2CFA8642FA8607F2
├─nvme0n1p4 part ntfs     742M            4A5ACDF15ACDD9B9
└─nvme0n1p5 part ext4    58.2G /          662df64b-548a-4baa-a4f0-dbc024ea236a

sda5 is the one i want for my extended storage

First, mount the partition:

  • sudo mkdir /data
  • Edit /etc/fstab and add this line UUID= 1ce02630-044f-43e8-b23f-81d523a10e36 /data ext4 defaults 0 2`
  • sudo systemctl daemon-reload
  • sudo mount /data

If you get an error when you run the mount command, something is wrong. Stop.

Next set the permssions:

  • sudo chown -R 1000:1000 /data

Now create all the directories you want. These are just examples, add as many as you need/want:

  • mkdir /data/Downloads
  • mkdir /data/Documents
  • mkdir /data/Videos

After making sure they are empty remove the target locations(You can rename them if you prefer):

  • rmdir ~/Downloads
  • rmdir ~/Documents
  • rmdir ~/Videos

Now link the new directories into the proper locations:

  • ln -s /data/Downloads ~/.
  • ln -s /data/Documents ~/.
  • ln -s /data/Videos ~/.

That should be it. Now your data is on your HDD but it shows under /home in the right places.

2 Likes

It’s done! Thank you so much!

lsblk prints the following output

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 931.5G  0 disk
├─sda1        8:1    0 217.6G  0 part
├─sda2        8:2    0   256G  0 part
├─sda3        8:3    0 256.9G  0 part
├─sda4        8:4    0   101G  0 part
└─sda5        8:5    0   100G  0 part /data
nvme0n1     259:0    0 238.5G  0 disk
├─nvme0n1p1 259:1    0   100M  0 part /boot/efi
├─nvme0n1p2 259:2    0    16M  0 part
├─nvme0n1p3 259:3    0 179.4G  0 part
├─nvme0n1p4 259:4    0   742M  0 part
└─nvme0n1p5 259:5    0  58.2G  0 part /

and the directories are being shown under /home in the right places.

Thank you so much once again!

3 Likes

So Glad you got it going. Please make sure to mark @dalto post as the solution so others that have similar problems can find it more easily.

Welcome to :enos:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.