テクノロジーによる教育支援への挑戦

テクノロジーによる学びの支援へのチャレンジについて書いていきます

FedoraCore3でUbuntuのブータブルCDの作成

さて、Ubuntuのインストール用ブートCDを作成してみた。

yum(Debianのaptみたいなパッケージ管理ツール)を利用してcdrecordをインストール。

yum install cdrecord

デバイス番号を調べる。

# cdrecord -scanbus
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 J旦rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus0:
0,0,0 0) 'PIONEER ' 'DVD-RW DVR-107D' '1.10' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

なので、デバイス番号は0,0,0だ。24倍で焼けるとのこと。

cdrecord -v speed=24 dev=0,0,0 -eject ubuntu-ja-5.10-install-i386-disc1.iso

とかしてみる。失敗。バスの指定の仕方が悪いと言われる。

そこで、再度チャレンジ

# dmesg | grep hd
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
hda: PIONEER DVD-RW DVR-107D, ATAPI CD/DVD-ROM drive
hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(33)
SCSI device sda: 160836480 512-byte hdwr sectors (82348 MB)
SCSI device sdb: 160836480 512-byte hdwr sectors (82348 MB)

では、/dev/hdaで指定してみる。お、焼けた!

cdrecord -v speed=24 dev=/dev/hda -eject ubuntu-ja-5.10-install-i386-20051025.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 J旦rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: '/dev/hda'
devname: '/dev/hda'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-107D'
Revision : '1.10'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x001B
Profile: 0x001A
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009 (current)
Profile: 0x0008
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1267712 = 1238 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 588 MB
Total size: 675 MB (66:54.70) = 301103 sectors
Lout start: 675 MB (66:56/53) = 301103 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 4
Is not unrestricted
Is not erasable
Disk sub type: Medium Type A, high Beta category (A+) (3)
ATIP start of lead in: -11849 (97:24/01)
ATIP start of lead out: 359847 (79:59/72)
Disk type: Long strategy type (Cyanine, AZO or similar)
Manuf. index: 25
Manufacturer: Taiyo Yuden Company Limited
Blocks total: 359847 Blocks current: 359847 Blocks remaining: 58744
Speed set to 4233 KB/s
Starting to write CD/DVD at speed 24.0 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
trackno=0
BURN-Free is ON.
Turning BURN-Free off
Performing OPC...
Starting new track at sector: 0
Track 01: 588 of 588 MB written (fifo 100%) [buf 88%] 26.2x.
Track 01: Total bytes read/written: 616654848/616654848 (301101 sectors).
Writing time: 213.609s
Average write speed 21.0x.
Min drive buffer fill was 68%
Fixating...
Fixating time: 18.893s
cdrecord: fifo had 9713 puts and 9713 gets.
cdrecord: fifo was 0 times empty and 2794 times full, min fill was 87%.

無事に焼き上がったCDが出てきました:-)

続きは明日ということで、今日はガマンして寝なきゃいけないが。

起動を確かめてみる。おお、Wirelessも自動認識しているではないか。

ということでもうちょっとだけやる。