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

Redhat°²×°¡¢Ê¹Óü°·þÎñÆ÷Ó¦ÓÃFAQ

·¢²¼Ê±¼ä:2005-09-03 00:01:30À´Ô´:ºìÁª×÷Õß:artiomgy
1.°²×°Ê±°Ñgrub(lilo)дµ½linux·ÖÇøµÄÒýµ¼Çø»¹ÊÇÖ÷Òýµ¼ÉÈÇø(MBR)£¿
Èç¹ûÄãÏëµçÄÔÒ»Æô¶¯¾ÍÖ±½Ó½øÈë²Ù×÷ϵͳÆô¶¯²Ëµ¥¾Í°Ñgrub(lilo)дµ½MBRÉÏ£¬Èç¹ûдµ½linux·ÖÇøµÄÒýµ¼ÇøÔòÒªÓÃÒýµ¼ÅÌÒýµ¼£¬½¨Òéдµ½MBR£¬·½±ãµã£¬ÖÁÓÚ˵дµ½MBR²»°²È«£¬¸ÃÔõô½âÊÍÄØ£¿Ã¿×°Ò»´Îwin98£¬MBR¶¼»á±»ÐÞ¸ÄÒ»´Î£¬´ó¼Ò¾õµÃÓÐʲô²»°²È«µÄÂð£¿

2.ÈçºÎÈöàϵͳ¹²´æ£¿
98ϵͳµÄ»°ÓÃlilo(gurb)¼´¿É
os loaderÒýµ¼¶àϵͳ

3.ÈçºÎÈÃlinuxÆô¶¯ºó×Ô¶¯½øÈëͼÐνçÃæ»ò²»ÈÃËü½øÈëͼÐνçÃ棿
a.½øÈëͼÐνçÃ棺°²×°Ê±Ñ¡Í¼ÐÎÆô¶¯·½Ê½»ò°Ñ/etc/inittabµÄid:x:initdefault:ÕâÐиijÉid:5:initdefault:¡£
b.²»½øÈëͼÐνçÃ棺°²×°Ê±Ñ¡Îı¾Æô¶¯·½Ê½»ò°Ñ/etc/inittabµÄid:x:initdefault:ÕâÐиijÉid:3:initdefault:¡£

4.ÈçºÎÔÚͼÐνçÃæºÍ¿ØÖÆ̨£¨×Ö·û½çÃ棩֮¼äÀ´»ØÇл»£¿
a.ͼÐνçÃæµ½¿ØÖÆ̨£ºCtr+Alt+Fn(n=1,2,3,4,5,6)¡£
b.¸÷¿ØÖÆ̨֮¼äÇл»£ºAlt+Fn(n=1,2,3,4,5,6)¡£
c.¿ØÖÆ̨µ½Í¼ÐΣºAlt+F7

5.ÈçºÎÔÚgnomeºÍkdeÖ®¼äÇл»¡£
Èç¹ûÄãÊÇÒÔͼÐεǼ·½Ê½µÇ¼linux£¬ÄÇôµã»÷µÇ¼½çÃæÉϵÄsession£¨ÈÎÎñ£©¼´¿ÉÒÔÑ¡ÔñgnomeºÍkde¡£Èç¹ûÄãÊÇÒÔÎı¾·½Ê½µÇ¼£¬ÄÇÖ´ÐÐswitchdesk gnome»òswitchdesk kde£¬È»ºóÔÙstartx¾Í¿ÉÒÔ½øÈëgnome»òkde¡£

6.Redhat linux³£ÓõÄÃüÁîÓÐÄÄЩ£¿
<1>ls£ºÁÐĿ¼¡£
Ó÷¨£ºls»òls dirName£¬²ÎÊý£º-aÏÔʾËùÓÐÎļþ£¬-lÏêϤÁгöÎļþ¡£
<2>mkdir£º½¨Ä¿Â¼¡£
Ó÷¨£ºmkdir dirName£¬²ÎÊý£º-p½¨¶à¼¶Ä¿Â¼£¬È磺mkdir a/b/c/d/e/f -p
<3>mount£º¹ÒÔØ·ÖÇø»ò¾µÏñÎļþ(.iso,.img)Îļþ¡£
Ó÷¨£º
a.´ÅÅÌ·ÖÇø£ºmount deviceName mountPoint -o options£¬ÆäÖÐdeviceNameÊÇ´ÅÅÌ·ÖÇøµÄÉ豸Ãû£¬±ÈÈç/dev/hda1,/dev/cdrom,/dev/fd0£¬mountPointÊǹÒÔص㣬ËüÊÇÒ»¸öĿ¼£¬optionsÊDzÎÊý£¬Èç¹û·ÖÇøÊÇlinux·ÖÇø£¬Ò»°ã²»ÓÃ-o options£¬Èç¹ûÊÇwindows·ÖÇøÄÇoptions¿ÉÒÔÊÇiocharset=cp936£¬ÕâÑùwindows·ÖÇøÀïµÄÖÐÎÄÎļþÃû¾ÍÄÜÏÔʾ³öÀ´ÁË¡£ÓÃÀý£º±ÈÈç/dev/hda5ÊÇlinux·ÖÇø£¬ÎÒÒª°ÑËü¹Òµ½Ä¿Â¼aÉÏ£¨ÈçûĿ¼aÄǾÍÏÈmkdir a£©£¬mount /dev/hda5 a£¬ÕâÑùĿ¼aÀïµÄ¶«Î÷¾ÍÊÇ·ÖÇøhda5ÀïµÄ¶«Î÷ÁË£¬±ÈÈçhda1ÊÇwindows·ÖÇø£¬Òª°ÑËü¹Òµ½bÉÏ£¬mount /dev/hda1 b -o iocharset=cp936¡£
b.¾µÏñÎļþ£ºmount fileName mountPoint -o loop£¬fileNameÊǾµÏñÎļþÃû(*.iso,*.img)£¬ÆäËüµÄ²»ÓÃ˵ÁË£¬¸úÉÏÃæÒ»Ñù¡£ÓÃÀý£ºÈçÎÒÓÐÒ»¸öa.iso¹âÅ̾µÏñÎļþ£¬mount a.iso a -o loop£¬ÕâÑù½øÈëĿ¼aÄã¾ÍÄÜä¯ÀÀa.isoµÄÄÚÈÝÁË£¬*.imgÎļþµÄÓ÷¨Ò»Ñù¡£
<4>find£º²éÕÒÎļþ¡£
Ó÷¨£ºfind inDir -name filename£¬inDirÊÇÄãÒªÔÚÄĸöĿ¼ÕÒ£¬filenameÊÇÄãÒªÕÒµÄÎļþÃû(¿ÉÒÔÓÃͨÅä·û)£¬ÓÃͨÅä·ûʱfilename×öºÃÓõ¥ÒýºÅÒýÆðÀ´£¬·ñÔòÓÐʱ»á³ö´í£¬ÓÃÀý£ºfind . -name test*£¬ÔÚµ±Ç°Ä¿Â¼²éÕÒÒÔtest¿ªÍ·µÄÎļþ¡£
<5>grep£ºÔÚÎļþÀï²éÕÒÖ¸¶¨µÄ×Ö·û´®¡£
Ó÷¨£ºgrep string filename£¬ÔÚfilename(¿ÉÓÃͨÅä·û)Àï²éÕÒstring(×îºÃÓÃË«ÒýºÅÒýÆðÀ´)¡£²ÎÊý£º-rÔÚËùÓÐ×ÓĿ¼ÀïµÄfilenameÀïÕÒ¡£ÓÃÀý£ºgrep hello *.c -rÔÚµ±Ç°Ä¿Â¼Ï£¨°üÀ¨×ÓĿ¼£©µÄËùÓÐ.cÎļþÀï²éÕÒhello¡£
<5>vi£º±à¼­Æ÷¡£²»ÓÃ˵£¬ÓÃlinuxµÄ»°£¬Õâ¸ö¶«Î÷Ò»¶¨Òª»áÓá£
Ó÷¨£º£¨Ö»Äܼòµ¥ËµÒ»Ï£©£¬vi filename¡£filename¾ÍÊÇÄãÒª±à¼­µÄÎı¾Îļþ¡£ÓÃÁËÖ´ÐÐvi filenameºó£¬Äã¿ÉÄܻᷢÏÖÄãÎÞ·¨±à¼­Îı¾ÄÚÈÝ£¬²»Òª×ż±£¬ÕâÊÇÒòΪvi»¹Ã»½øÈë±à¼­×´Ì¬£¬°´a»òi¾Í¿ÉÒÔ½øÈë±à¼­×´Ì¬ÁË£¬½øÈë±à¼­×´Ì¬ºóÄã¾Í¿ÉÒԱ༭Îı¾ÁË¡£ÒªÍ˳ö±à¼­×´Ì¬°´Esc¼ü¾Í¿ÉÒÔÁË¡£ÒÔϲÙ×÷¾ùÒªÔڷDZ༭״̬Ï¡£²éÕÒÎı¾£ºÊäÈë/ºÍÄãÒª²éÕÒµÄÎı¾²¢»Ø³µ¡£Í˳ö£º ÊäÈë: ºÍq²¢»Ø³µ£¬Èç¹ûÄãÐÞ¸ÄÁËÎı¾£¬ÄÇôÄãÒªÓÃ:q!»Ø³µ²ÅÄÜÍ˳ö¡£±£´æ£ºÊäÈë: w»Ø³µ£¬Èç¹ûÊÇÖ»¶ÁÎļþÒªÓÃ: w!¡£±£´æÍ˳ö£ºÊäÈë: wq»Ø³µ£¬Èç¹ûÊÇÖ»¶Á¾Í: wq!»Ø³µ¡£È¡Ïû£º °´u¾Í¿ÉÒÔÁË£¬°´Ò»´Î¾ÍÈ¡ÏûÒ»²½£¬¿É°´¶à´ÎÈ¡Ïû¶à²½¡£¸´ÖÆÕ³ÌùÒ»ÐÐÎı¾£º°Ñ¹â±êÒƵ½Òª¸´ÖƵÄÐÐÉϵÄÈκεط½£¬°´yy£¨¾ÍÊÇÁ¬°´Á½´Îy£©£¬°Ñ¹â±êÒƵ½ÒªÕ³ÌùµØ·½µÄÉÏÒ»ÐУ¬°´p£¬¸Õ²ÅÄÇÐÐÎı¾¾Í»á±»²åÈëµ½¹â±êËùÔÚÐеÄÏÂÒ»ÐУ¬Ô­À´¹â±êËùÔÚÐкóÃæËùÓÐÐлá×Ô¶¯ÏÂÒÆÒ»ÐС£¸´ÖÆÕ³Ìù¶àÐÐÎı¾£º¸ú¸´ÖÆÒ»Ðв¶à£¬Ö»ÊÇyy¸Ä³ÉÏÈÊäÈëÒª¸´ÖƵÄÐÐÊý½ô½Ó×Å°´yy£¬ºóÃæµÄ²Ù×÷Ò»Ñù¡£°Ñ¹â±êÒƵ½Ö¸¶¨ÐУºÊäÈë:ºÍÐкŲ¢»Ø³µ£¬±ÈÈçÒƵ½123ÐÐ:123»Ø³µ£¬ÒƵ½½áβ:$»Ø³µ¡£

7.tar£¬.tar.gz£¬.bz2£¬.tar.bz2£¬.bz£¬.gzÊÇʲôÎļþ£¬ÈçºÎ½â¿ªËûÃÇ£¿
ËûÃǶ¼ÊÇÎļþ(ѹËõ)°ü¡£
.tar£º°ÑÎļþ´ò°ü£¬²»Ñ¹Ëõ£ºtar cvf *.tar dirName ½â¿ª£ºtar xvf *.tar
.tar.gz£º°ÑÎļþ´ò°ü²¢Ñ¹Ëõ£ºtar czvf *.tar.gz dirName ½â¿ª£ºtar xzvf *.tar.gz
.bz2£º½â¿ª£ºbzip2 -d *.bz2
.bz£º½â¿ª£ºbzip -d *.bz
.gz£º½â¿ª£ºgzip -d *.gz

8.linuxÏÂÈçºÎ½â¿ª.zip£¬.rarѹËõÎļþ£¿
rh8ÏÂÓÐÒ»¸öͼÐνçÃæµÄÈí¼þfile-roller¿ÉÒÔ×öÕâ¼þÊ¡£ÁîÍâ¿ÉÒÔÓÃunzip *.zip½â¿ªzipÎļþ£¬unrar *.rar½â¿ªrarÎļþ£¬²»¹ýunrarÒ»°ãϵͳ²»×Ô´ø£¬Òªµ½ÍøÉÏÏÂÔØ¡£

9.linuxÏÂÈçºÎä¯ÀÀ.iso¹âÅ̾µÏñÎļþ£¿
a.½¨Ò»¸öĿ¼£¬È磺mkdir a
b.°ÑisoÎļþ¹ÒÔص½¸ÃĿ¼ÉÏ£ºmount -o loop xxxx.iso a
ÏÖÔÚĿ¼aÀïµÄÄÚÈݾÍÊÇisoÎļþÀïµÄÄÚÈÝÁË¡£

10.linuxÏÂÈçºÎ·ÃÎÊÆäËü·ÖÇø£¿°üÀ¨linux ·ÖÇøºÍwindows·ÖÇø¡£
ÓÃmountÃüÁÏê¼ûmountÓ÷¨¡£

11.linuxÏÂÈçºÎÅäÖÃÏÔ¿¨ºÍÏÔʾÆ÷£¿

12.linuxÏÂÈçºÎÅäÖÃÍøÂ磿
ÓÃnetconfig¡£¡°IP address:¡±¾ÍÊÇÒªÅäÖõÄIPµØÖ·£¬¡°Netmask:¡±×ÓÍøÑÚÂ룬¡°Default gateway (IP):¡±Íø¹Ø£¬¡°Primary nameserver:¡±DNS·þÎñÆ÷IP¡£

13.ÈçºÎÈÃÊó±êÖ§³Ö¹öÂÖ£¿
ÔÚÅäÖÃÊó±êʱ£¬Ñ¡Ôñ΢ÈíµÄÊó±ê£¬²¢ÕýÈ·Ñ¡Ôñ¶Ë¿ÚÈçps2,usbµÈ

14.linuxϵĻ¥ÁªÍøä¯ÀÀÆ÷ÓÐÄÄЩ£¿
mozilla£¬netscape£¬opera£¬galeon(ʹÓÃmozillaÒýÇæ)£¬phoniex(ʹÓÃmozillaÒýÇæ)¡£³£ÓõľÍÕâЩ°É¡£
16.linuxµÄϵͳĿ¼½á¹¹ÊÇÔõôÑùµÄ£¿

17.ÈçºÎÈÿØÖÆ̨֧³ÖÖÐÎÄÏÔʾ£¿
°²×°zhcon¡£zhconÐèÒªlibimm_server.soºÍlibpth.so.13ÕâÁ½¸ö¿âÖ§³Ö¡£Ò»°ãµÄÖÐÎÄÊäÈë·¨Ó¦¸Ã¶¼ÓÐlibimm_server.so¡£libpth.so.13³ö×Ôpth-1.3.x¡£°ÑÕâÁ½¸öÎļþ·Åµ½/usr/libϾÍÐÐÁË¡£

18.ÈçºÎÅäÖÃgrub£¿
ÐÞ¸Ä/boot/grub/grub.confÎļþ¡£ÆäÖÐ
¡°default=n¡±(nÊǸöÊý×Ö)ÊÇgrubÒýµ¼²Ëµ¥Ä¬Èϱ»Ñ¡ÖеÄÏn´Ó0¿ªÊ¼£¬0±íʾµÚÒ»Ï1±íʾµÚ¶þÏÒÀ´ËÀàÍÆ¡£
¡°timeout=x¡±(xÊÇÒ»¸öÊý)Êdz¬Ê±Ê±¼ä£¬µ¥Î»ÊÇÃî¡£Ò²¾ÍÊÇÒýµ¼²Ëµ¥ÏÔʾºó£¬Èç¹ûxÃëÄÚÓû§²»½øÐÐÑ¡Ôñ£¬ÄÇôgrub½«Æô¶¯Ä¬ÈÏÏî¡£
¡°splashimage =xxxxxx¡±£¬ÕâÊÇÒýµ¼²Ëµ¥µÄ±³¾°Í¼£¬ÏȲ»ÀíËû¡£
ÆäËü³£ÓÃÏîÎÒÓÃÏÂÃæµÄÀý×ÓÀ´ËµÃ÷£º
title Red Hat 8.0
root (hd1,6)
kernel /boot/vmlinuz-2.4.18-14 ro root=/dev/hdb7
initrd /boot/initrd-2.4.18-14.img
ÆäÖÐ"Red Hat 8.0"ÊÇÔÚÆô¶¯²Ëµ¥ÁбíÀïÏÔʾµÄÃû×Ö
root (hdx,y)ÓÃÀ´Ö¸¶¨ÄãµÄboot·ÖÇøλÖã¬Èç¹ûÄãûÓзÖboot·ÖÇø£¨±¾Àý¾Íû·Öboot·ÖÇø£©£¬ÄǾÍÖ¸Ïò¸ù·ÖÇø¾ÍÐÐÁË£¬hdxÊÇlinuxËùÔÚÓ²ÅÌ£¬hd0ÊǵÚÒ»¿éÓ²ÅÌ£¬hd1Êǵڶþ¿é£¬ÒÀ´ËÀàÍÆ¡£yÊÇ·ÖÇøλÖ㬴Ó0¿ªÊ¼£¬Ò²¾ÍÊǵÈÓÚ·ÖÇøºÅ¼õÒ»£¬±ÈÈçÄãÒªÖ¸ÏòµÄ·ÖÇøÊÇhdx7£¬ÄÇôy¾ÍÊÇ6£¬Èç¹ûÊÇhdx1£¬ÄÇy¾ÍÊÇ0¡£×¢ÒârootºóÃæÒªÓÐÒ»¸ö¿Õ¸ñ¡£
kernel /boot/vmlinuz-2.4.18-14£¬ÆäÖÐ"/boot/vmlinuz-2.4.18-14"ÊÇÄãÒªÓõÄÄں˷¾¶£¬Èç¹ûÄã±àÒëÁËÐÄÄںˣ¬°ÑËü¸Ä³ÉÄãµÄÐÂÄں˵Ä·¾¶¾ÍÐÐÁË¡£
ro¾Í²»Óùܣ¬Ð´Éϲ»»áÓÐ´í¡£
root=/dev/hdxxÖ¸¶¨¸ù·ÖÇø£¬±¾ÀýÊÇhdb7£¬ËùÒÔroot=/dev/hdb7
initrd xxxxxxxxxxxxxÕâÐв»ÒªÒ²ÐУ¬Ä¿Ç°ÎÒ»¹²»Çå³þËüÊÇ×öʲôÓõġ£
ÉÏÃæÊÇlinuxµÄ£¬ÏÂÃæÊÇwindowsµÄ
title windows 98
rootnoverify (hd0,0)
chainloader +1
title xxxxxxx²»ÓýâÊÍÁË£¬ÉÏÃæÓнâÊÍ¡£
rootnoverify (hdx,y)ÓÃÀ´Ö¸¶¨windowsËùÔÚ·ÖÇø£¬x£¬y¸úÉÏÃæÒ»Ñù£¬×¢ÒârootnoverifyºóÓпոñ¡£
chainloader +1ÕÕ³­¾ÍÐУ¬×¢Òâ¿Õ¸ñ¡£

19.ÈçºÎÅäÖÃlilo£¿
ÐÞ¸Ä/etc/lilo.confÎļþ£¬È»ºóÔËÐÐliloÃüÁî¡£

20.ÈçºÎÈÃlinuxÆô¶¯ºó×Ô¶¯¹ÒÔØÖƶ¨·ÖÇø£¿
±à¼­/etc/fstabÎļþ£¬ÔÚÀïÃæ¼ÓÈëÏàÓ¦µÄÐУ¬Èç¹ûÄã¶Ô/etc/fstabµÄÅäÖò»ÊìϤ£¬Äã¿ÉÒÔÓÃptm£¬Ò»¸ö×Ô¶¯ÅäÖÃfstabµÄÈí¼þ£¬ÔÚ¹«ÉçÀïÓ¦¸ÃÓÐÏÂÔØ¡£

21.ÈçºÎ¶¨ÖÆlinuxÆô¶¯Ê±Æô¶¯µÄ·þÎñ£¿
ÔÚ¿ØÖÆ̨»òÖÕ¶ËÏÂÔËÐÐntsysv£¬È»ºó°ÑÒªÆô¶¯µÄ·þÎñÑ¡ÉÏ£¬Èç¹ûÒª¿ª»ú²»Æô¶¯Ä³¸öÄǾͰÑËûµÄÑ¡ÖÐÈ¥µô¡£

22.ûÓÐÈíÇýÈçºÎÐÞ¸´grub/liloÒýµ¼²Ëµ¥£¿
a.°ÑµÚÒ»ÕÅlinux°²×°ÅÌÀïµÄdosutilsĿ¼¸´ÖƵ½windowsÅÌÖС£Èç¹ûÊÇiso¿ÉÒÔÓÃwinrar3ÌáÈ¡¡£
b.½øÈë´¿dos£¬½øÈëdosutilsĿ¼£¬Ö´ÐÐloadlin autoboot/vmlinuz root=/dev/hdxx()hdxxÊÇÄãµÄlinux¸ù·ÖÇø¡£ÕâÑù¾ÍÄܽøÈëlinux¡£
c.Ö´ÐÐgrub-install /dev/hdx(x=a,b,c,d) »òlilo¼´¿ÉÒÔÖØдÒýµ¼¡£
ÁíÍ⻹¿ÉÒԲο¼£ºhttp://www.linuxfans.org/nuke/modul...iewtopic&t=5101

23.ÈçºÎÅäÖÃÊó±ê£¿
´ò¿ªÒ»¸öÖն˻ò½øÈë¿ØÖÆ̨£¬ÔËÐÐmouseconfigÃüÁî¼´¿ÉÅäÖÃÊó±ê£¡

24.ÈçºÎ´ÓdosϽøÈëlinux£¿
Ê×ÏÈÄãÐèÒªloadlin.exeÕâ¸ö³ÌÐò£¬linuxµÚÒ»ÕÅ°²×°ÅÌÀïµÄdosutilsĿ¼ÀïÓУ¬ÁíÍâÄãÐèÒªµÄ¾ÍÊÇlinuxÄںˣ¬/boot/vmlinuz-2.4.xx-xx¾ÍÊÇ£¬°ÑËûŪµ½windowsÅÌÖУ¬²¢°ÑËûÖØÃüÃûΪvmlinuz£¨Ö÷ÒªÊÇvmlinuz-2.4.xx-xxÔÚdosÏÂÏÔʾÓеãÎÊÌ⣩£¬ÁíÍâdosutilsĿ¼ÀïµÄautobootÀïÒ²ÓÐÒ»¸övmlinuz£¬Ò²ÊÇlinuxÄںˣ¬´ÕºÏÄÜÓ㬵«ºÜ¶àÉ豸²»Ö§³Ö£¬Èç¹ûlinuxÒýµ¼³ÌÐò»òlinuxÆô¶¯ÅäÖÃÓÐÎÊÌ⣬½ø²»ÁËlinux£¬¿ÉÒÔÓÃÕâ¸öÄں˽øÈ¥ÐÞ¸´linux¡£
È»ºóÓÃloadlin vmlinuz root=/dev/hdxx £¨hdxxÊÇÄãµÄlinux¸ù·ÖÇø£©£¬ÁíÍâÓÃloadlin vmlinuz root=/dev/hdxx single»¹¿ÉÒÔʵÏÖµ¥Óû§Ä£Ê½¡£

25.rootÃÜÂ붪ʧ½â¾ö
GRUB:ÔÚÒýµ¼×°ÔسÌÐò²Ëµ¥ÉÏ£¬¼üÈë [e] À´½øÈë±à¼­Ä£Ê½¡£
Äã»áÃæ¶ÔÒ»¸öÒýµ¼ÏîÄ¿ÁÐ±í¡£²éÕÒÆäÖÐÀàËÆÒÔÏÂÊä³ö µÄ¾äÐУº
kernel /vmlinuz-2.4.18-0.4 ro root=/dev/hda2
°´¼ýÍ·¼üÖ±µ½ÕâÒ»Ðб»Í»³öÏÔʾ£¬È»ºó°´ [e]¡£
ÄãÏÖÔÚ¿ÉÔÚÎı¾½áβ´¦¿ÕÒ»¸ñÔÙÌí¼Ó single À´¸æËß GRUB Òýµ¼µ¥Óû§ Linux ģʽ¡£°´ [Enter] ¼üÀ´Ê¹±à¼­½á¹ûÉúЧ¡£
Äã»á±»´ø»á±à¼­Ä£Ê½ÆÁÄ»£¬´ÓÕâÀ°´ [b]£¬ GRUB ¾Í»áÒýµ¼µ¥Óû§ Linux ģʽ¡£ ½áÊøÔØÈëºó£¬Äã»áÃæ¶ÔÒ»¸öÓëÒÔÏÂÏàËÆµÄ shell Ìáʾ£º
sh-2.05#
ÏÖÔÚ£¬Äã±ã¿ÉÒԸıä¸ùÃüÁ¼üÈ룺
bash# passwd root
Äã»á±»ÒªÇóÖØмüÈë¿ÚÁîÀ´Ð£Ñé¡£½áÊøºó£¬ ¿ÚÁî¾Í»á±»¸Ä±ä£¬Äã±ã¿ÉÒÔÔÚÌáʾϼüÈë reboot À´ÖØÐÂÒýµ¼£»È»ºó£¬Ïóƽ³£Ò»ÑùµÇ¼Ϊ¸ùÓû§¡£
LILO:µ±ÏµÍ³Æô¶¯µ½³öÏÖLILOÒýµ¼»­Ãæʱ£¬¶ÔÓÚͼÐÎÒýµ¼·½Ê½°´TAB¼ü½øÈëÎı¾·½Ê½£¬È»ºóÔÚLILO´¦
ÊäÈëlinux single»Ø³µ¼´¿É½øÈëÃâÃÜÂëµÄ¿ØÖÆ̨£¬½øÈëÒÔºóʹÓÃpasswdÃüÁîÐÞ¸ÄrootµÄÃÜÂë
¼´¿É
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 82 ÌõÆÀÂÛ

  1. Cyisz ÓÚ 2005-10-08 13:22:48·¢±í:

    Ö§³ÖÏÂ

  2. yy123 ÓÚ 2005-09-11 00:35:50·¢±í:

    ²»´í£¬Ö§³Ö