LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-01-2006, 05:36 AM   #1
tanchu
LQ Newbie
 
Registered: Mar 2003
Posts: 26

Rep: Reputation: 15
DVD writer+CDRW mounting/writing problems


Hi, I'm using Kanotix Linux currently and my fstab is as follows:

# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda5 / reiserfs defaults 0 1

proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/hdc /mnt/dvdburner auto umask=0022,user,iocharset=iso8859-15,udf,codepage=850,noauto,ro,exec,users 0 0
/dev/hdd /mnt/cdrw auto umask=0022,user,iocharset=iso8859-15,udf,codepage=850,noauto,ro,exec,users 0 0
#/dev/cdrom /cdrom iso9660 user,unhide,defaults,ro,users,noexec,noauto 0 0
#/dev/cdrom1 /cdrom1 iso9660 user,unhide,defaults,ro,users,noexec,noauto 0 0
#/dev/dvd /dvd iso9660 user,unhide,defaults,ro,users,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 vfat auto,users,exec,umask=000,shortname=mixed,quiet 0 0
# Added by KNOPPIX
/dev/hda6 none swap defaults 0 0
#Added by klik (klik.atekon.de)
/mnt/app/1/image /mnt/app/1 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/mnt/app/2/image /mnt/app/2 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/mnt/app/3/image /mnt/app/3 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/mnt/app/4/image /mnt/app/4 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/mnt/app/5/image /mnt/app/5 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/mnt/app/6/image /mnt/app/6 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/mnt/app/7/image /mnt/app/7 cramfs,iso9660 user,noauto,ro,loop,exec 0 0

As you see, I want to read/write my dvd writer and cdrw as in Windows XP. (that means i can copy and drag etc.) I have both Benq dvdr and Samsung cdrw. How do i amend in the fstab so as to perform normal read/write access? Currently the fstab i'm using are thru cut & paste. I'm still not familiar with the command yet. Helps needed urgently. Thanks.
 
Old 01-01-2006, 06:28 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
well these is no big deal ,u can make an empty folder in /tmp
then post the symlink of that on ur desktop,then when u drag and drop ur data in that folder,just write that folder to your CD using k3b
does windows XP do more than that??

windows Xp uses Roxio CD burning software for that and gives u an extra option of "write these files to the CD"

regards
 
Old 01-01-2006, 06:39 AM   #3
tanchu
LQ Newbie
 
Registered: Mar 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Hi Masand, thanks for your reply.

What i actually need is to avoid using k3b but rather a direct dragging of data in folder A to folder B. I'm also not quite familiar in posting of symlink. If possible, maybe u can help me look into the fstab to see how to edit it so my dvd n cdrw will have no problem in writing data. Thanks.
 
Old 01-01-2006, 07:57 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

as i mentioned above

u need to use a CD/DVD burning S/W like windows Xp does
you cannot do without a CD/DVD burning S/W

try looking for nero for linux

regards
 
Old 01-01-2006, 06:13 PM   #5
dmartins
Member
 
Registered: Oct 2005
Location: Ontario, Canada
Distribution: Arch, Gentoo
Posts: 98

Rep: Reputation: 15
What you want to do is called packet writing. I haven't set it up yet, and i'm not familiar with kanotix. I do know that the kernel needs to be set up to support this feature.

Here is a link to a page with a bit of info. It looks a little dated since i think packet writing support has been included in the kernel without the need for a patch for a while now.

http://packet-cd.sourceforge.net/
Since i just got a new dvd burner i'll have a shot at getting this working and let you know how it goes.
 
Old 01-01-2006, 08:05 PM   #6
dmartins
Member
 
Registered: Oct 2005
Location: Ontario, Canada
Distribution: Arch, Gentoo
Posts: 98

Rep: Reputation: 15
Ok, no luck with this yet, but i've found more detail about how this all works.

you need support for the udf filesystem. you can check this with 'cat /proc/filesystems'. Look for 'udf'

If you don't have support try 'modprobe udf'. If there are no errors check that the module is loaded with lsmod and then check 'cat /proc/filesystems' again. If this doesn't work you'll need to recompile your kernel with support for the udf filesystem

You also need packet writing support. In your kernel config this can be found under Device Drivers --> Block Devices. I compiled this as a module. It's called pktcdvd, so i run 'modprobe pktcdvd'.

Once that's done your kernel should be setup the way it needs to be.

You also need udftools which you can find at http://sourceforge.net/projects/linux-udf/

This provides: mkudffs - for making a udf filesystem on to a dvd, cd, file, etc.
pktsetup - for assigning your burner to a packet writing device node
cdrwtool - automagically set up a cd-rw disc for packet writing

So, you need to assign your burner to a pktcdvd node. Assuming your cd burner is /dev/hdc you'd type 'pktsetup 0 /dev/hdc'. This should create /dev/pktcdvd/0

Next you need to format a disc. This is the part i can't get to work! If you're using a cd-rw you can type 'cdrwtool -d /dev/hdc -q'. If it's a DVD+RW disc then do 'mkudffs /dev/hdc'. If you get an error you might need to format the disc first using 'dvd+rw-format -force /dev/hdc'. It should work the same for DVD-RW as well but i can't get it to work! mkudffs always gives the error "trying to change the type of multiple extensions". I've searched a bit but found no solution for this yet! (But quite a few people getting the same error).

Anyways, after the disc is formatted and contains a udf filesystem you can mount it like so:
mount -t udf /dev/pktcdvd/0 /mnt/cdwriter

After that you should be able to drag and drop or use cp and treat the disc like a giant floppy. Check out http://gentoo-wiki.com/HOWTO_Packet_Writing_on_CD-RW for a bit more info (although written for gentoo most info will still apply)

Good luck!
 
Old 01-02-2006, 08:01 AM   #7
tanchu
LQ Newbie
 
Registered: Mar 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Hi dmartins, thanks for your advice. I'm not a technical guy, but just basically annoyed for the fact that i had to upgrade my system just to run the sloppy windows xp is a joke.

I'll try all those that u had posted, and hopely the compilation will not mess up the system. I'm still trying to learn more about the symbolic linkage, compiling, the make, etc.

Anyway, will try those methods and share with u the results later. Thanks.
 
Old 01-02-2006, 10:03 AM   #8
dmartins
Member
 
Registered: Oct 2005
Location: Ontario, Canada
Distribution: Arch, Gentoo
Posts: 98

Rep: Reputation: 15
I've tried to get this working with a CD-RW and still no go. The common error, with the DVD-RW and CD-RW seems to be 'unable to read superblock'. I then have trouble getting the disc to eject. As long as i run linux i will never run out of things to do!

I have a BENQ 16x DVD writer. It's a brand new model so this may be where my troubles are coming from.
 
Old 01-04-2006, 10:59 AM   #9
tanchu
LQ Newbie
 
Registered: Mar 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Same here. I also just bought a new BENQ 16X DVD writer together with my old Samsung CDRW. Still figuring how to work things out.
 
  


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
Mounting an HP dvd movie writer dc3000(4000) Endorpheus Linux - Hardware 0 11-30-2005 01:08 AM
Trouble mounting DVD/CDRW BobCobb Linux - Newbie 6 11-01-2005 11:38 PM
mounting a dvd writer chardome Linux - Hardware 2 10-04-2005 11:10 AM
Problems Mounting a DVD Writer slave187 Linux - Hardware 7 05-06-2005 10:40 AM
DVD & CDRW mounting problems sai49 Linux - Software 5 11-23-2003 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:36 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