Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm not familiar with parrot, but in my experience, one of two things usually can do that for you - your file manager or your desktop environment (sometimes called places). Check settings in either one to find how to set it to mount discs on insert.
Or let us know what desktop and/or file manager you're using.
I don't see an option to mount my cd/dvd, the cd/dvd lights up and is working
Data CD/DVD? An audio CD won't mount. Doesn't have a file system on it. Or a video DVD?
As far as data optical disks, with a file system, find out what device your optical drive is.
Here is an example:
Code:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 500.1G 0 disk
├─sda1 8:1 0 1M 0 part
└─sda2 8:2 0 500.1G 0 part /
sr0 11:0 1 1024M 0 rom
As you can see, the optical disk is /dev/sr0
Code:
eject -T
#Put disk into drive, close
mkdir ~/dvdburner
sudo mount /dev/sr0 ~/dvdburner
ls ~/dvdburner
TvShow3_1.mp4 TvShow3_3.mp4 TvShow3_5.mp4
TvShow3_2.mp4 TvShow3_4.mp4 TvShow3_6.mp4
Don't forget to unmount when you are done, before you remove the disk.
Code:
sudo umount ~/dvdburner
For a video DVD, you can mount them the same way. You'll have a VIDEO_TS directory on it. Open that and you have a bunch of files like:
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872
Original Poster
Rep:
Quote:
Originally Posted by teckk
Data CD/DVD? An audio CD won't mount. Doesn't have a file system on it. Or a video DVD?
It's just got files on it and images, no audio
Quote:
Originally Posted by teckk
As far as data optical disks, with a file system, find out what device your optical drive is.
By device you mean? To me its just a CD DVD burner.Anything more I should find out other than that?
Quote:
Originally Posted by teckk
Here is an example:
Code:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 500.1G 0 disk
├─sda1 8:1 0 1M 0 part
└─sda2 8:2 0 500.1G 0 part /
sr0 11:0 1 1024M 0 rom
As you can see, the optical disk is /dev/sr0
Code:
eject -T
#Put disk into drive, close
mkdir ~/dvdburner
sudo mount /dev/sr0 ~/dvdburner
ls ~/dvdburner
TvShow3_1.mp4 TvShow3_3.mp4 TvShow3_5.mp4
TvShow3_2.mp4 TvShow3_4.mp4 TvShow3_6.mp4
Don't forget to unmount when you are done, before you remove the disk.
Code:
sudo umount ~/dvdburner
It worked thank you.
Is any of what you just described adding a user to the cdrom group?
Quote:
Originally Posted by teckk
The .vob files are the video, and they are css scrambled of course. You'll need libvdcss installed to view them.
Could I get get the terminal command to install libvdcss from repository?
That is how you mount an optical disk on any linux box. There are auto mounters on all distros. Look at your docs to see what is available for you, and how to configure it for Parrot. Always good to know/understand the basics though.
Quote:
Could I get get the terminal command to install libvdcss from repository?
What video player are you trying to play a video DVD with? There is a little utility called lsdvd that is light and excellent to show you what titles are on the DVD. You can play that title with a video player.
Example:
Code:
mplayer dvd://1
mpv dvd://1
Or use VLC, totem, whatever you wish. When you play the video is it all scrambled? If so then you need libdvdcss.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.