Mount CD or DVD Rom in Linux Rumi, June 3, 2018 Finding out your CD/DVD names in Linux Use the following command to find out the name Of DVD / CD-ROM / Writer / Blu-ray device on a Linux based system: # lsblk OR # dmesg | egrep -i --color 'cdrom|dvd|cd/rw|writer' Sample outputs (/dev/sr0): [ 5.437164] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray [ 5.437307] cdrom: Uniform CD-ROM driver Revision: 3.20 Syntax to mount DVD / CDROM in Linux The syntax is: # mount -t iso9660 -o ro /dev/deviceName /path/to/mount/point Create a mount point, type mkdir command as follows: # mkdir -p /mnt/cdrom Mount /dev/cdrom or /dev/sr0 as follows: # mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom OR # mount -t iso9660 -o ro /dev/sr0 /mnt/cdrom Verify that CD/DVD mounted at the /cdrom or /mnt/cdrom, enter: mount df /cdrom or /mnt/cdrom represents the mount point of the CD or DVD. To view or browse CD or DVD, enter: ls -l /cdrom cd /cdrom ls To copy a file called foo.txt to the /tmp, enter: cd /cdrom cp -v foo.txt /tmp OR cp -v /cdrom/foo.txt /tmp How do I unmount CD-ROM or DVD on Linux? Type the following command as the root user: # umount /cdrom OR # umount /dev/cdrom OR # umount /mnt/cdrom Related Administrations Configurations (Linux) CDROMDVDROM
Remove VirtualBox from Linux September 3, 2023 Step 1: Check the VirtualBox Version (Optional) First, check out the Virtualbox installed version by specifying the application package name as “vboxmange” name with the “version” flag: $ vboxmanage –version The Virtualbox installed version is “6.1.38”. Step 2: Uninstall Virtual Box Use the default package manager alongside the “–remove” and… Read More
Ubuntu old repository add November 21, 2018 If you want to continue using an outdated release then edit /etc/apt/sources.list and change archive.ubuntu.com and security.ubuntu.com to old-releases.ubuntu.com. You can do this with sed: sudo sed -i -re ‘s/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g’ /etc/apt/sources.list then update with: sudo apt-get update && sudo apt-get dist-upgrade Sometimes, it might be faster to create backups of your system and reinstall using supported release instead…. Read More
UDP Load Balancing using PEN January 5, 2017 First setup PEN load balancer using this document. After that, keep digging below 🙂 And that’s it, so now if we run pen we see it now has UDP support. root@penudp:~/pen-0.18.0# pen usage: pen [-C addr:port] [-X] [-b sec] [-S N] [-c N] [-e host[:port]] [-t sec] [-x N] [-w… Read More