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

Çë½ÌDOSºÍXP×°ºìÆì4.1ºó²»ÄܽøXPÌáʾÕÒ²»µ½hal.dllÎļþ

·¢²¼Ê±¼ä:2005-08-04 09:11:05À´Ô´:ºìÁª×÷Õß:B4C4



±¾È˲ËÄñÒ»¸ö×òÌì¸Õ×°ÉϺìÆ죬´ó¼Ò±íЦ»°°³¡£ÏÈ˵Ã÷Ï·ÖÇøÇé¿ö£¬CÅÌDOS£¬DÅÌ3GΪXP£¬NTFS£¬EÅÌ11.2G£¬NTFS£¬FÅÌ500M£¬FAT32£¬ÁôÏÂ4G¶àû·ÖÇø¡£¸ù·ÖÇø/hda3ÊÇ3.6G£¬SWAPÊÇ400¶àM£¨¸Õ²ÅÌý˵ÊÇ32MµÄ±¶Êý£¬·ñÔòÒ²ÊÇÀË·Ñ£©grubÒýµ¼µÄ·ÅÔÚMBRÀÏÖÔÚµÄÎÊÌâÊÇÖ»ÓÐXP½ø²»È¥£¬Ìáʾ˵£ºÏÂÁÐÎļþ¶ªÊ§»òË𻵣¬ÎÞ·¨Æô¶¯£¬\system32\hal.dll£¬ÇëÖØа²×°ÒÔÉÏÎļþµÄ¿½±´¡£
ÕâÒѾ­Êǵڶþ´Î×°ÁË£¬µÚÒ»´Î°²×°Ê±ÓÃĬÈϵģ¬µÚ¶þ´ÎʱWindows¶ÔÓ¦µÄ¸Ä³Éhda1»¹ÊÇhda5Ïë²»ÇåÁË£¬·´ÕýÒ»´ÎÊÇ1Ò»´ÎÊÇ5¡£

XPÏÂÕâ¸öÎļþÃ÷Ã÷´æÔڵģ¬¿´ÁËÏÂBOOT.INIÊÇÕý³£µÄѽ¡£
[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
C:\ = "DOS"
ÒÔÏÂÊÇÍøÉÏÕҵĽâ¾ö·½·¨£º
A£º °²×°²¢Ã»ÓоÍÕâÑù½áÊø£¬ÎÊÌ⵱ȻËæÖ®¶øÀ´¡£ÎÒ·¢ÏÖgrubËäÈ»¿ÉÒÔÕý³£Òýµ¼NTLDR£¬µ«NTLDRÖ»ÄÜÕý³£Òýµ¼windows 98SE£¬¶øµ±Ñ¡Ôñwindows XPµÄʱºò£¬ÏµÍ³Ìáʾ"ÏÂÁÐÎļþ¶ªÊ§»òË𻵵¼ÖÂÁËϵͳÆô¶¯Ê§°Ü£¬system32hal.dll£¬½¨ÒéÖØп½±´Îļþ»ò°²×°Îļþ"¡£ÕâÑùµÄÆô¶¯Ê§°Ü£¬ÎÒÏàÐÅÎÒ²¢²»ÊǵÚÒ»¸öÓöµ½£¬¹ßÓõķ½·¨£¬ÎÒͨ³£ÊÇÍùÁ½¸ö·½ÏòÈ¥µÄ¡£µÚÒ»¸ö£¬µ±È»ÊÇ¿½±´À²£¬ÎÒ´Ó¼ÒÀïÁíÍâµÄһ̨windows XPϵͳÏ¿½±´ÁËhal.dllÎļþ¹ý·£¬Ö»ÊÇÎÒ·¢ÏÖ£¬ºÃÏóÕâÁ½¸öhal.dllµÄÎļþ´óС£¬²¢²»Ò»Ñù......½á¹ûµ±È»ÊDz»ÐÐÀ²£¬ÐÒºÃÎÒûÓÐ"¸²¸Ç"²Ù×÷µÄÏ°¹ß£¬ÎÒÖ»ÊÇÏÈ°ÑÔ­À´ÏµÍ³ÏµÄhal.dll¸ÄÃûΪhal-old.dllÁË£¬ÂíÉϸĻØÈ¥ºó£¬ÁíÏë°ì·¨£¡ÁíÍâÒ»Ìõ·£¬ÎÒϲ»¶½èÖúgoogle¡£
GoogleºÜ¿ì¾Í¸æËßÎÒ´ð°¸ÁË¡£ÊÂʵÉÏ£¬ÕâÑùµÄ´íÎóÌáʾһ°ã»Ø³öÏÖÔÚÒýµ¼ÏµÍ³ÎÞ·¨·¢ÏÖhal.dllµÄʱºò»á³öÏÖ£¬²¢·ÇÕæµÄÒѾ­Ë𻵻ò¶ªÊ§¡£Ò²¾ÍÊÇ˵£¬NTLDRÒѾ­ÕÒ²»µ½hal.dllÔÚÄÄÀïÁË¡£ÎªÊ²Ã´»áÕâÑùÄØ£¿ÎÒÏëµ½Á˸ıäµÄÓ²ÅÌ·ÖÇø¡£µ±È»ÁË£¬Ô­À´NTLDRµÄÅäÖÃÎļþboot.ini£¨Õâ¸öÎļþ¿ÉÒÔÔÚCµÄ¸ùĿ¼ÏÂÕÒµ½£¬ÊÇÒþ²ØµÄ£©ÊÇÕâÑùµÄ----

[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional For IBM ThinkPad" /fastdetect
C:\=Microsoft Windows 98 ThirdEdition For IBM ThinkPad

Õâʱºò×°ÔÚDÅ̵Äwindows XPλÖÃÊÇmulti(0)disk(0)rdisk(0)partition(2)£¬µ±ÎÒÔÚmulti(0)disk(0)rdisk(0)partition(1)£¨Ò²¾ÍÊÇCÅÌ£©ºóÃæÓ²ÊÇ»®ÁËSWPÇøºÍhda3³öÀ´£¬XPµÄλÖõ±È»ÒªÍùºóÍÆÀ²£¬ÕýÈ·µÄboot.iniÓ¦¸ÃÊÇ----

[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(4)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professional For IBM ThinkPad" /fastdetect
C:\=Microsoft Windows 98 ThirdEdition For IBM ThinkPad

¿ÉÄܺܶà³õѧÕß»á°ÑSWPºöÂÔ£¬¼ÇµÃÒªËãÉÏËü°¡£¡ÎÒÔÚwindows 98SEÏÂÓüÇʱ¾¸Ä¶¯ºó±£´æ£¬³É¹¦ÁË£¡±¾À´ÒÔΪwindowsϵͳÈϲ»µ½ext3Îļþϵͳ¸ñʽµÄ£¬Ë­Öªwindows XPÄÇô¶àÊÂ......

B¡¢·½·¨¿´ÆðÀ´²»´í£¬¿ÉϧÓõĵÄliloµÄ¡£
7¡¢ÎÊ£ºÎҵĵçÄÔÉÏÔ­À´ÒѾ­×°ÓÐWin2000,×°2000µÄCÅÌÓõÄÊÇNTFS¸ñʽ£¬¶øÆäËûÅÌÓõÄÊÇFat32¸ñʽµÄ¡£ºóÀ´ÎÒÓÖ×°ÁËRed Had 7.1,×°ÍêÒÔºólinuxÄܽøÈ¥£¬windowsÈ´²»ÄܽøÁË£¬ÇëÎÊÊÇʲô»ØÊ£¬¸ÃÔõô½â¾öÄØ£¿

´ð£ºÕâÀïÊ×ÏÈÒª½éÉÜÒ»ÏÂLinuxϵͳÉ豸µÄÃüÃû¹æÔò¡£ÔÚLinuxÀ¸÷ÖÖÉ豸ºÍ·ÖÇøµÄÃüÃû·½·¨ÍêÈ«²»Í¬ÓÚDos,ÈíÇý£¬Ó²ÅÌÒÔ¼°Ó²ÅÌ·ÖÇø¶¼Óи÷×ÔµÄÉ豸ÌØÊâÎļþ£¬ÀýÈ磺


/dev/hda ±íʾµÚÒ»¸öIDEÓ²ÅÌ£¨Õû¸ö£©
/dev/hda1 ±íʾµÚÒ»¸öÓ²Å̵ĵÚÒ»¸öÖ÷·ÖÇø
/dev/hda2 ±íʾµÚÒ»¸öÓ²Å̵ĵڶþ¸öÖ÷·ÖÇø
/dev/hda3 ±íʾµÚÒ»¸öÓ²Å̵ÄÀ©Õ¹·ÖÇø
/dev/hda5 ±íʾµÚÒ»¸öÓ²Å̵ĵÚÒ»¸öÂß¼­·ÖÇø
/dev/hda6 ±íʾµÚÒ»¸öÓ²Å̵ĵڶþ¸öÂß¼­·ÖÇø
/dev/hdb ±íʾµÚ¶þ¸öÓ²ÅÌ£¨Õû¸ö£©
ÆäÖÐhda1¶ÔÓ¦×ÅWindowsÀïµÄCÅÌ£¬¶øhda5Ò»°ã¶ÔÓ¦×ÅWindowsµÄDÅÌ¡£ÔÚlinux°²×°µÄʱºò°²×°³ÌÐò»á×Ô¶¯Ñ°ÕÒwindows²Ù×÷ϵͳËùÔڵķÖÇø£¬ÒòΪÕâÀïÎÒÃÇ°ÑCÅÌÉè³ÉÁËNTFS¸ñʽµÄ£¬ÓÐЩlinux°²×°³ÌÐò²»ÈÏÕâ¸ö¸ñʽ£¬¾Í°ÑÆäËûfat32¸ñʽµÄÅ̵±×÷windowsµÄÆô¶¯ÅÌÁË£¬ÕâÀïÓ¦¸Ã¾ÍÊÇÕâÖÖÇé¿ö¡£
½â¾öµÄ°ì·¨Ò²ºÜ¼òµ¥£¬Ö»ÒªÒÔrootÉí·ÝµÇ½linux,ÓÃÎı¾±à¼­Æ÷´ò¿ªÔÚ/etcĿ¼ÏµÄlilo.conf,ÕÒµ½
other=/dev/hda5
optional
label=dos
ÕâÒ»¶Î£¬°Ñhda5(Ò²¿ÉÄÜhda6»òÆäËû)¸Ä³Éhda1,´æÅÌ£¬È»ºóÔËÐÐÒ»±éliloÃüÁÖØÐÂÆô¶¯£¬ÎÊÌâÓ¦¸Ã¾ÍÄܽâ¾öÁË¡£


ÀÏ´óÃÇ£¬°ï°ï²ËÄñ°É¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 3 ÌõÆÀÂÛ

  1. B4C4 ÓÚ 2005-08-04 09:56:35·¢±í:

    ÕâÏÂÖªµÀÁË£¬ÊÇ·Ö³É3¸öÖ÷·ÖÇøÁË°É¡£

  2. B4C4 ÓÚ 2005-08-04 09:49:31·¢±í:

    ½â¾öÁË£¬¸Õ²Å°Ñpartition(2)¸Ä³É3²»ÐУ¬¸Äµ½4£¬OKÁË£¬HOHO£¬²»¹ý²»Ã÷°×Ϊ»áʲôÊÇ4ѽ¡£

  3. B4C4 ÓÚ 2005-08-04 09:12:43·¢±í:

    ͼûÉÏÈ¥£¬ÔÙ·¢