Changing where everything saves

I am new to linux in general.
I am fed up with windows and have fell in love with Manjaro.
My issue is in my build I have a 500g ssd for my boot partition and I have a 4tb hdd for everything else.
I would like to be able to change the default save locations for everything to go to the hdd instead of the m.2. Please help.

1 Like

Welcome to the forum

Please post output of inxi -Fazy --filter as well as lsblk.

inxi -Fazy --filter will not let me post the results because it says there is a link

NAME                                          MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
loop0                                           7:0    0 164.8M  1 loop  /var/lib/snapd/snap/gnome-3-28-1804/161
loop1                                           7:1    0  65.2M  1 loop  /var/lib/snapd/snap/gtk-common-themes/1519
loop2                                           7:2    0  32.3M  1 loop  /var/lib/snapd/snap/snapd/13170
loop3                                           7:3    0  55.4M  1 loop  /var/lib/snapd/snap/core18/2128
loop4                                           7:4    0  82.9M  1 loop  /var/lib/snapd/snap/discord/130
loop5                                           7:5    0     4K  1 loop  /var/lib/snapd/snap/bare/5
sda                                             8:0    0   3.6T  0 disk  
└─sda1                                          8:1    0   3.6T  0 part  /run/media/cory/c6b07522-34eb-4439-b440-07ba629b4d6a
sdb                                             8:16   1  28.5G  0 disk  
├─sdb1                                          8:17   1   3.2G  0 part  
└─sdb2                                          8:18   1     4M  0 part  
nvme0n1                                       259:0    0 465.8G  0 disk  
├─nvme0n1p1                                   259:1    0   300M  0 part  /boot/efi
└─nvme0n1p2                                   259:2    0 465.5G  0 part  
  └─luks-d502560c-19ab-4397-9e62-38281ab743b9 254:0    0 465.5G  0 crypt /

Use 3 backticks ``` at start beginning and end of the output to format it.

  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 
  root=UUID=3410013f-fb41-4274-9a99-7b105d040a1d rw quiet 
  cryptdevice=UUID=d502560c-19ab-4397-9e62-38281ab743b9:luks-d502560c-19ab-4397-9e62-38281ab743b9 
  root=/dev/mapper/luks-d502560c-19ab-4397-9e62-38281ab743b9 apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop Mobo: Micro-Star model: MPG X570 GAMING PLUS (MS-7C37) v: 2.0 
  serial: <filter> UEFI: American Megatrends v: A.70 date: 01/09/2020 
CPU:
  Info: 8-Core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 
  family: 17 (23) model-id: 71 (113) stepping: 0 microcode: 8701013 cache: 
  L2: 4 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 128032 
  Speed: 3999 MHz min/max: 2200/4000 MHz boost: enabled Core speeds (MHz): 
  1: 3999 2: 3997 3: 4000 4: 4001 5: 4005 6: 4000 7: 4002 8: 4004 9: 3999 
  10: 3993 11: 4007 12: 3998 13: 3991 14: 3999 15: 4007 16: 4000 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660 SUPER] vendor: eVga.com. 
  driver: nvidia v: 470.63.01 alternate: nouveau,nvidia_drm bus-ID: 2d:00.0 
  chip-ID: 10de:21c4 class-ID: 0300 
  Device-2: Generalplus 808 Camera type: USB driver: snd-usb-audio,uvcvideo 
  bus-ID: 1-2.1.3.2:25 chip-ID: 1b3f:2002 class-ID: 0102 
  Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: 
  loaded: nvidia display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 5760x1080 s-dpi: 80 s-size: 1828x342mm (72.0x13.5") 
  s-diag: 1860mm (73.2") 
  Monitor-1: DVI-D-0 res: 1920x1080 hz: 60 dpi: 82 
  size: 595x336mm (23.4x13.2") diag: 683mm (26.9") 
  Monitor-2: HDMI-0 res: 1920x1080 dpi: 81 size: 600x340mm (23.6x13.4") 
  diag: 690mm (27.2") 
  Monitor-3: DP-0 res: 1920x1080 hz: 60 dpi: 82 size: 595x336mm (23.4x13.2") 
  diag: 683mm (26.9") 
  OpenGL: renderer: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2 
  v: 4.6.0 NVIDIA 470.63.01 direct render: Yes 
Audio:
  Device-1: NVIDIA TU116 High Definition Audio vendor: eVga.com. 
  driver: snd_hda_intel v: kernel bus-ID: 2d:00.1 chip-ID: 10de:1aeb 
  class-ID: 0403 
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus-ID: 2f:00.4 chip-ID: 1022:1487 
  class-ID: 0403 
  Device-3: C-Media USB Advanced Audio Device type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-2.1.2.3:18 
  chip-ID: 0d8c:01c2 class-ID: 0300 
  Device-4: Generalplus 808 Camera type: USB driver: snd-usb-audio,uvcvideo 
  bus-ID: 1-2.1.3.2:25 chip-ID: 1b3f:2002 class-ID: 0102 
  Device-5: C-Media USB Advanced Audio Device type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-2.1.3.3:16 
  chip-ID: 0d8c:01c2 class-ID: 0300 
  Device-6: C-Media USB Advanced Audio Device type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-2.3.3:7 
  chip-ID: 0d8c:01c2 class-ID: 0300 
  Device-7: Astro Gaming Astro A50 type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-2.4.4.2:14 
  chip-ID: 9886:002c class-ID: 0300 
  Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.37 running: yes 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI X570-A PRO driver: r8169 v: kernel port: d000 
  bus-ID: 27:00.0 chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp39s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 4.12 TiB used: 12.94 GiB (0.3%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO 500GB 
  size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 type: SSD serial: <filter> rev: 2B2QEXE7 temp: 33.9 C scheme: GPT 
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST4000VN008-2DR166 
  size: 3.64 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  type: HDD rpm: 5980 serial: <filter> rev: SC60 scheme: GPT 
  ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: Transcend 
  model: JetFlash Transcend 32GB size: 28.48 GiB block-size: physical: 512 B 
  logical: 512 B type: SSD serial: <filter> rev: 1100 scheme: MBR 
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition:
  ID-1: / raw-size: 465.46 GiB size: 457.09 GiB (98.20%) 
  used: 12.94 GiB (2.8%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0 
  mapped: luks-d502560c-19ab-4397-9e62-38281ab743b9 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 440 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
Swap:
  Alert: No swap data was found. 
Sensors:
  System Temperatures: cpu: 44.9 C mobo: N/A gpu: nvidia temp: 54 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 39% 
Info:
  Processes: 363 Uptime: 4h 29m wakeups: 0 Memory: 31.3 GiB used: 3 GiB (9.6%) 
  Init: systemd v: 249 tool: systemctl Compilers: gcc: N/A Packages: 1216 
  pacman: 1209 lib: 332 flatpak: 0 snap: 7 Shell: Zsh v: 5.8 default: Bash 
  v: 5.1.8 running-in: konsole inxi: 3.3.06```

Do the same formatting for lsblk output and please remove the ARM tag as you are running a x86_64 based CPU.

loop0                                           7:0    0 164.8M  1 loop  /var/lib/snapd/snap/gnome-3-28-1804/161
loop1                                           7:1    0  65.2M  1 loop  /var/lib/snapd/snap/gtk-common-themes/1519
loop2                                           7:2    0  32.3M  1 loop  /var/lib/snapd/snap/snapd/13170
loop3                                           7:3    0  55.4M  1 loop  /var/lib/snapd/snap/core18/2128
loop4                                           7:4    0  82.9M  1 loop  /var/lib/snapd/snap/discord/130
loop5                                           7:5    0     4K  1 loop  /var/lib/snapd/snap/bare/5
sda                                             8:0    0   3.6T  0 disk  
└─sda1                                          8:1    0   3.6T  0 part  /run/media/cory/c6b07522-34eb-4439-b440-07ba629b4d6a
sdb                                             8:16   1  28.5G  0 disk  
├─sdb1                                          8:17   1   3.2G  0 part  
└─sdb2                                          8:18   1     4M  0 part  
nvme0n1                                       259:0    0 465.8G  0 disk  
├─nvme0n1p1                                   259:1    0   300M  0 part  /boot/efi
└─nvme0n1p2                                   259:2    0 465.5G  0 part  
  └─luks-d502560c-19ab-4397-9e62-38281ab743b9 254:0    0 465.5G  0 crypt /
1 Like

Sorry about that mislabel

The common practice is to mount your hdd to /home. But i suppose you already have content on that drive, so there’d be a bit of moving things around.
Before we come to this, just checking something: what file system do you use on that hard drive?

I just formated the drive for ext4 so the drive is empty

1 Like

If you can reinstall:

  • use manual partitioning
    • set the EFI partition to mount to /boot/efi (if relevant)
    • set your m2 to mount to /
    • set your hdd to mount to /home

If you don’t want to reinstall:

  • copy everything from /home to your hard drive
  • edit /etc/fstab to mount your drive to /home: [root tip] Mount partition using fstab
  • reboot
  • confirm your drive is currently mounted to /home
  • confirm your system works well
  • boot into a LiveUSB
  • delete the content of /home from your m2
  • :beer:

Also, i spot that you encrypted your root partition, but your hdd is not. If you want to encrypt your data, you should change its partitioning beforehand.

I will reinstall and try it that way.

That is way too much - 1 single Gigabyte is plenty more than you’ll ever need for that.
The /boot directory only holds the kernel images …
and it will not be writable (aka: usable) by a normal user of the system as a storage location.

If you meant where the system is installed, but not the users $HOME directory -
it’s still way too much
50 GB or even 100 GB if you are using snaps or flatpacks should be overkill

please consider that on your reinstall

I changed it on the reinstall but now the updates take forever and it will not install the video-nvidia hardware config, whereas it did all of it just fine earlier any suggestions? Although, now I do have my 4tb hdd available and that is where everything is being stored.

Refresh your mirror list to pick a faster one:
sudo pacman-mirrors -f 5

You can also configure it to use only mirrors close to you. Details in
man pacman-mirrors