µ±Ç°Î»ÖãºLinux½Ì³Ì - Linux - ÈçºÎÖÆ×÷¼òÒ×Floppy Liunx (1)

ÈçºÎÖÆ×÷¼òÒ×Floppy Liunx (1)



        
    ¿ª»ú¹ý³Ì¼òÊö
    ÔÚ»¹Ã»ÓÐ̸ÂÛÈç¿ÉÖÆ×÷¼òÒ× Floppy Linux ֮ǰ£¬Ê×ÏÈÒªÁ˽âÕû¸ö¿ª»úµÄ¹ý³Ì¡£µ±Ò»²¿¼ÆËã»úÒ»´ò¿ªµçԴʱ£¬¼ÆËã»úÀïµÄ BIOS ¾Í»áÕÒÑ°ÓÐÎÞϵͳ¿ª»ú´ÅƬ£¬´Ëʱ»áÓÐÁ½ÖÖ×´¿ö²úÉú£ºµÚÒ»ÖÖ×´¿ö¾ÍÊÇÕÒµ½ÏµÍ³¿ª»ú´ÅƬ£¬´Ëʱ¾Í»á´Óϵͳ¿ª»ú´ÅƬÖÐµÄµÚ 0 ´ÅÇø¡¢µÚ 0 ´ÅÖùÔØÈë¿É¿ª»ú´ÅÇø£»ÁíÒ»ÖÖ×´¿ö¾ÍÊÇÕÒ²»µ½ÏµÍ³¿ª»ú´ÅƬµÄ»°£¬ BIOS ¾Í»áÕÒÑ°Ó²ÅÌµÄ MBR £¨ Master Boot Record £©£¬²¢ÇÒÖ´ÐмǼÔÚ MBR ÉϵĿª»úÔØÈë³ÌÐò£¨ Boot Loader £©½øÐпª»ú¡£

    ²»¹ÜÊÇ´ÓÈíµú¿ª»úÒ²ºÃ£¬»¹ÊÇ´ÓÓ²ÅÌ¿ª»úÒ²°Õ£¬Ê×ÏÈÕû¸ö²Ù×÷ϵͳµÄ loader £¨¾Í Linux À´½²¾ÍÊÇ LILO ¡º LInux LOader ¡»£©»áÔØÈë Linux Kernel £¬¶ø Kernel Ò»Æ𶯵ĵÚÒ»¼þʾÍÊǽøÈë±£»¤Ä£Ê½£¨ protected mode £©£¬ËùÓеÄÓ²¼þ½»ÓÉ Kernel À´¿ØÖÆ£¬°Ú ÍÑ BIOS µÄÇ£°í¡£

    Ò»µ© Kernel ÔØÈëÍê±ÏÖ®ºó£¬¿ªÊ¼³õʼ»¯ÏµÍ³ËùÓÐÓ²¼þÉ豸¡£µ±ËùÓеÄÓ²¼þ³õʼ»¯Íê³ÉÖ®ºó£¬½ÓÖøϵͳ½«³¢ÊÔ¹ÒÔØ£¨ mount £© root filesystem ¡£Root filesystem ¾ÍÊDZ»¹ÒÉϵ±×÷¡± / ¡±Ä¿Â¼µÄ filesystem ¡£Kernel ±ØÐëÖªµÀ´ÓÄÄÀï¿ÉÒÔÕÒµ½ root filesystem £¨ PS £ºÒ»°ãϵͳ´ÅÅÌƬµÄ root filesystem »á±»ÖÆ×÷³ÉÒÔ ramdisk Ö´Ðз½Ê½µÄÓ°Ïñµµ¡¾ image ¡¿£©£¬·ñÔòϵͳ¾Í»áÍ£Ö¹ÔË×÷£¨ halt £©¡£

    µ± root filesystem ³É¹¦ µÄÔØÖ®ºó£¬¾Í»áÈ¥Ö´ÐÐ init Õâ¸ö³ÌÐò£¬init ¾Í»á¿ªÊ¼¼ì²é /etc/inittab £¬ÕÒ³ö¸ÃµµÖбêÃ÷ sysinit ÕâÒ»ÐУ¬²¢Ö´ÐиÃÐÐµÄ script £¬ÔÚ redhat ÉÏΪ rc.sysinit £¬¶ø rc.sysinit »á½øÐÐϵͳµÄ³õʼ»¯¶¯×÷£¬ÔÚÕâÀïÎÒ´òËã²»½éÉÜÕâÖ§ script ÓÐÐËȤ¿ÉÒԲο¼ redhat É쵀 rc.sysinit ¡£

    µ± rc.sysinit Ö´ÐÐÍê±ÏÖ®ºó£¬¿ØÖÆȨÁ¢¼´×ª»Øµ½ init µÄÊÖÖУ¬½ÓÏÂÀ´ÂíÉϽøÈëĬÈÏ runlevel ¡£ÈôÄÚ¶¨µÄ runlevel Ϊ 3 µÄ»°£¬ init ¾ÍÖ´ÐÐ /sbin/mingetty ¼¤»î virtual console ²¢ÇÒÒÔ : ¡± login £º¡±ÌáʾÈÃʹÓÃÕßµÇÈ룬Íê³É¿ª»ú¡£µÇÈëºóϵͳ»áÌṩһ¸ö shell ¸øʹÓÃÕߣ¬¾Í¿ÉÒÔʹÓà Linux ¡£Èô runlevel Ϊ 5 µÄ»°£¬ÔòÔÚ¿ªÆô virtual console Ö®ºó£¬init »áÔÙÖ´ÐÐ xdm ¼¤»î X window system £¬ÈÃʹÓÃÕßÒÔ xdm ½çÃæµÇÈë¡£

    ÒÔÉϾÍÊÇ Linux ¿ª»úµÄ¹ý³Ì¡£

    ·¢²¼ÈË:yfy001 À´×Ô:linuxfab