ÉîÈë̽ÌÖLinux MBRµÄÒªº¦¹¦Ð§ºÍÖ÷ÒªÐÔ
Linux MBRµÄÖ÷ÒªÐԺ͹¦Ð§
ÔÚÅÌËã»úÁìÓòÖУ¬MBR£¨Master Boot Record£¬Ö÷Ö¸µ¼¼Í¼£©ÊÇÒ»¸öºÜÊÇÒªº¦µÄ¿´·¨£¬ÌØÊâÊÇÔÚLinux²Ù×÷ϵͳÖС£MBRλÓÚÓ²Å̵ĵÚÒ»¸öÉÈÇø£¬Í¨³£ÊÇ512×Ö½Ú´óС£¬ÆäÖд洢ÁËÖ¸µ¼²Ù×÷ϵͳµÄÏà¹ØÐÅÏ¢¡£ËüÈÏÕæÆô¶¯ÅÌËã»ú²¢¼ÓÔزÙ×÷ϵͳÄںˣ¬Òò´Ë¿ÉνÊÇÅÌËã»úϵͳÖеġ°Æô¶¯ÒýÇ桱¡£
MBRµÄ½á¹¹ºÍ¹¦Ð§
MBRµÄ½á¹¹Í¨³£¿ÉÒÔ·ÖΪÈý¸ö²¿·Ö£ºÖ¸µ¼´úÂë¡¢·ÖÇø±íÒÔ¼°Ö÷Ö¸µ¼¼Í¼ÊðÃû¡£ÆäÖУ¬Ö¸µ¼´úÂëÊÇ×îÒªº¦µÄ²¿·Ö£¬Ëü°üÀ¨Á˳ÌÐòÖ¸ÁÈÏÕæÔÚÅÌËã»úÆô¶¯Ê±¼ÓÔزÙ×÷ϵͳÄںˡ£·ÖÇø±í¼Í¼ÁËÓ²Å̵ķÖÇøÐÅÏ¢£¬°üÀ¨·ÖÇøµÄÆðʼµØµã¡¢¾ÞϸµÈ¡£Ö÷Ö¸µ¼¼Í¼ÊðÃûÓÃÓÚÑéÖ¤MBRµÄÕýµ±ÐÔ£¬È·±£ÆäûÓб»¸Ä¶¯¡£
ÔÚLinux²Ù×÷ϵͳÖУ¬MBRÊÎÑÝ×ÅÖÁ¹ØÖ÷ÒªµÄ½ÇÉ«¡£Ëü²»µ«½öÊÇÒ»¸ö¼òÆÓµÄÖ¸µ¼³ÌÐò£¬¸üÊÇÕû¸öϵͳÆô¶¯µÄÒªº¦¡£Í¨¹ýMBR£¬ÎÒÃÇ¿ÉÒÔÑ¡ÔñÖ¸µ¼Äĸö²Ù×÷ϵͳ¡¢ÔØÈëÄĸöÄں˾µÏñµÈ¡£
LinuxÖеÄMBR²Ù×÷ʾÀý
ÏÂÃæͨ¹ýÒ»¸öÏêϸµÄ´úÂëʾÀýÀ´Õ¹Ê¾ÔõÑùÔÚLinuxϵͳÖвÙ×÷MBR¡£Ê×ÏÈ£¬ÎÒÃÇÐèÒªÒ»¸ö¹¤¾ßÀ´Éó²éºÍÐÞ¸ÄMBR£¬ÕâÀïÎÒÃÇʹÓÃfdiskÏÂÁî¡£
Éó²éÄ¿½ñµÄMBRÐÅÏ¢
sudo fdisk -l /dev/sda
µÇ¼ºó¸´ÖÆ
ÕâÌõÏÂÁÏÔʾӲÅÌ/dev/sdaµÄ·ÖÇøÐÅÏ¢£¬°üÀ¨·ÖÇø±íºÍÖ¸µ¼±ê¼ÇµÈ¡£
²Ù×÷MBR
sudo fdisk /dev/sda
µÇ¼ºó¸´ÖÆ
ͨ¹ýÕâ¸öÏÂÁî¿ÉÒÔ½øÈë·ÖÇøÖÎÀí¹¤¾ß£¬¿ÉÒÔÉó²é¡¢½¨É衢ɾ³ý·ÖÇøµÈ²Ù×÷¡£ÔÚfdiskÏÂÁîÐÐÏÂÊäÈëm¿ÉÒÔÉó²é¸ü¶à²Ù×÷ÏÂÁî¡£
×°ÖÃGRUBÖ¸µ¼³ÌÐò
sudo grub-install /dev/sda
µÇ¼ºó¸´ÖÆ
Õâ¸öÏÂÁî¿ÉÒÔ×°ÖÃGRUBÖ¸µ¼³ÌÐòµ½MBRÖУ¬GRUBÊÇÒ»ÖÖ³£ÓõÄÆô¶¯Ö¸µ¼³ÌÐò£¬Äܹ»Ö¸µ¼¶à¸ö²Ù×÷ϵͳ¡£
ͨ¹ýÒÔÉÏʾÀý£¬ÎÒÃÇ¿ÉÒÔ¿´µ½ÔÚLinuxϵͳÖжÔMBR¾ÙÐвÙ×÷µÄÒªÁ죬ÕâЩ²ÙÞÏÞεóÄÑϵͳµÄÆô¶¯ºÍÔËÐÐÖÁ¹ØÖ÷Òª¡£
×ܽá
Linux MBR×÷ΪÅÌËã»úϵͳµÄÒªº¦²¿·Ö£¬³äµ±×ÅÒýÇæµÄ½ÇÉ«£¬ÈÏÕæÆô¶¯²¢¼ÓÔزÙ×÷ϵͳ¡£ÏàʶMBRµÄ½á¹¹ºÍ¹¦Ð§£¬ÒÔ¼°ÔõÑùÔÚLinuxϵͳÖжÔMBR¾ÙÐвÙ×÷£¬¹ØÓÚÕÆÎÕϵͳÔËÐÐÔÀíºÍ¹ÊÕÏÅŲ鶼¾ßÓÐÖ÷ÒªÒâÒ塣ϣÍûͨ¹ý±¾ÎĵÄÏÈÈÝ£¬¶ÁÕ߶ÔLinux MBRÓÐÁ˸üÉîÈëµÄÏàʶ¡£
ÒÔÉϾÍÊÇÉîÈë̽ÌÖLinux MBRµÄÒªº¦¹¦Ð§ºÍÖ÷ÒªÐÔµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡