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

Ubuntu GrubÐÞ¸´·½·¨£¡

·¢²¼Ê±¼ä:2006-10-10 01:36:26À´Ô´:ºìÁª×÷Õß:samblue
ÐÞ¸´grubµÄ·½·¨£º

ʹÓÃlivecdÆô¶¯£¬½øÈë×ÀÃæϵͳ£¬ÔÚÖÕ¶ËÊäÈë

[code]grub update[/code]

½øÈëgrubÃüÁîÐУ¬ÊäÈë

[code]root (hd0,x)
setup (hd0)[/code]

hd0Ö¸µÚÒ»¿éÓ²ÅÌ(²»·Ö´®¿ÚSATA¡¢²¢¿ÚPATA)£¬xÊÇlinuxµÄÖ÷Ŀ¼¡°/¡±ËùÔÚ·ÖÇøºÅ£¬±àºÅ´Ó0¿ªÊ¼£¬±ÈlinuxÀïÏÔʾµÄ·ÖÇø±àºÅС1¡£±ÈÈçlinuxÀïÏÔʾӲÅÌ·ÖÇøºÅΪhda5£¬ÕâÀïx¾ÍÊÇ4¡£·ÖÇø±àºÅ¿ÉÒÔÓò˵¥ÀïµÄ´ÅÅÌʵÔÚ²»ÖªµÀÊǶàÉÙ£¬¾Í°¤¸öÊÔ£¬µ½grubÌáʾ·ÖÇø¸ñʽΪex2fsÒ»°ã¾ÍÊÇÁË¡£×¢Òâroot (hd0,x)ÔÚrootºóÃæ±ØÐëÓпոñ¡£rootÃüÁîÊÇÖ¸¶¨Òýµ¼µÄ·ÖÇø£¬setupÃüÁî°ÑÒýµ¼ÐÅϢдµ½Ó²ÅÌMBR¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 2 ÌõÆÀÂÛ

  1. vitas333 ÓÚ 2009-06-02 21:34:39·¢±í:

    find /boot/grub/stage1
    ֮ǰ¼ÓÒ»¸ö ÃüÁî.. ÕÒµ½Æô¶¯ ·ÖÇø.

  2. fanhe ÓÚ 2007-05-16 18:11:44·¢±í:

    :ha3nd :ha3nd :ha3nd