Home > Computer Tutorials > Computer Knowledge > Installing the driver in Linux

Installing the driver in Linux

PHPz
Release: 2024-03-20 19:10:26
forward
910 people have browsed it

Installing the driver in Linux

Accessing the file system of an SSD, HDD or USB drive in a Linux system requires installation, so that you can easily manage the data on the external drive and perform necessary operations.

In a Linux system, since there may be multiple drives connected to the system, including internal and external drives, the key is to determine the default name and path of the drive to be mounted first. This article will introduce several methods of mounting drives in Linux systems.

  • Installing the driver in Linux
  • Mounting drives in Linux via GUI
  • Mounting the drive in Linux via the command line terminal
  • in conclusion

Installing the driver in Linux

In Linux systems, installing drivers is not a complicated task, and you only need to follow a few key steps. The Linux system provides users with two methods to load drivers and mount file systems. Users can choose one of the methods to operate.

Mounting drives in Linux via GUI

Method 1: If you want to install a drive in Linux system (Ubuntu) using GUI method, the method is very simple.

Type "Activity" in the "Activity" search box, and then click the "Activity" icon that appears to open the "Activity" utility:

In the left panel of the NTFS tool you can find additional drives, select the drive you want to install on your Ubuntu system. Once selected, you will see the data for all drives displayed on the interface.

You will see a play button that says the drive is unmounted, click it to mount the drive:

When you click the Play button, it will start mounting as shown in the screenshot below:

When the file system is mounted successfully, you will see a Stop (square) button; it will also display the directory where the drive was mounted:

To customize the installation settings, click the gear icon and then click Edit Installation Options in the context menu:

In the "Mount Options" window, there are different options for modifying the default settings. These options involve the following aspects:

  • If you want to mount on every boot, check the "Mount on system startup" option.
  • To make the drive accessible to File Explorer and other GUI interfaces, check the "Show in User Interface" option.
  • If the default point seems difficult, you can also edit the mount point; just make sure the directory you set exists on your system.

After completing the load settings, click the OK button to save the changes:

This modification requires user authentication, type the Linux system password and click the authentication button:

If you want to unmount the drive, click the Stop (square) button:

Method 2: Open the default File Explorer and find the connected external hard drive to mount it:

Select it to fully mount it and make the file system accessible in the Ubuntu system:

You can also unmount it by clicking on the eject icon that appears next to the drive icon:

Mounting the drive in Linux via command line terminal

The terminal is another method through which you can mount the drive and access the file system.

To do this, execute the lsblk command to list all internal and external drives. You will find external drives named /dev/sdb, /dev/sdb1, or /dev/sdb 2, etc., depending on how many drives are connected:

lsblk

Now, create a new mount point by using the mkdir command to create a directory in which the drive data can be mounted; we name it "drive_mount":

mkdir drive installation

In the next step you need to mount the drive in the newly created directory, the previously mentioned syntax will be used:

sudo mount/dev/[drive_name..] [moint_point..]

Assuming that you want to move the file system from drive sdb1 to the mount_drive directory, the command will be:

sudo mount/dev/sdb1~/drive_mount

Run the ls command to check whether drive sdb1 has been successfully mounted on the newly created mount point drive_mount:

ls~/drive_mount/

To unmount the drive from the directory, execute the given command:

SUDO Uninstall~/Drive Mount

in conclusion

Mounting the drive is necessary when you need to access the drive's file system in your machine. This is not a complicated task as we only need to do a few steps but focus on it. To mount the drive, we need to find its default name and further perform the function in the manner described above.

This guide mentions a number of ways to install the driver; these include GUI and command line interfaces. In the GUI, we have two other ways to access the file system by mounting them in the Ubuntu system.

The above is the detailed content of Installing the driver in Linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:mryunwei.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template