Hot answers tagged

53 votes

Update/Upgrade not working (because of phased updates)

All four of the kept-back packages (base-files, python3-distupgrade, ubuntu-release-upgrader-core, ubuntu-release-upgrader-gtk) were in Phased Updates at the time you asked the question. Phased ...
  • 53.7k
18 votes
Accepted

How to locate and clean /dev/nvme0n1p2?

The / is the root of the system. Everything else is mounted on subdirectories of /. You can see this more clearly if you look at the output of mount or lsblk. For example, on my system: $ lsblk NAME ...
  • 96.8k
11 votes
Accepted

How to mount bind in fstab?

You are not allowed to use " (or '). You need to use codepoints. Use \040 for a space. It is the octal codepoint for a space. So like this: /mnt/c/Users/clego/OneDrive\040-\040ESEO/Cours/I2/ /...
  • 289k
10 votes
Accepted

lsblk: root partition mounted on / and /var/snap/firefox/common/host-hunspell?

Below command removes the extra binding instantly: snap disconnect firefox:host-hunspell The dual binding is not harmful nor a bug, but looks un-linux to me.
9 votes

lsblk: root partition mounted on / and /var/snap/firefox/common/host-hunspell?

As indicated over at the snapcraft forum, this mount is set up to allow Firefox Snap to use the spell check dictionaries (hunspell) of the main system. A discussion about this commit is available here....
  • 78.1k
7 votes

Mounting /tmp as tmpfs on Ubuntu 20.04

Note that systemctl enable accept absolute paths to unit files. (See systemctl man page) So there's no need to copy it manually. I have tested on Ubuntu 22.04: $ sudo systemctl enable /usr/share/...
7 votes
Accepted

What does the "@" symbol mean when in front of a directory, e.g. "@home"?

The @ symbol doesn't have any special meaning. @home is just a name of a btrfs subvolume. It can be named differently. Ubuntu maintainers chose to name @ subvolume to mount / and @home to mount /home. ...
  • 87.5k
5 votes

How to get hard drive model based on UUID?

Background What you, indeed, want is the VENDOR,MODEL output formatting options but, with a twist(see workaround section below): lsblk -o FSTYPE,UUID,VENDOR,MODEL You might as well want to print a ...
  • 20.1k
5 votes

Name of internal hard drive keeps changing

Add a line to /etc/fstab to assign a mount point for the drive on every boot by following the below instructions from How to label disk partition in Linux . Label disk partition examples To see the ...
  • 108k
4 votes
Accepted

what is the default action for errors in fstab

From man mount: errors={panic|continue|remount-ro} Specify FAT behavior on critical errors: panic, continue without doing anything, or remount the partition in read-only ...
  • 78.1k
4 votes
Accepted

Ubuntu 22.04 not reading NTFS HDD

Do you have ntfs-3g package ? sudo apt list --installed | grep ntfs (Congratulation for solving your issue!)
4 votes

how to reference different physical drive on linux command line

Nope, that's the way to do it. In Linux, drives are mounted at a "mount point", which just looks like another directory in your root directory tree. You can access the drive by referencing ...
  • 2,939
3 votes
Accepted

Unable to mount new Synology DS918+

You never stated which version of Ubuntu you are using - actually, what version of the Linux kernel you are using. If you are running with a Linux kernel that is at version 4.13.5 or greater the ...
  • 6,811
3 votes

How do I mount Samba share as non-root user

In 2022 For scripting If you need to mount a remote smb share locally, you can use the gio toolkit. It isn't handy if you want to view the remote share in a file manager, but it's very useful in ...
3 votes

Mount a VirtualBox drive image (vdi)?

Make VirtualBox disk images available to the host by using vboximg-mount utility: Open VDI sudo mkdir -p /mnt/vdi/expanded sudo vboximg-mount -i <path-to-vdi> -o allow_other /mnt/vdi/expanded ...
  • 4,742
3 votes

Can't mount NFS share on Mac OS Big Sur shared from Ubuntu 21.04 - rpc.statd not running

I've just upgraded from MacOS Catalina to Monterey and got the following error when trying to mount mount_nfs: can't mount with remote locks when server (<remote_server>) is not running rpc....
  • 127
3 votes

How to auto mount with full permissions using gnome-disk-utility?

The whole purpose of a GUI disk manager is to avoid this trouble. This is why Linux is not used by my mother. Add the following to your mounting options. uid=1000,gid=1000 Here is the screenshot ...
3 votes
Accepted

Unable to Mount NTFS Drives after upgrading to 22.04

This command helps sudo apt install ntfs-3g fuse Source
  • 3,773
3 votes
Accepted

how to find files copied in ubunut in NTFS drive

As you yanked out the USB cable connecting the external hard drive to the computer without properly "ejecting" or "unmounting" the drive, the file system is probably corrupted. ...
  • 30.3k
3 votes

How to get hard drive model based on UUID?

I have done something similar before, modified it and thought that the following shellscript can do what you want, or at least similar to what you want. It should be possible to modify and include in ...
  • 44k
3 votes

Update/Upgrade not working (because of phased updates)

If you want to permanently opt-in to all phased upgrades in the future, you can create a conf file so that you don't have to add a long command-option each time you issue apt upgrade. /etc/apt/apt....
  • 1,434
3 votes

Failed to mount /data_

Your fstab file is the problem: it is trying to mount an HTTP URL which I don't think is even possible, but in any case, this is what is giving you the error. So, since you don't want to mount ...
  • 96.8k
3 votes

False positive for a duplicate entry into fstab - how do I fix it?

Your system probably has the systemd tmp.mount enabled. Check with: systemctl status tmp.mount If so, you don't need the /tmp mount in your /etc/fstab, as the systemd-fstab-generator will generate ...
  • 11.6k
3 votes
Accepted

Why "mount | grep sdb" displays no output, when "sdb" drive is a [swap] partition?

swap is not a filesystem, it's not mounted, it's activated or deactivated (see man swapon). A mountpoint does not exist. In /etc/fstab the mountpoint is specified as none. Since swap is not mounted, I'...
  • 14.3k
3 votes
Accepted

Use the whole disk instead of a partition as root dir

You are using LVM,the logical volume manager, this is great, do NOT change that ;) Your Disk has 3 partitions, the third partition is your pysical volume, sudo pvs (physical volume show) will show you ...
3 votes

How do I fix a typo in mount command output "relatime"?

The output is correct - it should be relatime. The output isn't meant to be standard English, and the word isn't supposed to be relative (or some other word). There is an option named atime for access ...
  • 190k
3 votes
Accepted

Full disk encryption has rendered my workstation unusable. Want to start from scratch. How can I get it to boot to GDM?

Based on your comment it seems like the Ubuntu live USB is unable to boot on your Intel NUC. If this problem is specific only to the Intel NUC, it would be a good idea to try to restore functionality ...
  • 108k
2 votes

Stop asking for authentication to mount USB stick

It is not a good solution, to alter .policy files in /usr/share/polkit-1/actions directory, as other answers suggest, since the files may be overwritten on software update. A permanent solution is to ...
2 votes

Difference between --rbind and --bind in mounting

The reason being is bind and rbind solve different problems. For example, my son wants to access my media database from windows across the country. So I grant him an ssh login, and tell him to ...
  • 121
2 votes

dav2fs mount only works manually via 'sudo mount..', does NOT work via fstab

Struggled the same way - and found the solution: the "problem" was the noauto flag at the options-part of our fstab-entries. This means, it gets skipped while running sudo mount -a. (see ...

Only top scored, non community-wiki answers of a minimum length are eligible