Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 28306
Collapse All | Expand All

(-)../cvs/htdocs/doc/en/desktop.xml (+184 lines)
Lines 1308-1311 Link Here
1308
                        </body>
1308
                        </body>
1309
                </section>
1309
                </section>
1310
        </chapter>
1310
        </chapter>
1311
1312
1313
<chapter>
1314
<title>Burning CDs</title>
1315
<section>
1316
<title>Preparing your System</title>
1317
<body>
1318
1319
<p>
1320
To be able to use your IDE CD-burner (you <e>do</e> have a CD-burner, don't
1321
you?) you don't need to configure your kernel with <e>SCSI Emulation</e> 
1322
anymore. For SCSI CD-writers, nothing has changed.
1323
</p>
1324
1325
</body>
1326
</section>
1327
1328
<section>
1329
<title>Using mkisofs</title>
1330
<body>
1331
1332
<p>
1333
With <c>mkisofs</c> you can create ISO files (CD images) ready to burn.
1334
You install it by emerging <e>cdrtools</e>. The most important options are:
1335
</p>
1336
1337
<ul>
1338
<li><e>-R</e> to create a CD with RockRidge extensions. This means that
1339
permissions and file ownership are preserved on the CD.</li>
1340
<li><e>-r</e> is like <e>-R</e>, but the permissions are set to a
1341
default (644 or 755 in case of a directory) and file ownership to
1342
user "root", group "root".</li>
1343
<li><e>-J</e> creates a CD with Microsoft Joliet extensions, so that
1344
long filenames are preserved for usage under Windows.</li>
1345
<li><e>-o filename</e> defines what image everything is written
1346
into.</li>
1347
</ul>
1348
1349
<p>
1350
For instance, to create an ISO file of the directory
1351
<path>~/data</path>, which can be read by Microsoft Windows (with long
1352
filenames) and preserves permissions, you would type:
1353
</p>
1354
1355
<pre caption = "Creating an ISO file">
1356
$ <i>mkisofs -R -J -o cd.iso ~/data</i>
1357
</pre>
1358
1359
</body>
1360
</section>
1361
1362
<section>
1363
<title>Using cdrecord</title>
1364
<body>
1365
1366
<p>
1367
With <c>cdrecord</c> you can burn a given ISO, or burn soundfiles
1368
(<path>*.wav</path>) onto a CD-R. <c>cdrecord</c> too is part of
1369
<e>cdrtools</e>.
1370
</p>
1371
1372
<p>
1373
The most important options for <c>cdrecord</c> are:
1374
</p>
1375
1376
<ul>
1377
<li><e>dev</e> to define which device should be used to burn a CD. For
1378
IDE CD-burners (let's say <path>/dev/hdc</path>) you would use
1379
<c>dev=/dev/hdc</c>. For SCSI-burners (let's say <path>0,0,0</path>) you
1380
would use <c>dev=0,0,0</c>.</li>
1381
<li><e>driveropts=burnfree</e> to activate buffer underrun
1382
protection.</li>
1383
<li><e>-audio</e> if you are creating an audio-CD.</li>
1384
</ul>
1385
1386
<p>
1387
For instance, to burn the previously created <path>cd.iso</path> you
1388
could use:
1389
</p>
1390
1391
<pre caption = "Burning an ISO">
1392
# <i>cdrecord dev=/dev/hdc driveropts=burnfree cd.iso</i>
1393
</pre>
1394
1395
<p>
1396
To create an audio-CD based on <path>track1.wav</path> and 
1397
<path>track2.wav</path>:
1398
</p>
1399
1400
<pre caption = "Burning an Audio CD">
1401
# <i>cdrecord dev=/dev/hdc driveropts=burnfree -audio track1.wav track2.wav</i>
1402
</pre>
1403
1404
</body>
1405
</section>
1406
1407
<section>
1408
<title>Using cdrdao</title>
1409
<body>
1410
1411
<p>
1412
To create audio-CDs, you somethimes want to have audiotracks succeed
1413
without a pause in between. By using <c>cdrdao</c> you can copy and burn
1414
audio CDs perfectly (including the absense of pauzes). To install, type
1415
<c>emerge cdrdao</c>.
1416
</p>
1417
1418
<p>
1419
To rip an audio-CD using <c>cdrdao</c>, use:
1420
</p>
1421
1422
<pre caption = "Ripping an Audio CD">
1423
<comment>Change --device=/dev/hdc to your own system:</comment>
1424
# <i>cdrdao read-cd --device=/dev/hdc --buffers 64 --driver generic-mmc-raw --read-raw toc-file.toc</i>
1425
</pre>
1426
1427
<p>
1428
To burn this ripped version, use:
1429
</p>
1430
1431
<pre caption = "Burning a Ripped Audio CD">
1432
<comment>Change --device=/dev/hdc to your own system:</comment>
1433
# <i>cdrdao write --device=/dev/hdc --buffers 64 --driver generic-mmc --speed 12 toc-file.toc</i>
1434
</pre>
1435
1436
</body>
1437
</section>
1438
1439
<section>
1440
<title>Using cdparanoia</title>
1441
<body>
1442
1443
<p>
1444
Some audio-CDs are heavily scratched and fail to copy with
1445
<c>cdrdao</c>. <c>cdparanoia</c> tries to fix the errors it receives,
1446
which works comfortably well. Install <c>cdparanoia</c> by just emerging
1447
it.
1448
</p>
1449
1450
<p>
1451
To rip an audio-CD using <c>cdparanoia</c>, use:
1452
</p>
1453
1454
<pre caption = "Ripping an Audio CD">
1455
<comment>Change /dev/hdc to your own system:</comment>
1456
# <i>cdparanoia -B -d /dev/hdc</i>
1457
</pre>
1458
1459
<p>
1460
<c>cdparanoia</c> delivers regular wave-files, ready to burn with
1461
<c>cdrecord</c>.
1462
</p>
1463
1464
</body>
1465
</section>
1466
1467
<section>
1468
<title>Using Graphical Front-Ends</title>
1469
<body>
1470
1471
<p>
1472
There are several graphical front-ends for the abovementioned tools.
1473
These front-ends make CD burning even more easy. None of them really
1474
need explanation; just fire them up and use them! :-)
1475
</p>
1476
1477
<p>
1478
<c>k3b</c> is such a front-end. It has drag 'n drop facilities, both for
1479
data-CDs and audio-CDs. To install it, type in <c>emerge k3b</c>.
1480
</p>
1481
1482
<p>
1483
Others are <c>gtoaster</c> and <c>xcdroast</c>. Both have similar
1484
features.
1485
</p>
1486
1487
<p>
1488
To rip audio-CDs, <c>grip</c> is your tool of choice.
1489
</p>
1490
1491
</body>
1492
</section>
1493
1494
</chapter>
1311
</guide>
1495
</guide>

Return to bug 28306