Pastebin

Paste #5846: How To Burn Blu-ray discs in Linux

< previous paste - next paste>

Pasted by Anonymous Coward

Download View as text

How To Burn Blu-ray discs in Linux

= Source: https://lists.debian.org/debian-user/2017/06/msg00662.html
= Re: Bluray Debian ISOs: Which app(s) burns bluray images?
= Thomas Schmitt, Author - June 18, 2017

"Hi,

Anonymous wrote:
> I need to use a burning application in Linux which supports blank
> Bluray medium.

As GUI you may use xfburn. Version 0.5.2 and later has Blu-ray support.
Use the "Burn Image" feature, not the "New Data Composition" feature
which would pack up the image inside an ISO 9660 filesystem.

Brasero and K3B can do Blu-ray, too. But i don't know the oldest suitable
version numbers or whether those are already in Debian 8.

On the command line there is growisofs, which is somewhat orphaned,
and cdrskin and xorriso, where i am the developer.

  growisofs -dvd-compat -Z /dev/sr0=image.iso

  cdrskin -v dev=/dev/sr0 fs=64m -eject image.iso

  xorriso -as cdrecord -v dev=/dev/sr0 fs=64m -eject image.iso

All three can do this since nearly 10 years.


If you are unsure whether /dev/sr0 is the right address of your burner,
do as superuser

  xorriso -devices

to see a list of all idle CD-capable devices and their /dev/srX addresses.
E.g.
  0  -dev '/dev/sr0' rwrw-- :  'HL-DT-ST' 'DVDRAM GH24NSC0' 
  1  -dev '/dev/sr1' rwrw-- :  'ASUS    ' 'BW-16D1HT' 
The first is an LG DVD burner, the second an ASUS Blu-ray burner.

You need rw-permission to the /dev/srX file in order to burn.
On Debian 8 there should be ACL which grant rw to the desktop user.
  getfacl /dev/sr0
on my system says among other lines
  user:thomas:rw-
If not, then i advise to let the superuser grant rw-rights to a less
powerful user who then shall do the burn run.


One may add options in order to avoid the slow and error prone checkreading
while writing (aka Defect Management). growisofs inavoidably applies Defect
Management if the medium is formatted. BD-R can be used unformatted, BD-RE
cannot.
To avoid automatic formatting of BD-R media:

  growisofs -use-the-force-luke=spare=none -dvd-compat -Z /dev/sr0=image.iso

cdrskin and xorriso do not format BD-R automatically. With BD-RE it is
possible to disable Defect Management although they must format them
before first use:

  cdrskin -v stream_recording=on dev=/dev/sr0 fs=64m -eject image.iso 

  xorriso -as cdrecord -v stream_recording=on dev=/dev/sr0 fs=64m -eject image.iso


If you want cdrskin or xorriso to use Defect Management on BD-R, do with
the BD-R medium before the burn run:

  cdrskin -v dev=/dev/sr0 blank=format_defectmgt

  xorriso -outdev /dev/sr0 -format as_needed


Have a nice day :)

Thomas"

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.