Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DVD burning with cdrtools
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ribo
n00b
n00b


Joined: 14 Aug 2002
Posts: 53

PostPosted: Tue Feb 11, 2003 7:38 pm    Post subject: DVD burning with cdrtools Reply with quote

I have played with this for a while and i can't ever get it to work right. The problem is that the latest cdrtools (2.01_alpha02) has the ATAPI support that I need (I think the drive hates SCSI emu or im just not doing it right) the dvd writing patch only works on 1.11, so ATM i had to make a windows partition :evil: so i can burn them. Any ideas?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20054

PostPosted: Tue Feb 11, 2003 7:46 pm    Post subject: Reply with quote

Moved from Hardware & Laptops.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
ribo
n00b
n00b


Joined: 14 Aug 2002
Posts: 53

PostPosted: Tue Feb 11, 2003 7:56 pm    Post subject: Reply with quote

kanuslupus wrote:
Moved from Hardware & Laptops.

thanks, I wasn't sure :)
Back to top
View user's profile Send private message
AkiAki007
Apprentice
Apprentice


Joined: 07 Feb 2003
Posts: 150
Location: New York, NY

PostPosted: Tue Feb 11, 2003 9:03 pm    Post subject: Reply with quote

i'm not sure where you are on this problem...so...

is your drive a scsi drive or an ide drive?
have you been able to see the drive on the scsi bus (both for ide and scsi)?
to do the above, use cdrecord -scanbus

You have to emulate ide drives as scsi if you want to use them to burn to (just in case you don't know - i'm not sure of your linux user level)

also, if you have loaded ide-scsi then how did you do it?
Back to top
View user's profile Send private message
ribo
n00b
n00b


Joined: 14 Aug 2002
Posts: 53

PostPosted: Wed Feb 12, 2003 3:56 am    Post subject: Reply with quote

the new cdrtools supports ATAPI and i'd like to use the IDE burning mode, 2.0.0 no longer needs scsi emulation
Back to top
View user's profile Send private message
Fat Elvis
n00b
n00b


Joined: 12 Feb 2003
Posts: 6
Location: HFX/NS/CA

PostPosted: Wed Feb 12, 2003 6:44 pm    Post subject: Reply with quote

FWIW, I'm burning DVDs under Gentoo - and while it was a bit of a learning curve it's working great now.

I've using dvdrecord for a Pioneer A05 - it's DVD-R(W). I have this and a standard CDRW in the same box.

In my kernel config I had to specify:

SCSI CD-ROM support
SCSI generic support
SCSI emulation support

All of those are built directly into my kernel - I suppose I could have made them modules...

My grub.conf file looks like this:
Code:
default 0
timeout 3
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux 1.4
root (hd0,0)
kernel /boot/bzImage6 root=/dev/hda3 hdc=ide-scsi hdd=ide-scsi vga=791


Then I downloaded the dvdrecord tar ball and did the usual:

http://freesoftware.fsf.org/download/dvdrtools/dvdrtools.pkg/0.1.3/

My /etc/dvdrecord.conf file:
Code:
dvdr= 0,0,0     40      32m
cdr= 0,1,0      40      32m


Then I hacked together a little bash script to make my life eaiser - it saves me from having to make an ISO file first and then burn it. The dvdrecord man page suggested you could pipe in the image as it was created - that works, but dvdrecord needs the tsize flag set before it can start the burn...
Code:
#!/bin/bash
# burndvd.sh

if [ "$#" -ne 1 ]; then
        echo "usage: $0 /path/to/make/dvd/from"
        exit
fi

burnsize=`du -s "${1}" | awk {' print $1 '}`
burnsizeh=`du -sh "${1}" | awk {' print $1 '}`

#4500000 might need to be tweaked.

if [ "$burnsize" -gt 4500000 ]; then
       echo "Directory is too big! (${burnsizeh}) Exiting."
       exit
fi

volumetitle=`date +%y%m%d_%k%M`

cdblocks=`mkisofs -R -J -l -V "${volumetitle}" -print-size -quiet "${1}"`

mkisofs -R -J -l -V "${volumetitle}" -quiet "${1}" | \
dvdrecord -dev dvdr -v -dao -eject -tsize=${cdblocks}s -
Back to top
View user's profile Send private message
ribo
n00b
n00b


Joined: 14 Aug 2002
Posts: 53

PostPosted: Thu Feb 20, 2003 12:56 am    Post subject: Reply with quote

thats a very nice little script fat elvis, one question though, my dvd burner will burn CDs too, in the /etc/dvdrecord.conf file could i do this:

Code:

dvdr= 0,0,0     40      32m
cdr= 0,0,0      40      32m


thanks for the help :D
Back to top
View user's profile Send private message
ribo
n00b
n00b


Joined: 14 Aug 2002
Posts: 53

PostPosted: Wed Mar 05, 2003 8:49 pm    Post subject: Reply with quote

cool beans, this just came out on portage recently:

* app-cdr/cdrtools-dvdr
Latest version available: 2.01_alpha04
Latest version installed: 2.01_alpha04
Size of downloaded files: 1,556 kB
Homepage: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html
Description: A set of tools for CDR drives, including cdrecord. Includes Mandrake's DVDR patch.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum