ºìÁªLinuxÃÅ»§
Linux°ïÖú

isolinux ¹âÅÌÆô¶¯»­Ãæ¸öÐÔ»¯

·¢²¼Ê±¼ä:2008-06-22 00:09:24À´Ô´:ºìÁª×÷Õß:theset
ÔÚ½«redflag 5.0µÄ°²×°¹âÅÌ·ÅÈë¹âÇý£¬Æô¶¯ºó£¬»áÓÐÒ»¸öÎı¾ÏµÄͼƬÏÔʾ¡£ÏÂÃæÎÒÃÇÒª×öµÄÊÇÌæ»»ÕâһͼƬ£¬ÒÔÊìϤ×öisoµÄ¹ý³Ì¡£

Ê×ÏÈÔÚϵͳÖйÒÔØÉϹâÅÌ£¬È»ºóÔÚimagesĿ¼ÏÂÕÒµ½Ò»¸öboot.isoµÄÎļþ¡£ÕâÊÇ°²×°¹âÅ̵ÄÒ»¸ö¼ò»¯°æ±¾£¬¿ÉÒÔÌá¸ß×öisoµÄËٶȣ¬ÒòΪÎÒÃÇÖ»ÐèÒªÌ滻ͼƬ²¢¿´¿´Ð§¹û¡£

¹ÒÔØboot.isoµ½Ò»¸öĿ¼¡£¸´ÖÆÀïÃæµÄËùÓÐÎļþµ½Ò»¸öеÄĿ¼£¬ÒòΪ¹âÅÌÀïÃæµÄ¶«Î÷ÊÇÎÞ·¨Ð޸ĵģ¬¸´ÖƵ½Ò»¸öÁÙʱĿ¼ºó£¬ÎÒÃDzſÉÒÔÐ޸ġ£ÔÚisolinuxĿ¼ÏÂÕÒµ½Ò»¸ösplash.lssµÄÎļþ£¬Õâ¾ÍÊǶÔÓ¦µÄͼƬÎļþ¡£

ʹÓÃÏÂÃæµÄÃüÁîת»»Îªppm¸ñʽ£¬È»ºóÓÃgimp ±à¼­splash.ppm£¬ÔÚ¡°Í¼Ïñ¡±²Ëµ¥Öаѡ°Ä£Ê½¡±¸ÄΪË÷ÒýÉ«£¬ÊýÁ¿Îª14£¬ÒòΪ»¹ÓкÚÉ«ºÍ°×É«£¬¼ÓÔÚÒ»ÆðÒ»¹²ÊÇ16ÖÖÑÕÉ«¡£Ð޸ĺ󣬱£´æΪgifÎļþ¡£

lss16toppm splash.ppm

È»ºóÔÙÓÃÃüÁîתΪlssµÄ¸ñʽ£º

giftopnm splash.pnm,Ò²¿ÉÒÔÓÃlinuxÏÂÔØͼÐÎÈí¼þת»».
ppmtolss16 splash.lss

ÕâÑùͼƬ¾ÍÌæ»»½øÈ¥ÁË£¬È»ºóÊÇ°ÑÕâһĿ¼ÖÆ×÷Ϊ¿ÉÆô¶¯µÄisoÎļþ¡£

ÎÒÃÇʹÓÃÏÂÃæµÄÃüÁ

mkisofs -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -c isolinux/boot.cat -l -J -o /tmp/1.iso -R -T -V "mydisc" /tmp/boot

/tmp/1.isoΪҪÉú³ÉµÄisoÎļþ£¬/tmp/bootΪÕâЩÎļþËùÔÚµÄĿ¼

È»ºóʹÓÃqemuÕâһģÄâÆ÷²é¿´Ð§¹û:

qemu -cdrom /tmp/1.iso -hda /dev/hda -boot d

ÎÒÃÇÐèÒªÔÚqemuµÄ²ÎÊýÖÐÖ¸¶¨Ò»¿éÓ²ÅÌ£¬È»ºó-boot dÊÇ˵ÓɹâÅÌÆô¶¯¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ