linuxÍü記rootÃÜ碼
·½·¨Ò»£ºsingle mode
[code]1. ÔÚ GRUB 選單畫ÃæµÄ時ºò£¬°´ e
2. ÕÒµ½這Ò»ÐС¾kernel /vmlinuz-2.xxxxxxx ro root=/dev/hda2¡¿°´ e
3. ÔÚ這Ò»ÐÐ×îáá¼ÓÉÏ single£¨ÒªÁôÒ»個¿Õ¸ñÔÙ¼Ó single£©£¬¼ÓÍêÖ®áá°´¡¾Enter¡¿Ìø³ö
4. °´ b £¬開機Ö®áá會³ö現 sh-2.05#
5. 輸Èë passwd root £¬ÐÞ¸ÄÃÜ碼
6. ¸ÄÍêÖ®áá 輸Èë reboot ÖØÐÂ開機¼´¿É [/code]
·½·¨¶þ£ºanother single mode
[code]1. ÔÚ GRUB 選單畫ÃæµÄ時ºò£¬°´ a
2. È»ááÔÚÃüÁîÁÐ×îáá¼ÓÈë -s£¨ÒªÁôÒ»個¿Õ¸ñÔÙ¼Ó -s£©£¬¼ÓÍêÖ®áá°´¡¾Enter¡¿¾Í會ÖØÐÂ開機
grub append>; ro root=/dev/xxxx -s
3. 開機Ö®áá會³ö現 sh-2.05#
4. 輸Èë passwd root £¬ÐÞ¸ÄÃÜ碼
5. ¸ÄÍêÖ®áá 輸Èë reboot ÖØÐÂ開機¼´¿É [/code]
·½·¨Èý£ºrescue mode£¨當 / partition ÓÐ問題£¬連 single mode ¶¼進²»È¥µÄ時ºòÓõķ½·¨£©
[code]1. Óà Red Hat Linux 8.0 µÄµÚһƬ¹â盤Ƭ開機
2. ÔÚ³ö現 boot: µÄ時ºò輸Èë linux rescue
boot:linux rescue
3. ¡¾OK¡¿-->;¡¾OK¡¿-->;¡¾Continue¡¿-->;¡¾OK¡¿
//·´Õý¾ÍÊÇÒ»Ö±°´ Enter Ö±µ½³ö現 sh-2.05a#
4. 輸Èë chroot /mnt/sysimage È¡µÃ root 權ÏÞ
sh-2.05a#chroot /mnt/sysimage
5. 輸Èë passwd root £¬ÐÞ¸ÄÃÜ碼
6. ¸ÄÍêÖ®áá 輸Èë reboot ÖØÐÂ開機¼´¿É[/code]
Ïà¹ØÎĵµ£º
sudo rm ½â³ýËøÎļþ¼Ð
sudo chmod 777 / ÓÐÁËËùÓÐȨÏÞ
yjh@ubuntu:~$ cd /etc
yjh@ubuntu:/etc$ sudo chmod 777 bash.bashrc ³¬¼¶Óû§È¨ÏÞ ÐÞ¸Äbash.bashrc
yjh@ubuntu:/etc$ gedit bash.bashrc
yjh@ubuntu:/etc$
etcÏ»·¾³±äÁ¿ ÐÞ¸Ä bash.bashrv
×îº ......
¡¡¡¡4ÔÂ13ÈÕÏûÏ¢£¬¾Ý¹úÍâýÌ屨µÀ£¬Ó¢¹úITÍøÕ¾VnunetÁ½ÖÜǰÆÀ³öÁË“ITÊг¡10´ó¶ñ¹÷”£¬ÈÕǰ£¬VnunetÓÖÆÀ³öÁË“ITÊг¡10´óÓ¢ÐÛ”£¬LinuxÖ®¸¸ÀîÄÉ˹·ÍÐÎÖ×È(Linus Torvalds)ºÍÆ»¹ûÁªºÏ´´Ê¼ÈËÊ·µÙ·ò·ÎÖ×ÈÄáÑÇ¿Ë(Steve Wozniak)µÈ·×·×Éϰñ¡£
¡¡¡¡ÕâÀïËùνµÄ“Ó¢ÐÛ”²¢²»ÊÇÖ¸Óж ......
sudo rm ½â³ýËøÎļþ¼Ð
sudo chmod 777 / ÓÐÁËËùÓÐȨÏÞ
yjh@ubuntu:~$ cd /etc
yjh@ubuntu:/etc$ sudo chmod 777 bash.bashrc ³¬¼¶Óû§È¨ÏÞ ÐÞ¸Äbash.bashrc
yjh@ubuntu:/etc$ gedit bash.bashrc
yjh@ubuntu:/etc$
etcÏ»·¾³±äÁ¿ ÐÞ¸Ä bash.bashrv
×îº ......
³ö´íÐÅÏ¢
proc PARSE=FULL DBAccess.pc
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
System default option values taken from: /home/oracle/app/product/9.2.0/precomp/admin/pcscfg.cfg
Error at line 34, column 11 in file /usr/include/stdio.h
# include <stddef.h> ......
1.
In /etc/pacman.conf, add 2 lines:
[ati]
Server = http://dl.dropbox.com/u/4832298/x86_64
from this repo, install:
kernel26-pm, ......