Jump to content

Search the Community

Showing results for tags 'usb'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • General Discussion
    • Artificial Intelligence
    • DevOpsForum News
  • DevOps & SRE
    • DevOps & SRE General Discussion
    • Databases, Data Engineering & Data Science
    • Development & Programming
    • CI/CD, GitOps, Orchestration & Scheduling
    • Docker, Containers, Microservices, Serverless & Virtualization
    • Infrastructure-as-Code
    • Kubernetes & Container Orchestration
    • Linux
    • Logging, Monitoring & Observability
    • Security, Governance, Risk & Compliance
  • Cloud Providers
    • Amazon Web Services
    • Google Cloud Platform
    • Microsoft Azure

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


LinkedIn Profile URL


About Me


Cloud Platforms


Cloud Experience


Development Experience


Current Role


Skills


Certifications


Favourite Tools


Interests

Found 4 results

  1. The post How to Install Linux OS on USB Drive and Run it On Any PC first appeared on Tecmint: Linux Howtos, Tutorials & Guides .Have you ever considered using someone else’s computer with all your personal files and settings? Well, it’s possible with any Linux distribution! Yes, you can The post How to Install Linux OS on USB Drive and Run it On Any PC first appeared on Tecmint: Linux Howtos, Tutorials & Guides.View the full article
  2. In this article, I am going to show you how to mount a USB thumb drive or a USB HDD/SSD on your Proxmox VE server. Table of Contents: Finding the USB Thumb Drive/HDD/SSD to Mount on Proxmox VE Creating a Mount Point for the USB Storage Device on Proxmox VE Mounting the USB Storage Device on Proxmox VE Confirming the USB Storage Device is Mounted on Proxmox VE Conclusion Finding the USB Thumb Drive/HDD/SSD to Mount on Proxmox VE: First, insert the USB thumb drive or USB HDD/SSD on your Proxmox VE server and run the command below to find the device path of the USB storage device. $ lsblk -p In this case, my 32GB USB thumb drive has the device path /dev/sdd and it has a partition /dev/sdd1. You will be mounting the partition of your USB storage device on your Proxmox VE server. To learn more about the partition /dev/sdd1 (let’s say) of the USB storage device on your Proxmox VE server, run the blkid command as follows: $ blkid /dev/sdd1 As you can see, the partition /dev/sdd1 has the filesystem label backup[1] and is formatted as the NTFS filesystem[2]. Creating a Mount Point for the USB Storage Device on Proxmox VE: You can create a mount point /mnt/usb/backup (let’s say) for the USB storage device with the mkdir command as follows: $ mkdir -pv /mnt/usb/backup Mounting the USB Storage Device on Proxmox VE: To mount the partition /dev/sdd1 (let’s say) of the USB storage device on the mount point /mnt/usb/backup (let’s say), run the following command: $ mount /dev/sdd1 /mnt/usb/backup Confirming the USB Storage Device is Mounted on Proxmox VE: To confirm whether the partition /dev/sdd1 (let’s say) of the USB storage device is mounted, run the following command: $ df -h /dev/sdd1 As you can see, the partition /dev/sdd1 is mounted[1] in the path /mnt/usb/backup[2]. The usage information of the partition is also displayed[3]. Once the partition is mounted, you can access the files stored on the USB storage device from the Proxmox VE shell. $ ls -lh /mnt/usb/backup Conclusion: In this article, I have shown you how to find the device path of a USB thumb drive or USB HDD/SSD on Proxmox VE. I have also shown you how to create a mount point, mount the USB storage device on the mount point, and access the files stored on the USB storage device from the Proxmox VE shell. View the full article
  3. Today's best flash drives are faster and speedier than ever. We've tested dozens to find the best. View the full article
  4. Removable USB drives allow you to easily transfer the files from one system to another. When you plug in a USB drive to your system’s USB port, it automatically mounts it. In Linux, it is mounted usually under the “/media” directory and can be accessed using the File Manager. However, in some scenarios, your system may not mount the USB drive automatically after you plug it in and you will be required to mount it manually in order to transfer the files between systems. In this post, we will describe how you can mount a USB drive in a Debian OS in case it is not detected by the system automatically. We use the Debian 11 OS to describe the procedure mentioned in this article. This procedure is also applicable to the previous Debian releases. Mounting a USB drive Step 1: Plug in the USB drive to any of the available USB ports in your computer. Step 2: Once you plugged in the USB drive, check the USB drive name and the file system type drive used. To do this, launch the terminal application in your Debian 11 OS and issue the following command: $ sudo fdisk -l You will receive an output that is similar to that in the following screenshot. Scroll down the output and you will see your USB drive possibly at the end of the output labeled as sda, sdb, sdc, sdd, etc. Note down the name of your USB drive and the file system as you may need it later. In our scenario, the USB drive name is “/dev/sdb1” and the file system is “FAT32”. Step 3: The next step is to create a directory that serves as the mount point for the USB drive. To create the mount point directory, issue the following command in the terminal: $ sudo mkdir /media/<mountpoint_name> Let’s create a mount point directory named USB under the /media directory: $ sudo mkdir /media/USB Step 4: Then, to mount the USB drive to the mount point that you created, issue the following command in the terminal: $ sudo mount <device_name> <mountpoint_directory> In our scenario, we will mount the USB drive /dev/sdb1 to the mount point that we created as /media/USB/. The command is as follows: $ sudo mount /dev/sdb1 /media/USB/ Step 5: To verify if the USB drive is mounted on the mount point successfully, issue the following command: $ mount | grep <USB_drive_name> In our scenario, the command would be: $ mount | grep sdb1 The output in the following screenshot shows that our USB drive /dev/sdb1 has been mounted on the mount point /media/USB. In case the command does not show any output, it means that the device is not mounted. Step 6: To explore the mounted USB drive, move inside the mounted directory using the cd command: $ cd /media/USB/ Now, you can navigate the directories in the USB drive in the same way as you do with the other directories in your file system. To list the files in the USB, use the ls command. You can also access and explore the USB drive through the File manager of your system. Auto-Mount the USB Drive in Debian 11 You can also auto-mount the USB drive when it is plugged into the system. To do this, edit the /etc/fstab file in a text editor using the following command: $ sudo nano /etc/fstab Add the following entry at the end of the file, replacing the /dev/sdb1 and vfat with your USB device name and filesystem: /dev/sdb1 /media/USB vfat defaults 0 0 Then, save and exit the text editor. Now, run the following command to mount all the devices: $ mount -a This command mounts all the USB drives that are added to the /etc/fstab file but have not yet been mounted. Also, the next time you restart your system with a USB drive plugged in, your USB drive will be automatically mounted. Unmounting a USB Drive If you no longer want to use the mounted USB drive, you can unmount or detach it. However, before attempting to unmount it, make sure that there are no other operations in progress on the mounted USB drive. Otherwise, the drive won’t detach and you’ll get an error message. To unmount the USB drive, type umount followed by the mount point directory or the device name as follows: $ sudo umount <mountpoint_directory> Or $ sudo umount <USB_drive_name> In our scenario, it would be: $ sudo umount /media/USB If you see no output, it means that all went well and your USB drive is unmounted from the system. You can also confirm it from your File Manager’s left sidebar. To delete the mount point directory, issue the following command: $ sudo rmdir <mountpoint_directory> Conclusion In this article, you learned how to mount a USB drive in a Debian OS and how to unmount it when you need to remove the drive. I hope it will be helpful whenever you need to mount/unmount a USB drive in your system. View the full article
  • Forum Statistics

    43.3k
    Total Topics
    42.7k
    Total Posts
×
×
  • Create New...