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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
03-14-2005, 03:13 PM
|
#16
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Original Poster
Rep:
|
Well, I have a DVD/CD-RW drive if that helps. I posted the /etc/mtab, but God knows what that was for! I'm not sure what to point it to.../dev/hdc? /dev/hdd? /dev/hde? I'm quite confused, so I don't now which one to point it to. Pleae may you tell me how I can find out which one I need to point it to? Thanks,
J_K9
|
|
|
03-14-2005, 03:14 PM
|
#17
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
do this in a terminal:
dmesg | grep hd
here's mine:
dmesg | grep hd
Kernel command line: BOOT_IMAGE=Slack ro root=341 hdc=ide-scsi
ide_setup: hdc=ide-scsi
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda MA, hdb MA
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc MA, hdd MA
hda: WDC WD600BB-00CAA1, ATA DISK drive
hdb: WDC WD200EB-11BHF0, ATA DISK drive
hdc: LTN301, ATAPI CD/DVD-ROM drive
hdd: 48X12X50 CD-RW 1.02 20021009, ATAPI CD/DVD-ROM drive
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=7297/255/63, UDMA(100)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=2434/255/63, UDMA(100)
hdd: attached ide-cdrom driver.
hdd: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
hda: hda1 hda2 hda3 hda4
hdb: hdb1 hdb2 hdb3 < hdb5 >
from this you can see hda and hdb are hard drives, hdc is a cd drive, and hdd is a cd-rw drive. so if I wanted xine to access the cd-rw drive, I would have to specify /dev/hdd, or if I wanted it to access the other cdrom drive, I would tell it /dev/hdc
also, If I wanted a /dev/cdrom generic identifier, it would be pointing back to either /dev/hdc or /dev/hdd, in other words it's not a device itself but a pointer back to a device.
Last edited by __J; 03-14-2005 at 03:16 PM.
|
|
|
03-14-2005, 03:46 PM
|
#18
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Original Poster
Rep:
|
Here is the output of it on my laptop:
Quote:
EXT3 FS on hdc1, internal journal
SELinux: initialized (dev hdc1, type ext3), uses xattr
SCSI device sda: 1024000 512-byte hdwr sectors (524 MB)
SCSI device sda: 1024000 512-byte hdwr sectors (524 MB)
SCSI device sdb: 1024000 512-byte hdwr sectors (524 MB)
SCSI device sdb: 129024 512-byte hdwr sectors (66 MB)
SELinux: initialized (dev hda, type iso9660), uses genfs_contexts
|
I hope this makes sense to you! Thanks in advance,
J_K9
|
|
|
03-14-2005, 03:59 PM
|
#19
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
hmm,
alright, check /etc/fstab for lines like:
/dev/hdc /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/sr0 /mnt/cdrom iso..............................................................
/dev/scd0 /mnt/cdrom etc............
or something similar..
|
|
|
03-14-2005, 04:04 PM
|
#20
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Original Poster
Rep:
|
Here is my fstab:
Quote:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda /media/cdrecorder auto pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
|
The only line I can see that resembles something like my CD Drive is /dev/hda, but isn't that meant to be my HDD?
J_K9
|
|
|
03-14-2005, 04:09 PM
|
#21
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
no actually it looks like your device
it's assigning /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 as your root partition on your harddrive.
toss a data cd like one of your install cd's in your drive, and type(as root):
mount /dev/hda
then check /media/cdrecorder and see if it has the files inside
|
|
|
03-14-2005, 04:24 PM
|
#22
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Original Poster
Rep:
|
Here is what it said when I tried to mount it:
Quote:
[maniac@gobledee ~]$ mount /dev/hda
mount: /dev/hda already mounted or /media/cdrecorder busy
mount: according to mtab, /dev/hda is already mounted on /media/cdrecorder
|
And yes, there were files in /media/cdrecorder! The only problem is that when I tried to make Grip read from /dev/hda, it came up with the same error message! Is there something I am doing wrong? Thanks again,
J_K9
|
|
|
03-14-2005, 04:28 PM
|
#23
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
are you running grip as root or a user
|
|
|
03-14-2005, 04:38 PM
|
#24
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Original Poster
Rep:
|
As a user
|
|
|
03-14-2005, 04:41 PM
|
#25
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
you /dev/hda file probably does not have the right permissions to access it as a user. This can be changed, or you can use sudo or su -c to run these programs as root ( k3b or other cd/dvd recording programs will fall into the same boat). sudo has to be set up, there are good guides around the net for that. or in a terminal launch grip like:
su -c /usr/bin/grip ( or wherever it is)
<passwd>
and grip will run as root.
try that and see if it helps.
|
|
|
03-14-2005, 04:56 PM
|
#26
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Original Poster
Rep:
|
I tried su -c /us/bin/grip, and grip opened (in root, as you said). Then I changed the config to read from /dev/hda, but grip said there was no disc. So then I changed it to /media/cdrecorder, but that didn't work either. If you are still able to help me, because you seem to be a very intelligent person, then please reply, but I'm sorry that I won't be able to reply until 0700 GMT because the network shuts down at 2200 GMT. Thanks for your help so far!
J_K9
|
|
|
03-14-2005, 05:23 PM
|
#27
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
try a different disc and see if that helps.
|
|
|
03-15-2005, 02:15 AM
|
#28
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Original Poster
Rep:
|
Hi,
I tried a different disk, but the same error came up! So, I decided to fiddle around with it a bit, so in terminal I typed in "dmesg" by itself, and one of the lines of output was this:
Quote:
hda:ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
|
So I think we now know for sure that it is my CD drive! But, even then Grip and CD Player think there is no disk....Any ideas?
J_K9
|
|
|
03-15-2005, 08:26 AM
|
#29
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Original Poster
Rep:
|
Please may someone help me, because as you have probably already worked out, I am unable to play any music CDs or DVD using any media player. I would like to try and fix Grip and xine so that I can play these. Please can someone help me? Thanks in advance,
J_K9
|
|
|
All times are GMT -5. The time now is 06:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|