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

linuxÍü¼ÇÁËÃÜÂëÔõô°ì£¨lilo&grub)

·¢²¼Ê±¼ä:2005-10-22 08:52:33À´Ô´:ºìÁª×÷Õß:linux2006
±¾ÎÄÔÚRedhat 8ÉϲâÊÔͨ¹ý

Ò». lilo
1. ÔÚ³öÏÖ lilo: Ìáʾʱ¼üÈë linux single
»­ÃæÏÔʾ lilo: linux single
2. »Ø³µ¿ÉÖ±½Ó½øÈëlinuxÃüÁîÐÐ
3. #vi /etc/shadow
½«µÚÒ»ÐУ¬¼´ÒÔroot¿ªÍ·µÄÒ»ÐÐÖÐroot:ºóºÍÏÂÒ»¸ö:Ç°µÄÄÚÈÝɾ³ý£¬
µÚÒ»Ðн«ÀàËÆÓÚ
root::......
±£´æ
4. #rebootÖØÆô£¬rootÃÜÂëΪ¿Õ

¶þ. grub
1. ÔÚ³öÏÖgrub»­Ãæʱ£¬ÓÃÉÏϼüÑ¡ÖÐÄãƽʱÆô¶¯linuxµÄÄÇÒ»Ïî(±ðÑ¡dosÓ´)£¬È»ºó°´e¼ü
2. ÔÙ´ÎÓÃÉÏϼüÑ¡ÖÐÄãƽʱÆô¶¯linuxµÄÄÇÒ»Ïî(ÀàËÆÓÚkernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/)£¬È»ºó°´e¼ü
3. ÐÞ¸ÄÄãÏÖÔÚ¼ûµ½µÄÃüÁîÐУ¬¼ÓÈësingle£¬½á¹ûÈçÏ£º
kernel /boot/vmlinuz-2.4.18-14 single ro root=LABEL=/
4. »Ø³µ·µ»Ø£¬È»ºó°´b¼üÆô¶¯£¬¼´¿ÉÖ±½Ó½øÈëlinuxÃüÁîÐÐ
5. #vi /etc/shadow
½«µÚÒ»ÐУ¬¼´ÒÔroot¿ªÍ·µÄÒ»ÐÐÖÐroot:ºóºÍÏÂÒ»¸ö:Ç°µÄÄÚÈÝɾ³ý£¬
µÚÒ»Ðн«ÀàËÆÓÚ
root::......
±£´æ
6. #rebootÖØÆô£¬rootÃÜÂëΪ¿Õ
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 1 ÌõÆÀÂÛ

  1. firehot ÓÚ 2005-10-29 10:30:57·¢±í:

    ¹ÜÓÃÂ𣬲»Ò»ÑùµÄ½çÃæѽ