0011 ÈçºÎÍ˳öman(bjchenxu)
q
0012 ²»±àÒëÄںˣ¬mount ntfs·ÖÇø(bjchenxu,hutuworm)
Ô×°rh8£¬Î´Éý¼¶»ò±àÒëÄÚºË
2. rpm -ivh kernel-ntfs-2.4.18-14.i686.rpm
3. mkdir /mnt/c
4. mount -t ntfs /dev/hda1 /mnt/c
»ò
0013 tar ·Ö¾íѹËõºÍºÏ²¢(WongMokin)
ÒÔÿ¾í500MΪÀý
tar·Ö¾íѹËõ£ºtar cvzpf - mytarfile.tar.gz | split -d -b 500m
tar¶à¾íºÏ²¢£ºcat x* > mytarfile.tar.gz
0014 ʹÓÃlilo/grubʱÕÒ»ØÍü¼ÇÁ˵Äroot¿ÚÁî(bjchenxu)
ÈýÖÖ°ì·¨£º
1.ÔÚϵͳ½øÈëµ¥Óû§×´Ì¬£¬Ö±½ÓÓÃpasswd rootÈ¥¸ü¸Ä
2.Óð²×°¹âÅÌÒýµ¼ÏµÍ³£¬½øÐÐlinux rescue״̬£¬½«ÔÀ´/·ÖÇø¹Ò½ÓÉÏÀ´,×÷·¨ÈçÏ£º
cd /mnt
mkdir hd
mount -t auto /dev/hdaX(ÔÀ´/·ÖÇøËùÔڵķÖÇøºÅ£© hd
cd hd
chroot ./
passwd root
ÕâÑù¿ÉÒԸ㶨
3.½«±¾»úµÄÓ²ÅÌÄÃÏÂÀ´£¬¹Òµ½ÆäËûµÄlinuxϵͳÉÏ£¬²ÉÓõİ취ÓëµÚ¶þÖÖÏàͬ
rh8ÖÐ
Ò». 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ÃÜÂëΪ¿Õ
0015 ʹctrl + alt + delʧЧ(bjchenxu)
vi /etc/inittab
½«ca::ctrlaltdel:/sbin/shutdown -t3 -r nowÕâÐÐ×¢Ê͵ô£¬¾Í¿ÉÒÔÁË