个人工具

CdDvdBurning

来自Ubuntu中文

跳转至: 导航, 搜索

刻录 CD/DVD

原文出处:https://wiki.ubuntu.com/CdDvdBurning

原文作者:UbuntuWiki

授权许可:

翻译人员:qchem

校正人员:MillenniumDark

贡献人员:

适用版本: 文章状态:等待校正



Graphically 图形方式

  • Insert a blank CD or DVD into your drive
  • 将一张空白CD或DVD插入你的刻录机。
  • Wait for the pop-up and choose Data or Music Cd (versions of Ubuntu prior to Ubuntu 6.06 may also offer a Photo cd option. This is the same as a Data CD)
    • To burn a Music CD, see AudioCDCreation
    • To burn a Data CD, drag the data over to the window and click Burn
    • To burn an ISO (such as the Ubuntu desktop/install cd), see BurningIsoHowto
  • 等待弹出窗口,选择Data(数据)或Music Cd(音乐Cd)(Ubuntu6.06之前的版本可能也提供一个Photo Cd(照片CD)的选项。这与Data CD(数据CD)一样)。
    • 要刻录Music CD(音乐CD),请看AudioCDCreation(建立音频CD)
    • 要刻录Data CD(数据CD),将数据拖拽到窗口上,然后点“Burn”(刻录)

Command Line tools 命令行工具

FIXME 翻译以上部分

mkisofs

This is used to make an iso to be burned.

以下命令用于制作一个准备刻录的iso文件。

$ mkisofs -o cd_image.iso directory/

If you have files with long names that you want to preserve, use something like: 如果你有需要保存的长文件名的文件,使用下列命令:

FIXME 翻译以上部分

$ mkisofs -r -J -o cd_image.iso directory/

-r generates Rock Ridge long names for Linux

-J generates Joliet long names for Windows

-r 的含意是生成Rock Ridge长名(Linux)

-J 的含意是生成Joliet长名(Windows)

Checking the image 校验映像文件

It's probably a good idea to check an image before burning. The easiest way is to simply double-click on it from the file browser, which will load the image into Archive Manage (file-roller).

在进行刻录之前校验映像文件是一种好的做法。 最简单的方法是在文件浏览器中简单地双击它,就可以将映像载入到归档管理器中。 FIXME 补完此处的翻译

If you have sudo access, you can also mount the file directly:

如果你可以使用sudo,你也可以直接挂载文件:

FIXME 翻译以上部分

$ sudo modprobe loop
$ sudo mount -t iso9660 -o ro,loop=/dev/loop0 cd_image.iso /cdrom

Rember to unmount an image after checking:

记住,校验过映像文件后,要把它卸载:

$ sudo umount /cdrom

cdrecord

This is used to burn an iso or whatever else onto a cd. To burn a data cd (using image prepared earlier):

以下方法用于把iso文件或其它内容刻录到cd上。刻录数据cd(使用前面已经制作好的映像文件):

$ cdrecord dev=/dev/cdrom driveropts=burnfree -v -data cd_image.iso

To burn an audio cd from wav files:

从wav文件刻录音乐cd:

$ cdrecord dev=/dev/cdrom driveropts=burnfree -v -audio [wav files...]

Replace /dev/cdrom as needed if this is not your CD-Writer

如果/dev/cdrom不是你的刻录机设备,请根据实际情况更改

-v (verbose) lets you track the recording progress

driveropts=burnfree helps reduce the risk of a buffer under-run (most drives should support this)

-v 可以使你查看刻录进度 driveropts=burnfree 有助于降低缓存不足的风险(大多数刻录机都应该支持)

FIXME 翻译以上部分

Using cdrecord to blank a CD/RW 使用cdrecord来清空一张CD/RW

# cdrecord -vv dev=1,0 blank=all

see http://lists.debian.org/cdwrite/2004/10/msg00031.html 请看http://lists.debian.org/cdwrite/2004/10/msg00031.html


Using cdrecord on "unsupported" drives 在不支持的刻录机上使用cdrecord

Sometimes Ubuntu fails to detect and configure your Burner. This results in "no media found" if you use 'cdrecord dev=/dev/cdrom'. Even 'cdrecord -scanbus' does not work - so you just don't know, how to address the drive. You can work around this by looking into the bootmessages with dmesg, to identify the devicepath to your burner. 有时Ubuntu无法检测配置你的刻录机,这就导致你在使用'cdrecord dev=/dev/cdrom'时出现"no media found"(没有发现介质)。甚至'cdrecord -scanbus'不工作──所以你就不知道如何找到刻录机。你可以使用dmesg查看启动信息来解决它,识别你的刻录机的设备路径。 F.e.

# dmesg
hda: PIONEER DVD RW DVR-108, ATAPI CD/DVD-ROM drive
hdb: IDE DVD-ROM 16X, ATAPI CD/DVD-ROM drive
[...]
hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache

Ok so we know, it is hda. Now you can burn on this drive using: 这样我们就知道了,它是hda。 现在你可以用下列命令在这台设备上刻录了:

# cdrecord  dev=ATAPI:/dev/hda -data -v -eject your_data.iso

FIXME 翻译以上部分

growisofs

Use this application to burn a dvd.

用这个应用程序刻录dvd:

$ growisofs -speed=2 -dvd-compat -Z /dev/dvdwriter=dvd_image.iso

Add additional sessions by using

# growisofs -M /dev/dvdwriter additionaldata

growisofs is found in the package dvd+rw-tools. growisofs 可以在 dvd+rw-tools包中找到.