LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-24-2012, 01:25 PM   #1
LeoinNJ
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Rep: Reputation: Disabled
OK, where's my DVD drive?


I cannot understand linux file structure at all! I'm using Dolphin file manager, which I can understand prety well, and is mirable dictu capable of finding a.txt without also finding aa.txt, aaa.txt, abc.txt abcdefghijklmop.txt and 10 million other files I do NOT want, and I can find my external hard drive, but

Where's my DVD drive dude?


and where is /home/lee/.local/share/applications? I've got /lee/home, but no /home/lee. (my name is lee.)

Totally lost.Tearing my hair out.
 
Old 11-24-2012, 02:01 PM   #2
kabamaru
Member
 
Registered: Dec 2011
Location: Greece
Distribution: Slackware
Posts: 276

Rep: Reputation: 134Reputation: 134
Hi, and welcome. Open a terminal and run:

Code:
pwd
Doesn't this return /home/lee ?

As for the dvd, you just insert the DVD and an icon should appear on the left side of Dolphin. You click on it and it gets mounted on /media/<volume-name>.

EDIT:

/home/lee/.local/share/applications is a hidden directory (leading dot). While inside your home directory do an

Code:
ls -a
and you should find a directory named .config.

Last edited by kabamaru; 11-24-2012 at 02:05 PM.
 
Old 11-24-2012, 02:09 PM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Where's my DVD drive
Have a look at /etc/fstab file. This file has entries for the devices that need to be mounted.

This is the entry for my CD/DVD drive.

Quote:
/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0
From left to right, /dev/cdrom is the device file linux knows the device by. You will have a file for each hardware device on the system. The second field is the mount point in the file system. /mnt/cdrom is an empty directory until the CD has a disc in it, and its mounted. Then you will see the files and directories on the CD ( or DVD ).

The next field is the file system type. auto allows the system to examine the CD, and figure out what file system it on it.

Next is a string of options, noauto prevents the system from mounting the CD at boot time. user allows the user ( me ) to mount the CD, without using root authority. ro says the CD is mounted read only. The two zeros are recovery options.

Quote:
and where is /home/lee/.local/share/applications
The only tricky part here is the period in front of local. That makes the directory 'hidden'. You have two choices, look at the application to see if there is an option for listing hidden directories, select it and it will appear.

Other option, use the command console. If you are in /home/lee ( your home directory ) then do a 'cd .local' and press enter. Do not enter the quotes, just what is between them.

Quote:
I've got /lee/home, but no /home/lee. (my name is lee.)
What? you just showed us you have /home/lee, are you sure? Don't know how you did that, if you did.

What distro are you using?
 
Old 11-24-2012, 02:31 PM   #4
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
@camorri: Having the CDROM in /etc/fstab is deprecated,it is not there by default anymore in most distro

@LeoinNJ: Files or foders that start by "." are hidden files. You can view them by going the Dolphin view menu and select "show hidden files". You do have a /home/lee, but Dolphin hide the "home" part by default so you don't have to care about the Linux directory structure. If you want to learn more about it, read this:

http://refspecs.linuxfoundation.org/...3/fhs-2.3.html

You don't have to learn it by heart, it will eventually make sense, but taking a quick look at the titles and subtitles and reading what seem interesting to you will take 10 minutes and will help you resolve all the questions you just asked.
 
Old 11-24-2012, 02:40 PM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
it is not there by default anymore in most distro
It is in Slackware. Then look in /media.
 
Old 11-24-2012, 02:49 PM   #6
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
Yes, so does Arch and Gentoo, it is not my point. My point is that it have been replaced by HAL in 2006 and HAL itself have been replaced by deviced then udisks in 2010. Those modern framework allow user privileges applications to mount and umount devices like CD and USB drives without root access. Let take for example a system with 8 usb port. You can add to fstab an entry for "sdb" and add the "user" and "users" mount options to allow regular users to mount it. But what happen if you add a second one and you don't have an entry for "sdc"? Well, the user can't use the USB drive without the root password. How useful! It is those kind of problems that have been solved by HAL/udisks and applications such as Dolphin use them as sole backends, so even if /etc/fstab was proprely configured, and it is not the case, then Dolphin would not work with it anyway. /mnt is also deprecated for removable devices, see link above for complete documentation of why it is the case.

@LeoinNJ: Ignore what I just said, it was off topic.
 
Old 11-24-2012, 03:12 PM   #7
LeoinNJ
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
<<As for the dvd, you just insert the DVD and an icon should appear on the left side of Dolphin. You click on it and it gets mounted on /media/<volume-name>.>>

Nope! No icon. I don't have a directory called /media/<volume-name>. I have "gateway" (machine maker), System. 415.7 Gib Trash, Root Network and Home. That's all.

<<Open a terminal and run:

Code:

pwd

Doesn't this return /home/lee ?
>>

Yes, it does. Which 13th level demon do you have to sacrifice a goat to to find this out? How on God's green Earth are newbies supposed to guess these things? AAAARRRGHHH!

As for the rest of it, I will have to calm down before I can attempt to understand the instructions, but they look good.

Thanks all.
 
Old 11-24-2012, 08:55 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Are you not seeing an empty DVD drive, or not seeing after inserting a data disk in it?

Normally an empty drive is not accessible because there is nothing in it to access.

Does the device show when you run dmesg from a terminal? Here's what I see on my laptop (I have both internal and external DVD drives connected):

Code:
# dmesg | grep DVD
[    4.636826] ata2.00: ATAPI: Optiarc DVD+/-RW AD-7580S, FD04, max UDMA/100
[    4.654880] scsi 3:0:0:0: CD-ROM            Optiarc  DVD+-RW AD-7580S FD04 PQ: 0 ANSI: 5
[    7.797152] usb 2-1.4: Product: PIONEER DVD/CD Writer DVR-S806
[    8.801187] scsi 11:0:0:0: CD-ROM            PIONEER  DVD-RW  DVR-108  1.14 PQ: 0 ANSI: 0
 
Old 11-25-2012, 12:17 AM   #9
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Quote:
Originally Posted by LeoinNJ View Post
I cannot understand linux file structure at all! I'm using Dolphin file manager, which I can understand prety well, and is mirable dictu capable of finding a.txt without also finding aa.txt, aaa.txt, abc.txt abcdefghijklmop.txt and 10 million other files I do NOT want, and I can find my external hard drive, but
That can be accomplished by either using globing or regular expressions. But is there a pattern or are you just trying to find all text files ending with .txt? In the latter case, you can do
Code:
find ~/ -name '*.txt'
Quote:
Where's my DVD drive dude?
Probably /dev/sr0 is the special device file for your dvd drive.

Check in /media for it. If it's not there,

Code:
su -
mkdir /media/dvd
sudo mount -t auto -o ro /dev/sr0 /media/dvd
Then it should be at /media/dvd.

Quote:
and where is /home/lee/.local/share/applications? I've got /lee/home, but no /home/lee. (my name is lee.)
Files beginning with a dot are hidden files in Linux. They can be viewed with ls -a command. -a means all. In Dolphin, you can View>Show Hidden Files.

Quote:
Totally lost.Tearing my hair out.
I suggest getting some reading material or videos to familiarize yourself with Linux/GNU. You may not be interested in using the command line at all, but being a little familiar with it doesn't hurt. Many modern distros, just about everything you can want done can be done through the GUI now.

Last edited by fakie_flip; 11-25-2012 at 12:20 AM.
 
Old 11-25-2012, 12:23 AM   #10
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Quote:
Originally Posted by LeoinNJ View Post
How on God's green Earth are newbies supposed to guess these things? AAAARRRGHHH!
You're not supposed to guess to figure out. There's plenty of books, linux wikis, reading material, websites, google, etc with this information.
 
Old 11-25-2012, 01:53 AM   #11
LeoinNJ
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
I do not see a DVD drive in Dolphin, onqwuereor, nor any other file manager I have tried. This is true whther there's a disk in it or not.
What I get when I type dmesg is too long to enter here (57723 characters) but here is some of it:
the characters "DVD do appear there, but I cannot make any sense of it.


[ 0.000000] BIOS-e820: 00000000bab75000 - 00000000bab76000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000bab76000 - 00000000bab7c000 (reserved)
[ 0.000000] BIOS-e820: 00000000bab7c000 - 00000000bab7e000 (usable)
[ 0.000000] BIOS-e820: 00000000bab7e000 - 00000000bab8e000 (reserved)
[ 0.000000] BIOS-e820: 00000000bab8e000 - 00000000bab9c000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000bab9c000 - 00000000babf1000 (reserved)
[ 0.000000] BIOS-e820: 00000000babf1000 - 00000000bac34000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000bac34000 - 00000000bb000000 (usable)
....
lee@lee-DX4860:~$

This is much too complicated for me to understand. how do a copy a file to the DVD?

here is another attempt

# dmesg | grep DVD
[ 1.407882] ata5.00: ATAPI: HL-DT-ST DVDRAM GH70N, UGA0, max UDMA/100
[ 1.419646] scsi 4:0:0:0: CD-ROM HL-DT-ST DVDRAM GH70N UGA0 PQ: 0 ANSI: 5
lee@lee-DX4860:~$

what does this mean, and how do I copy a file to the DVD?
Why is that so impossible?

How many PhDs in computer science do you need to copy a file?


>Files beginning with a dot are hidden files in Linux. "/home/lee" does not begin with a dot.They can be viewed with ls -a command.Where do I issue this comman? in Terminal? That's not Dolphin -a means all. In Dolphin, you can View>Show Hidden Files.<<

No I can't. I can show line numbers, but that's all.



you recommend

su -
of course the res fails too
mkdir /media/dvd
sudo mount -t auto -o ro /dev/sr0 /media/dvd

when I type "su -", it asks for my password, when I type it correctly, it says "authorization failed"

WHY CAN'T I COMPY A SIMPLE FILE TO THE DVD?????

I do not appear to have any volume/directory/drive called "/media". Where is it hiding? I have seen it before, but can't recall where/how to see it.
I can find my external hard drive easily. where is the DVD? Why is this so hard?


>>
You're not supposed to guess to figure out. There's plenty of books, linux wikis, reading material, websites, google, etc with this information.<<
How do you look something up if it's impossible to understand?

where, for exAmple, might I find the above code
su -
mkdir /media/dvd
sudo mount -t auto -o ro /dev/sr0 /media/dvd


What on God's gren earth does this mean, anyway? What does "su" mean, and what is the import of the "-"? What does "sudo" mean? Why would I have to make a directory called "/media/dvd" when it isn't a directory (it's a drive, isn't it?) and it should exist already? What does "-t auto -o ro /dev/sr0 /media/dvd" mean? How is anybody supposed to understand this Martian gobbledegook when people won't explain it?

I am trying, really!



Thanks for your courteous answer, but it is no help at all. I am obiously not on the same planet as this.

Last edited by LeoinNJ; 11-25-2012 at 02:09 AM.
 
Old 11-25-2012, 02:32 AM   #12
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
To burn files to the DVD, install "K3B", the KDE cd/dvd burning application. If the CD/DVD is empty, it wont show up, it is normal. Dolphin does not support DVD burning, this is handled by K3B.

In Ubuntu, go to the software center and download it, or open a terminal and type "sudo apt-get install k3b". Then it will be in the menu. Sorry if nobody told you that before, but you never said you wanted to burn something. We didn't knew. Sometime it is hard to answer a simple question without knowing the exact question. K3D is a very nice and simple DVD writing software, yet very powerful.
 
Old 11-25-2012, 02:43 AM   #13
LeoinNJ
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
I do not wish to burn DVDs(I do know how to do that) so much as
1: See the files on the DVD, This is possible in Windows.
2; Read or copy files on or off the DVD drive. This is possible in Windows. Just like a floppy disk! rRmember them? They contained files you could actually see and read (what a concept!)
They were useful before they became impossible.

I have an unlabelled disk under my desk. How do I determine what's on it if my computer can't find it? Is this too much to ask?
 
Old 11-25-2012, 08:27 PM   #14
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
You certainly should be able to open an optical disc and browse its contents in Linux in much the same way you do in Windows.

I am assuming that you have tested the disc(s) you are using in another machine so you have ruled out the media as the cause.

Here's a trouble-shooting suggestion:

Boot the computer to a Live CD and test whether you can browse a known-good disc from the Live CD. Knoppix is a good choice, but there are many others.

If you have an external CD/DVD drive or could borrow one for an evening, that could also be used for testing.

That could indicate whether the problem is with your software load or might be a symptom of something larger.

Edit: I just had a thought. If the CD/DVD you are using was created by a Windows user, it is possible it was burned in the Windows Live File System Format, which is readable only by Windows?

Last edited by frankbell; 11-25-2012 at 09:55 PM.
 
Old 11-26-2012, 01:13 AM   #15
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Quote:
Originally Posted by LeoinNJ View Post
su -
of course the res fails too
mkdir /media/dvd
sudo mount -t auto -o ro /dev/sr0 /media/dvd

when I type "su -", it asks for my password, when I type it correctly, it says "authorization failed"
I didn't notice you were running Ubuntu. In that case,

sudo mkdir /media/dvd
sudo mount -t auto -o ro /dev/sr0 /media/dvd

Normally you wouldn't need to use commands. Are you running Kubuntu? You mentioned Dolphin, so I am guessing Kubuntu, not Ubuntu.

It sounds like you are experiencing a bug, probably in the distro you're using because you can't access the dvd from the GUI. You may want to try another beginner friendly distro such as Fedora 17 or Linux Mint.

You can run them as Live CDs (or dvds). This allows you to run it without installing it. Test if your dvd drive is working from the GUI before you decide to install one.

So the commands given to you didn't work. It always helps to copy/paste the output from them. We can't see what's on your screen.

Or you may have burned the disk using "Windows Live File System Format" as another user suggested. Have you tried putting a different DVD in the drive, a blank DVD just to see if it works?

Last edited by fakie_flip; 11-26-2012 at 01:18 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian 5.0.4 DVD (AMD64) does not recognize Toshiba L500D-ST2532 DVD Drive rekhillbill Linux - Newbie 3 05-04-2010 04:00 PM
DVD Drive Weirdness - Debian (possibly grub) makes my dvd drive disappear Daws Debian 8 08-26-2007 04:50 PM
How to get SUSE installation DVD to read from secondary slave DVD drive. Kippax Linux - Hardware 3 06-09-2007 10:37 PM
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 02:00 PM
How can I change cdrom1 to dvd. REDhat9, lite-on LTD-163D dvd drive theonlydrew Linux - Hardware 3 01-26-2006 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration