Why does this linux partition not mount the way I want it too?

  • DNS Benchmark v2 is Finished and Available!
    Guest:
    That's right. It took an entire year, but the result far more accurate and feature laden than we originally planned. The world now has a universal, multi-protocol, super-accurate, DNS resolver performance-measuring tool. This major second version is not free. But the deal is, purchase it once for $9.95 and you own it — and it's entire future — without ever being asked to pay anything more. For an overview list of features and more, please see The DNS Benchmark page at GRC. If you decide to make it your own, thanks in advance. It's a piece of work I'm proud to offer for sale. And if you should have any questions, many of the people who have been using and testing it throughout the past year often hang out here.
    /Steve.
  • Be sure to checkout “Tips & Tricks”
    Dear Guest Visitor → Once you register and log-in please checkout the “Tips & Tricks” page for some very handy tips!

    /Steve.
  • BootAble – FreeDOS boot testing freeware

    To obtain direct, low-level access to a system's mass storage drives, SpinRite runs under a GRC-customized version of FreeDOS which has been modified to add compatibility with all file systems. In order to run SpinRite it must first be possible to boot FreeDOS.

    GRC's “BootAble” freeware allows anyone to easily create BIOS-bootable media in order to workout and confirm the details of getting a machine to boot FreeDOS through a BIOS. Once the means of doing that has been determined, the media created by SpinRite can be booted and run in the same way.

    The participants here, who have taken the time to share their knowledge and experience, their successes and some frustrations with booting their computers into FreeDOS, have created a valuable knowledgebase which will benefit everyone who follows.

    You may click on the image to the right to obtain your own copy of BootAble. Then use the knowledge and experience documented here to boot your computer(s) into FreeDOS. And please do not hesitate to ask questions – nowhere else can better answers be found.

    (You may permanently close this reminder with the 'X' in the upper right.)

coffeeprogrammer

Well-known member
Jul 19, 2021
232
20
So I am giving Linux a try to see if I can use it as my main OS and just run windows in a VM when I need it. I currently have Linux Mint installed on a NVMe 512GB drive. I also have a 2TB SSD that I have always used for virtual machines. When I installed Linux, I basically did a manual partition of the NVMe drive and did nothing for the SSD 2TB, later I figured out the commands to create a GPT partition table and format it a a ext4 file system. I want it to be mounted as /VirtualMachines. There are a few problems. First off it keeps automatically mounting under the /media/username/ GUID folder, which I don’t want. Second, after un mounting that, I can mount it as /VirtualMachines as root but I think I have to mount it a way where my user has read and write permissions.

To mount it as root I use:

mount /dev/sda1 /VirtualMachines

But that leads to the problem of not having read/write access as my user, so I tried what is below in the screen shot:
Screenshot_20240328_171144.png


I am not sure why it would mount fine and then not with user and group id

I am not 100% sure what a superblock is, but I wondered if the fsck command might find something so:


Screenshot_20240328_172014.png



Any ideas? I think once I figure out the right mount command I can put it in the fstab file.
 
Normally during install you can select the custom partition, and then make the mount points manually, which then allows you to define where partitions and drives are mounted. As installed you will have to edit FSTAB to do the right mount point by UUID, and follow the syntax in FSTAB to do that. There you also can select the user that owns that directory, by default the user is root, though you can always select the mount point, and change permission so owner is your user name, and give that user full permissions in that folder, and all sub folders.

Easiest is to start over again, and do the assignment when you are asked how to install, after doing the keyboard and language selection, which should bring you to the disk formatting screen. Then keep the existing partitions, and format them, then select sdb as a drive, and select the mount point there. Do not format the Sdx drives, and sda can be left as unassigned if you want, there will be a warning, but you can select it as a mount point anyway to some point. Then let the installer continue, which will install over the existing files, and write new config files all over.