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

½«linuxÓ²ÅÌghostµ½ÁíÒ»¿ÅÈ¥

·¢²¼Ê±¼ä:2005-09-29 00:04:16À´Ô´:ºìÁª×÷Õß:cha
Òª½«linuxÍêÍêÈ«È«µÄ±¸·Ýµ½ÁíÒ»¿Å³éȡʽӲÅÌ£¬Èç¹ûlinux¹ÒÁË£¬¿ÉÒÔÁ¢¿ÌÉýÉÏÀ´±¸Ô®!!

¡¡¡¡ÓÉÓÚ¶ÔÓÚlinux ÊÇext3µÄ¸ñʽ£¬andyÏëµ½Á˼¸ÖÖ·½Ê½..

¡¡¡¡1. ʹÓÃtar

¡¡¡¡2. ʹÓÃcp

¡¡¡¡3. ʹÓÃdd

¡¡¡¡4. ʹÓÃcpio

¡¡¡¡5. ʹÓÃghost



¡¡¡¡ÊÔÁË°ëÌ죬·¢ÏÖÀûÓÃghostµÄ·½Ê½ÊÇ×î·½±ãµÄ£¬µ«Ö®Ç°ÌýÇ°±²Ëµ£¬ghostËƺõûÓÐÖ§³Öext3µÄ¸ñʽ£¬ÔÙ¿àÑ°°ëÌì¼°Öظ´²âÊÔÖ®ºó·¢ÏÖ, ʹÓÃghost 7.5ÒÔÉÏ°æ±¾¼´¿É¡£

¡¡¡¡·½Ê½ÈçÏÂ:

¡¡¡¡1. ʹÓÃghost Disk to Disk½«Ô­±¾µÄ/dev/hda ghostµ½ /dev/hdb

¡¡¡¡2. ½«Ô­À´µÄ/dev/hdaÈ¡ÏÂ(²»ÊÇbios disable¾ÍºÃŶ..)£¬²¢½«hdbÉè³Émaster(Ò²¾ÍÊÇhda)

¡¡¡¡3. ʹÓÃLinux install¿ª»úƬ¿ª»ú£¬Ñ¡Ôñrescue

¡¡¡¡4. Èç¹ûÊÇext2¸ñʽ..ÒÔÏÂÃ淽ʽ..



¡¡¡¡EXT2

¡¡¡¡When the file system is EXT2, use the following steps to recover the
partition. These steps have resolved this problem in at least one instance:

¡¡¡¡1. Start the computer from the linux installation CD.

¡¡¡¡2. Type:



linux recover



3. Respond to the prompts for language and location.

4. Type:

lilo -r /mnt/sysimage -C /etc/lilo.conf -v

exit

5. Remove the CD and restart the computer.

¡¡¡¡The computer starts into the linux partition.

¡¡¡¡Èç¹ûÊÇext3ÒÀÏÂÃ淽ʽ..

¡¡¡¡Symantec Ghost 7.5, EXT3

¡¡¡¡When the file system is EXT3, use the following steps to recover the partition.

¡¡¡¡NOTE: Only Symantec Ghost 7.5 supports the EXT3 file system. If you use a
Ghost version other than Symantec Ghost 7.5 with EXT3, the following information
is provided as a convenience only, and Symantec does not provide technical support
for using Ghost in this manner.

¡¡¡¡1. Start the computer from the linux installation CD.

¡¡¡¡2. Use the option linux Rescue.

¡¡¡¡3. Type the following at the Rescue Command Prompt:

¡¡¡¡e2fsck /dev/hda1

¡¡¡¡In this command line, hda represents the first IDE hard drive in the computer
and the "1" represents the first partition to repair.

¡¡¡¡4. If you see the message "Superblock has a bad ext3 journal (inode8).
Clear ?" press Y. You will see the message: "* * * ext3 journal has
been deleted - file system is now ext2 only * * * . "

¡¡¡¡5. Type:

¡¡¡¡¡¡¡¡tune2fs -j /dev/hda1

¡¡¡¡¡¡¡¡You will see the message "Creating journal inode: done . This file
system will be checked every . . . days".

¡¡¡¡6. Repeat steps 3 for each EXT3 partition on the computer.

¡¡¡¡7. Type: exit

¡¡¡¡8. Remove the CD and restart the computer.

¡¡¡¡¡¡¡¡The computer starts into the linux partition.

¡¡¡¡5. Ò»ÇÐokºó, mount /dev/hda µ½/mnt

¡¡¡¡6. chroot /mnt

¡¡¡¡7. Öؽ¨lilo

¡¡¡¡/etc/lilo -v -v -v

¡¡¡¡Èç¹ûÊÇʹÓÃgrubµÄÇëÖ´ÐÐ/sbi/grub-install¼´¿É¡£

¡¡¡¡Ò»ÇÐok¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ