Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-01-2004, 01:24 AM   #1 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Talking hey intercodes, dvd help

hey man, here we go:AS ROOT do this stuff*****************
you need an entry for your dvd drive in /etc/fstab that looks like this:
/dev/hdx /mnt/dvd iso9660,udf noauto,user,ro 0 0
replace x with where your drive is, like hda for ide1(master), and make a directory to mount the drive to-->mkdir /mnt/dvd

ok after that you need a symlink,pretty sure this will do it:
ln -s /dev/hdx /dev/dvd-->replace x with drive letter

that way when you refer to dvd it will know that means /mnt/dvd or /dev/hdx

then goto /etc and edit group, add your user name to the disk entry, might as well add one to the floppy entry too while your there, this will give you user access to the dvd drive and floppy drive without being root

then reboot and check dmesg{type dmesg | more} after reboot to see if the kernel recognized the drive

should be ready to rock after that, no need to mount the drive to play or rip a dvd, just use dvd or /dev/dvd in command line and it should work

its set up to recognize reg cd's too, may have to fool with that a bit, not sure if just adding a an entry in fstab is all it takes, may need another symlink, try it and let me know

ok one last thing if your dvd drive is an ide scsi type(and it may be), goto lilo.conf or grub conf and add a line like this at the bottom:
append hdx="ide-scsi", replace x with drive letter of dvd, then reboot and check dmesg again and see if scsi emulation was added for the drive

the above is for dvd read only, writing is a little more complicated to add
horndude is offline  
Old 12-01-2004, 01:43 AM   #2 (permalink)
 
Ultra Techie

Join Date: Jun 2004

Posts: 973

intercodes

Send a message via Yahoo to intercodes
Wink !!!!!!!!!!!!!!!!!!!!!!!!!!!


horndude,

You are frickkii'nnn greatttt with linux!!!!.

Quote:
then goto /etc and edit group, add your user name to the disk entry, might as well add one to the floppy entry too while your there, this will give you user access to the dvd drive and floppy drive without being root
I couldn 't get this part . anyz i added the symb link and added an entry to fstab. Lemme reboot and try .!

and btw, any idea about the cd-writer thing?


intercodes is offline  
Old 12-01-2004, 02:10 AM   #3 (permalink)
 
Ultra Techie

Join Date: Jun 2004

Posts: 973

intercodes

Send a message via Yahoo to intercodes
Unhappy part workin'

horndude,

Before adding your line to the fstab, i logged in as root and tried to check my dvd's.[ cuz I never checked em in root , worked only as a user] It works!, dvd's get detected, and xcdroast scans my ide bus and detects my DVD-ROM. So i guess i can probably write CD-s' as root. Now i need to change my permissions for my drive to work in my user account

Here is the original fstab line for my DVD-drive..

/dev/hdc /media/cdrecorder auto pamconsole,fscontext=sys tem_u: object_r:removable_t,ro,exec,noauto,managed 0 0


What should i change in the above line?

Thanks !


intercodes is offline  
Old 12-01-2004, 08:22 AM   #4 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

dont change anything, looks like everything was detected and setup already, well maybe add "user" to the second to last part, right after noauto and add a comma when you you do it, that should help with permissions

sounds like your good to go, xcdroast has an option when you run it as root to let users write disks, if you havent done so already, do that then try it as a user and see if it works

probably still need to change /etc/group though, open an editor of anykind as root and then goto /etc and find a file called group, it will have a long list of hardware with users listed next to each one, find disk and floppy and add your username to each
horndude is offline  
Old 12-01-2004, 08:59 AM   #5 (permalink)
 
Ultra Techie

Join Date: Jun 2004

Posts: 973

intercodes

Send a message via Yahoo to intercodes
Talking T-H-A-N-K-S

:love:
horndude,

Thanks dude, now everything works perfectly .okay, but xcdroast never had any option of that kind. So I did a cheap hack. I copied the xcdroast config file from the root to my home xcdroast directory. And now when i open my xcdroast in user account, it shows my drives . But iam not sure, whether it would perform a write operation. Lemme check that and post later.

And another thing, when i insert cd/dvd's it's not auto mounting, I should click MyComputer->cdrecorder . Only then i can see a cd-icon on my desktop and can access the cd/dvd's . But anyz i can access ,but if it were to automount it wud be better.

Thanks again




intercodes is offline  
Old 12-01-2004, 09:47 AM   #6 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

pretty sure changing the "noauto" part in fstab to "auto" will fix that
horndude is offline  
Old 12-01-2004, 10:15 AM   #7 (permalink)
 
Ultra Techie

Join Date: Jun 2004

Posts: 973

intercodes

Send a message via Yahoo to intercodes
Default


horndude,

Cheers!


intercodes is offline  
Old 12-01-2004, 05:48 PM   #8 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

glad to help, thats what im here for
horndude is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On