´´½¨ .iso Îļþ
Ò»µ©Ñ¡ÔñÁËÄúÏ븴ÖƵÄÎļþ£¬¶Ô CD ½øÐп̼¾ÍÖ»ÓÐÁ½²½£ºÓà mkisofs ´´½¨ .iso£¬È»ºóÓà cdrecord ½«ÕâЩÎļþÉÕ¼½øÅÌÖС£Ê¹ÓÃÒÔÏÂÃüÁîÀ´´´½¨ .iso Îļþ£º
$ mkisofs -o test.iso -Jrv -V test_disk /home/carla/
ÔÚÉÏÃæµÄʾÀýÖУº
-o ΪÐ嵀 .iso Ó³ÏñÎļþÃüÃû£¨test.iso£©
-J ΪÁËÓë Windows ¼æÈݶøʹÓà Joliet ÃüÃû¼Ç¼
-r ΪÁËÓë UNIX/Linux ¼æÈݶøʹÓà Rock Ridge ÃüÃûÔ¼¶¨£¬ËüʹËùÓÐÎļþ¶¼¹«¹²¿É¶Á
-v ÉèÖÃÏêϸģʽ£¬ÒÔ±ãÔÚ´´½¨Ó³Ïñʱ»ñµÃÔËÐÐ×¢ÊÍ
-V ÌṩÁ˾í±êʶ£¨test_disk£©£»¸Ã±êʶ¾ÍÊdzöÏÖÔÚ Windows ×ÊÔ´¹ÜÀíÆ÷ÖеÄÅÌÃû
ÁбíÖеÄ×îºóÒ»ÏîÊÇÑ¡ÔñÒª´ò°üµ½ .iso ÖеÄÎļþ£¨¶¼ÔÚ /home/carla/ ÖУ©
ÏÖÔÚ£¬¹Ò×° .iso À´½øÐÐÑéÖ¤£»ÎÒϲ»¶´´½¨Ò»¸ö²âÊÔĿ¼£º
$ mkdir /test_iso
$ mount -t iso9660 -o ro,loop=/dev/loop0 test.iso /test_iso
²é¿´Ä¿Â¼µÄÄÚÈÝ£»ËùÓеÄÎļþ¶¼Ó¦¸ÃÔÚÄÇÀ²¢ÇÒ¶¼¿É¶Á¡£·ñÔò£¬¾ÍÊÇÓ³Ïñ»µµôÁË£¬Èç¹ûÄú½«ËüÉÕ¼µ½ÅÌÉÏ£¬ÄÇôÄú×îÖÕ½«µÃµ½Ò»¸ö¿Ì¼ʧ°ÜµÄ¹âÅÌ¡£
ÉÕ¼ÅÌ
½«Ó³Ïñдµ½ÅÌÖÐÔÙ¼òµ¥²»¹ýÁË¡£Ê×ÏÈ£¬ÕÒµ½ CD-R/RW µÄ SCSI µØÖ·£º
$ cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jrg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'TOSHIBA ' 'DVD-ROM SD-M1202' '1020' Removable CD-ROM
0,1,0 1) 'LITE-ON ' 'LTR-24102B ' '5S54' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
ÿһÏîµÄÇ°Èý¸öÊý×Ö·Ö±ðÖ¸ SCSI ×ÜÏß¡¢É豸±êʶºÍ LUN£¨Âß¼µ¥ÔªºÅ£¬Logical Unit Number£©¡££¨µÚËĸöÊý×ÖÒ²ÊÇÉ豸±êʶ¡££© cdrecord ÐèÒªÕâÈý¸öÊý×Ö¡£ÔÚÉÏÃæµÄʾÀýÖУ¬CD ¿Ì¼»úÊÇ 0,1,0¡£SCSI ×ÜÏß 0 ÉϵÄÉ豸¶¼¿ÉÒÔËõдΪ 1,0£¬¼´Ê¡È¥Í·Ò»¸ö 0¡£ÕâÊÇÒ»¸ö¹«¹²Ô¼¶¨¡£Èç¹ûÓÐÆäËü×ÜÏߵĻ°£¬Ôò±ØÐëÖ¸¶¨ -- ûÓпì½Ý·½Ê½¡£
ÏÖÔÚÏòÅÌÖÐдÄÚÈÝ£º
$ cdrecord -v -eject speed=8 dev=0,1,0 test.iso
ÔÚÉÏÃæµÄʾÀýÖУº
-v Ö¸Ïêϸ·½Ê½
-eject ÔÚÍê³ÉдÈÎÎñºóµ¯³öÅÌ
-speed Ö¸¶¨Ð´Ëٶȣ¨8£©
-dev ÊÇ´Ó cdrecord -scanbus »ñµÃµÄÉ豸ºÅ£¨0,1,0£©
×îºóÒ»¸öÊÇËùÉÕ¼µÄÓ³ÏñµÄÃû³Æ£¨test.iso£©
¶ÔÓÚ´´½¨ÓÃÓÚ¹«Ó÷ַ¢µÄÅÌ£¬ÕâÊÇÒ»ÖÖ¼òµ¥ÇÒ¿ÉÓõķ½·¨£¬ÒòΪËü´´½¨ÁË¿ÉÒÔÔÚÈκΠWindows »ò Linux ϵͳÉ϶ÁÈ¡µÄÅÌ¡£ mkisofs ±¾Éí¾Í·Ç³£ÊʺÏÓÚ´´½¨¹©ÏÂÔØµÄ .iso£¬¶øÇÒ mkisofs ¿ÉÒÔΪÐí¶àƽ̨´´½¨Îļþϵͳ¡£Çë²ÎÔÄ mkisofs Áª»ú°ïÖúÒ³ÒÔ»ñÈ¡¸ü¶àÐÅÏ¢¡£
ÔÚһ̨ÔËÐÐËٶȼ«¿ìÇÒÄÚ´æºÜ´óµÄ»úÆ÷ÉÏ£¬Äú¿ÉÒÔÔڿ̼ÆÚ¼ä´ÓÈݵش¦Àí·Ç CPU Ãܼ¯ÐÍÈÎÎñ£¬µ«ÊÇÔÚÉÕ¼ÅÌÆÚ¼ä×îºÃ±ð×ö±ðµÄÊÂÇé¡£¼¤¹âÆ÷²»ÄÜÏÈÍ£ÏÂÀ´£¬È»ºó´ÓÍ£ÏÂÀ´µÄµØ·½ÖØпªÊ¼£¬ËùÒÔÈκÎÖж϶¼ÊÇÖÂÃüµÄ¡£
cdrecord ½«ÊÔͼÒÔ×î¿ìËÙ¶ÈÔËÐп̼»ú£¬Òò´Ë²»±ØÖ¸¶¨Ëٶȣ¬µ«ÊÇ£¬Ó¦¸Ã¸ù¾Ý¾ÑéÀ´ÅжÏÈçºÎ×ö¡£Ö¸¶¨½ÏÂýµÄËٶȶÔÓÚ¾ÀÕý´íÎóºÍ»º³åÇøÇ·ÔØÔËÐкÜÓÐÓᣲÉÓá°burn-proof¡±¼¼ÊõµÄÐÂÐÍÇý¶¯Æ÷£¨¿ª·¢ÕâÏî¼¼ÊõµÄ³õÖÔÓëËüÏÖÔÚµÄÃû×ÖÕýºÃÏà·´£»Í¬Ñù£¬ËÈ¡µÄÕâЩÃû³ÆÄØ£¿£©²»»áÓÐÀÏʽÇý¶¯Æ÷ÄÇÑùµÄ»º³åÇøÇ·ÔØÔËÐз³ÄÕ¡£
¸´ÖÆÅÌ
ÒªÖ±½Ó½«ÄÚÈÝ´ÓÔ´Å̸´ÖƵ½¿É¿Ì¼ÅÌ£¬ÇëʹÓÃÏÂÃæµÄÃüÁ
$ cdrecord -v dev=0,1,0 speed=4 -isosize /dev/scd0
ÕâÌõÃüÁîÖ±½Ó½« CD-ROM ¼´ /dev/scd0 µÄÄÚÈÝ¡°Á÷¡±Èë CD ¿Ì¼»ú dev=0,1,0¡£²»ÒªÔÚËÙ¶ÈÂýµÄ¾É»úÆ÷ÉÏÕâô×ö¡£Ö±½Ó¸´ÖÆËٶȺܿ죬µ«È´¸üÈÝÒ׳ö´í¡£¸üºÃµÄ×ö·¨ÊÇ£ºÏȽ«Ô´Å̵ÄÄÚÈݸ´ÖƵ½Ó²ÅÌÇý¶¯Æ÷£¬ÔÙ´ÓÓ²ÅÌÇý¶¯Æ÷¸´ÖƵ½ CD ¿Ì¼»ú£º
$ mount /cdrom
$ dd if=/dev/scd0 of=/tmp/diskfile.iso
$ cdrecord dev=0,1,0 speed=8 fs=8m -v -eject -dummy /tmp/diskfile.iso
Çë×¢ÒâÁ½¸öÐÂÑ¡Ïî fs=8m ºÍ -dummy ¡£ fs=8m ¶¨ÒåÁË»·Ðλº³åÇøµÄ´óС£ºÔÚÒ»¶¨³Ì¶ÈÉÏ£¬Ô½´óÔ½ºÃ¡£¼Çס£¬ÖжÏÊÇÖÂÃüµÄ£»Èç¹ûʲô¶«Î÷ÈÃÊý¾Ý´«ËÍÂýÏÂÀ´ÁË£¬ÄÇô fs=8m ½«´´½¨Ò»¸ö×ã¹»´óµÄ»º³åÇøÀ´Èÿ̼»ú±£³ÖÔËÐС£Èç¹û 8 MB »¹²»¹»£¬ÄÇôÄú¿ÉÄÜÐèҪһ̨¸üºÃµÄ PC¡£ÁíÒ»·½Ã棬³¬¹ý 8 MB Ò²²»Ò»¶¨¸üºÃ£¬ÒòΪ²Ù×÷ϵͳÖØÐÂ×°Èë MMU£¨ÄÚ´æ¹ÜÀíµ¥Ôª£¬Memory Management Unit£©±íʱ»áÀË·Ñʱ¼ä¡£È±Ê¡ÖµÊÇ 4 MB¡£
-dummy ÊÇÒ»¸öÁ˲»ÆðµÄÑ¡Ï¿ÉÒÔÓÃËüÀ´ÏȽøÐÐÒ»´Î¡°ÅÅÁ·¡±£¬È»ºóÔÚʵ¼ÊµÄÅÌÉÏðÏÕ¡£¿Ì¼»úÖ´ÐÐÒ»ÇвÙ×÷£¬µ«ÊDz»´ò¿ª¼¤¹âÍ·£¬ÕâʹÓû§Óлú»áÔÚ½«ÄÚÈÝÌá½»µ½ÅÌÉÏ֮ǰ²¶»ñ´íÎó¡£
sgx ÓÚ 2007-11-16 18:46:16·¢±í:
×°¸ök3bÒ»Çж¼¸ã¶¨
apt-get install k3b