Auto-mount a disk drive in Ubuntu and make partitions mount at startup,

To auto-mount a disk drive in Ubuntu and make partitions mount at startup, you can follow these steps:

  1. Connect the disk drive to your Ubuntu system.
  2. Open the Disks utility by searching for it in the Activities overview or opening it from the Applications menu.
  3. In the left pane of the Disks utility, select the disk drive that you want to auto-mount.
  4. In the right pane, click on the partition that you want to mount at startup.
  5. Click on the gear icon below the partition and select “Edit Mount Options”.
  6. In the “Mount Options” dialog box, enable the “Automatic Mount Options” toggle switch.
  7. Make sure that the “Mount at startup” option is enabled.
  8. Click on the “OK” button to save the changes.
  9. Repeat steps 4-8 for all the partitions that you want to mount at startup.
  10. Close the Disks utility.

Now, the selected partitions will be automatically mounted at startup. You can verify this by restarting your Ubuntu system and checking if the partitions are mounted.