Mount partition when starting Linux Mint?
Hello, friends.
My system is:
Code: Select all
hdbender@DEEPC:~$ inxi --full System: Host: DEEPC Kernel: 6.5.1-060501-generic x86_64 bits: 64 Desktop: Cinnamon 5.8.4 Distro: Linux Mint 21.2 Victoria Machine: Type: Laptop Mobo: N/A model: X133 serial: <superuser required> UEFI: American Megatrends v: M11x_X133_G_P1C12M2A0L13M5T0U1 date: 11/25/2022 Battery: ID-1: BAT0 charge: 36.9 Wh (97.1%) condition: 38.0/38.0 Wh (100.0%) CPU: Info: quad core model: Intel Celeron J4125 bits: 64 type: MCP cache: L2: 4 MiB Speed (MHz): avg: 2055 min/max: 800/2700 cores: 1: 2052 2: 2060 3: 2069 4: 2040 Graphics: Device-1: Intel GeminiLake [UHD Graphics 600] driver: i915 v: kernel Device-2: USB Camera type: USB driver: uvcvideo Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915 resolution: 1920x1080~60Hz OpenGL: renderer: Mesa Intel UHD Graphics 600 (GLK 2) v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 Audio: Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio driver: sof-audio-pci-intel-apl Sound Server-1: ALSA v: k6.5.1-060501-generic running: yes Sound Server-2: PulseAudio v: 15.99.1 running: yes Sound Server-3: PipeWire v: 0.3.48 running: yes Network: Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter driver: rtw_8821ce IF: wlp4s0 state: up mac: 88:12:ac:e5:99:a5 Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb Report: hciconfig ID: hci0 state: up address: 88:12:AC:D9:96:5B bt-v: 2.1 Drives: Local Storage: total: 1.36 TiB used: 431.77 GiB (30.9%) ID-1: /dev/sda vendor: Seagate model: ST500LT012-1DG14 size: 465.76 GiB ID-2: /dev/sdb vendor: Smart Modular Tech. model: ShiJi 1TB size: 931.51 GiB Partition: ID-1: / size: 70.2 GiB used: 19.58 GiB (27.9%) fs: ext4 dev: /dev/sdb5 ID-2: /boot/efi size: 96 MiB used: 61.7 MiB (64.2%) fs: vfat dev: /dev/sdb1 ID-3: /home size: 105.18 GiB used: 19.82 GiB (18.8%) fs: ext4 dev: /dev/sdb7 Swap: ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile Sensors: System Temperatures: cpu: 74.0 C mobo: N/A Fan Speeds (RPM): N/A Info: Processes: 258 Uptime: 3h 14m Memory: 11.52 GiB used: 3.73 GiB (32.4%) Shell: Bash inxi: 3.3.13
I've created a few desktop shortcuts to the NTFS data partition and want to mount them at startup. I've added what I believe is a proper line to fstab.
But instead of mounting the partition, it no longer exists at all.
I put a # in front of it, now it's back, and I always have to click on it first so that it mounts, but I would prefer it to mount at startup.
I'm sure you'll immediately notice what a mess I've made again, so let me know.
By the way, I can take criticism.
Code: Select all
/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/sdb5 during installation UUID=bd5e3340-5529-43c6-b1d7-14dfc13b91c3 / ext4 errors=remount-ro 0 1 # /boot/efi was on /dev/sdb1 during installation UUID=1ADD-4065 /boot/efi vfat umask=0077 0 1 # /home was on /dev/sdb7 during installation UUID=00f53a7d-83ef-42cb-8240-9f9f11c1270d /home ext4 defaults 0 2 /swapfile none swap sw 0 0 # UUID=01D92C865E54DD00 /dev/sdb6 ntfs defaults 0 2
Once this problem is solved, I'll move on to the next one: no sound on speakers.
And thank you very much for your efforts.
Dee
Thanks for the super-fast answer.
Partition is no longer available at Dolphin.
UUID is right.
df shows:
hdbender@DEEPC:~$ df
File system 1K blocks Used Available Verw% Hanged On
tmpfs 1207648 1736 1205912 1% /run
/dev/sdb5 73607804 19880936 49941980 29% /
tmpfs 6038240 0 6038240 0% /dev/shm
5120 0 5120 0% /run/lock
efivarfs 128 70 54 57% /sys/firmware/efivars
/dev/sdb7 110285212 20822348 83814480 20% /home
/dev/sdb6 464696316 411376432 53319884 89% /dev/sdb6
/dev/sdb1 98304 63138 35166 65% /boot/efi
tmpfs 1207648 104 1207544 1% /run/user/1000
The bold printed is the relevant partition sdb6 – is hung, but no icon on desktop and link does not work.
See, by executing blkid, whether the UUID is correct. The point “not present at all” is unclear. When this occurs, run lsblk and see if it is actually “way”. So no, we can drop the point “not present” already.
See also, with the fstab line without # at the beginning, so if the partition is “way”, with df if it might appear as integrated.