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

WindowsºÍLinux˫ϵͳµÄgrub²Ëµ¥±àд

·¢²¼Ê±¼ä:2008-03-14 00:23:33À´Ô´:ºìÁª×÷Õß:roina
Ô­´´ZaSueiSystem

°²×°Á½¸öϵͳʱ£¬Ñ¡ÔñĬÈÏϵͳµÄ½øÈ룬¿ÉÓÐʱºò£¬ÖØ×°ÏµÍ³»áÒýÆðÁíÒ»¸öϵͳÎÞ·¨½øÈë¡£

Ò»¡¢ÏÈ˵ÔÚwindowsÏÂÒýµ¼linux

ÔÚwindowÏ¿ÉÓÃWinGrub¹¤¾ßÉú³ÉµÄMENU.LSTÀ´Òýµ¼linux £¬ ±à¼­Ëü£¬ ÕâÑù¾Í¿ÉÒÔÖ±½ÓÔÚÓ²ÅÌÉϰ²×°linuxÁË¡£ÎÒµÄÓ²ÅÌÊÇWD 160G£¬ÒÔǰÓÃredhat9.0¹âÅ̰²×°Ê±£¬Ê¶±ð²»ÁËÓ²ÅÌ£¬ºóÀ´ÔÚÍøÉÏÏÂÁ˸ö Fedora-8-i386-DVD.iso

ÕâÊÇÎұ༭µÄMENU.LST£¬ÓüÇʱ¾¿ÉÒÔ´ò¿ª¡£

timeout 10

title Windows at (hd0,0)
root (hd0,0)
chainloader +1

title Fedora
root (hd0,6)
kernel (hd0,6)/vmlinuz
initrd (hd0,6)/initrd.img

×¢Ò⣬ÎÒÕâÀïд(hd0,6)£¬ÊÇÒòΪÎÒ¹ÒÔØµÄisoÔÚFÅÌ£¬ÓÃWinGrub µãtools =¡·partioinlist µÃ

########

timeout 10

title Windows at (hd0,0)
root (hd0,0)
chainloader +1

title Fedora
root (hd0,6)
kernel (hd0,6)/vmlinuz
initrd (hd0,6)/initrd.img

########

¸Ä³É

#######

timeout 10

title Windows at (hd0,0)
root (hd0,0)
chainloader +1

title Fedora
root (hd0,8)

kernel /boot/vmlinuz-2.6.24.3-12.fc8 ro root=LABEL=/rhgb quiet
initrd /boot/ initrd-2.6.24.3-12.fc8.img ×¢Ò⣺ÕâÀïµÄÎļþÃûÔÚµÚÒ»´Î°²×°linuxÍê³Éºó¾ÍÒª¼Çס£¬²»Í¬°æ±¾ÎļþÃû¿ÉÄܲ»Ò»Ñù¡£ÎÒÕâÀïдµÄÖ»ÊÇÎÒ×Ô¼ºµÄ£¬Çë´ó¼Ò×¢Ò⡣ȥ/boot/ϼÇסÎļþÃû¾ÍÐС£

¾Í¿ÉÒÔÔÚwindowsÏÂÒýµ¼linux£¬¾ÍËã֨װXPºó£¬¿´²»µ½linux²Ëµ¥£¬Ò²¿ÉÒÔÖØÐ±༭Ëü£¬¾Í¿ÉÒÔ»Ö¸´linux²Ëµ¥¡£

¶þ¡¢ÔÚlinuxÏÂÒýµ¼XP

vi ±à¼­ /boot/grub/ ϵÄgrub.conf£¬

ºÍÉÏÃæµÄÒ»Ñù£¬¾Í»á³öÏÖXP²Ëµ¥¡£

²»»á±àдgrubµÄ£¬¿ÉÒÔÔÚµÚÒ»´Î°²×°Íê³Éºó°Ñgrub¼Çס£¬ÒÔÃâÒÔºóÂé·³¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ