View previous topic :: View next topic |
Author |
Message |
ribo n00b
Joined: 14 Aug 2002 Posts: 53
|
Posted: Tue Feb 11, 2003 7:38 pm Post subject: DVD burning with cdrtools |
|
|
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 so i can burn them. Any ideas? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20054
|
Posted: Tue Feb 11, 2003 7:46 pm Post subject: |
|
|
Moved from Hardware & Laptops. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
ribo n00b
Joined: 14 Aug 2002 Posts: 53
|
Posted: Tue Feb 11, 2003 7:56 pm Post subject: |
|
|
kanuslupus wrote: | Moved from Hardware & Laptops. |
thanks, I wasn't sure |
|
Back to top |
|
|
AkiAki007 Apprentice
Joined: 07 Feb 2003 Posts: 150 Location: New York, NY
|
Posted: Tue Feb 11, 2003 9:03 pm Post subject: |
|
|
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 |
|
|
ribo n00b
Joined: 14 Aug 2002 Posts: 53
|
Posted: Wed Feb 12, 2003 3:56 am Post subject: |
|
|
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 |
|
|
Fat Elvis n00b
Joined: 12 Feb 2003 Posts: 6 Location: HFX/NS/CA
|
Posted: Wed Feb 12, 2003 6:44 pm Post subject: |
|
|
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 |
|
|
ribo n00b
Joined: 14 Aug 2002 Posts: 53
|
Posted: Thu Feb 20, 2003 12:56 am Post subject: |
|
|
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 |
|
Back to top |
|
|
ribo n00b
Joined: 14 Aug 2002 Posts: 53
|
|
Back to top |
|
|
|