LinuxQuestions.org
Help answer threads with 0 replies.
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 07-27-2014, 07:42 AM   #1
HalfMadDad
Member
 
Registered: Jun 2010
Location: Canada
Distribution: Slackware, systemd-garbage
Posts: 143

Rep: Reputation: 9
good tutorials on optical media ?


Hi Everyone

Blu-Rays burners have really dropped in price, I broke down and bought one.

I am having some trouble with it, along with some success. I want to take a step back and learn more about all the various FLOSS tools avilable and also gain a better understanding of optical media in general.

There are resources all over the net but could you recommend your favorites so I can get a better overview ?

Thanks-Patrick
 
Old 07-27-2014, 02:31 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,358

Rep: Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332
I'll probably get flamed for saying this, but I worked for a spell servicing an old cd plant and we had a BLER(Block Error Rate) tester which I ran on CDRs also.

Using minimum speed minimises errors. That is the bottom line. If you get lightscribe disks you have a guarantee of quality, and they are cheap enough in bulk. Lightscribe writes on the label, but the other side is always very good.
 
1 members found this post helpful.
Old 07-27-2014, 05:10 PM   #3
HalfMadDad
Member
 
Registered: Jun 2010
Location: Canada
Distribution: Slackware, systemd-garbage
Posts: 143

Original Poster
Rep: Reputation: 9
Hi business_kid

That is a good tip but I want to get a better understanding of what is happening "under the hood" .

Do you have any favorite books on CD/DVD/BDs ?

Thanks again
 
Old 07-27-2014, 06:06 PM   #4
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Well, I've haven't heard of too much "under the hood" info on optical media, simply because it is rather simple technology.

I can give you recommendations on how to burn them:

CD:
burn iso:
Code:
nice -n -5 cdrecord -v speed=1 driveropts=burnfree dev=/dev/sr0 -dao "$1"
Burnfree is only available for CDs not DVDs. It is very useful for completely eliminating the chance of coasters. Sadly, CDs can't hold much info, and I rarely use them today, maybe for the occasional live CD.

burn .cue/.bin:
Code:
nice -n -5 cdrdao write --driver generic-mmc-raw --speed 1 file.cue
blank rewriteable media:
Code:
cdrecord blank=fast dev=/dev/sr0
DVD:
For archive purposes I recommend using only DVD+R, because they have better error correction. You may want to consider using Taiyo Yuden DVDs, because of their quality:
http://club.myce.com/f33/taiyo-yuden-faq-178622/
burn iso:
Code:
nice -n -5 growisofs -dvd-compat -speed=1 -use-the-force-luke=bufsize:32m -use-the-force-luke=notray -Z /dev/sr0="$1"
The buffer size is increased here because there is no burnfree and a coaster is possible. Always burn a pre-created iso, never on-the-fly unless you need coasters. If something stalls and the buffer runs dry, you get a coaster. Don't use the HDD too much during the burn.

You can use the '-M' instead of '-Z' for multi-volume disks. Here's a tutorial:
http://www.yolinux.com/TUTORIALS/Lin...ialCDBurn.html

Filesystems:
http://en.wikipedia.org/wiki/ISO_966...ile_size_limit
If you want to create an iso filesystem with a file size limit greater than 2/4 GiB e.g. 8 TB, you need:
Code:
mkisofs -o file.iso -graft-points -rational-rock -full-iso9660-filenames -iso-level 3 -udf "$@"
For a regular iso with the 2/4 GiB file limit, but better compatibility with non-computer devices:
Code:
mkisofs -o file.iso -graft-points -rational-rock -full-iso9660-filenames -iso-level 2 "$@"
Blu-ray:
Commands are identical to DVD:
http://www.stephencuppett.com/wordpr...-ray-in-linux/

EDIT:
Error correction for backups:
For my important backups I always use dvdisaster to augment an iso and add error correction to it. You can also create a separate ECC file, but would have to save it somewhere, like a sequential backup.
http://dvdisaster.net/en/index.html
Note that the data you want to burn should be less than the maximum size of the disk in order to be able to add the ECC to the iso (the ECC size varies with percent redundancy, 14.3% is default but I use all the rest of the disk usually 40-50%). Also the ECC can be used to verify data on the disk.

Last edited by metaschima; 07-27-2014 at 06:16 PM.
 
2 members found this post helpful.
Old 07-27-2014, 06:37 PM   #5
HalfMadDad
Member
 
Registered: Jun 2010
Location: Canada
Distribution: Slackware, systemd-garbage
Posts: 143

Original Poster
Rep: Reputation: 9
Thanks metaschima

These are handy snippets.

I guess I really want to master the whole process. I would like to understand more about flags available, read/write theory, hardware therory, back ground in writing drivers etc.

Thanks
 
Old 07-28-2014, 03:31 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,358

Rep: Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332
Quote:
Originally Posted by HalfMadDad View Post
Hi business_kid
That is a good tip but I want to get a better understanding of what is happening "under the hood" .
Do you have any favorite books on CD/DVD/BDs ?
Thanks again
Very little happens under the hood. Lasers colour stuff, and then read it back. Thereafter, it depends on your 'book' standard. You clearly want to suffer in this. Suffering is good for something, I am sure :-). I will give you the 'under the hood' searches on google.

<colour> book standard specification

where <colour> is replaced by orange, yellow, red, yellow. Then replace
'<colour> book' with

dvd-r, dvd+r, blu-ray. Finally, grok the Wikipedia article on iso9660, & iso13490.
 
1 members found this post helpful.
Old 07-28-2014, 04:13 PM   #7
HalfMadDad
Member
 
Registered: Jun 2010
Location: Canada
Distribution: Slackware, systemd-garbage
Posts: 143

Original Poster
Rep: Reputation: 9
Hi business_kid

Thanks for these tips, they really help. I am marking this solved.

Yes suffering is good, I need to pay for my sins and generating software is more productive then flogging myself

Have a great day
 
Old 07-29-2014, 02:30 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,358

Rep: Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332
I assure you, suffering does not forgive sins, and you don't benefit in any way. It can be a necessary stage in the design/writing processes however, so I will let you get on with it. Glad to help
 
  


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
view optical media and optical drive information in CLI m4rtin Linux - Server 7 03-03-2016 10:54 AM
About quality in optical media. stf92 General 20 07-02-2011 05:08 AM
optical media caching? ninja master Linux - Software 1 08-11-2009 07:20 PM
Can't mount _BLANK_ optical media grautu Slackware 7 04-14-2007 12:36 PM
UV Lights and Optical Media Matir General 2 06-30-2005 03:29 PM

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

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