Rebuild GRUB ÕÒ»ØʧȥµÄlinuxϵͳ
ÎҵĵçÄÔÒ»¸öÓ²ÅÌ£¬×°XP+Fedora8£¬Ç°¶Îʱ¼äXPÄÖ±ðŤ£¬ÎÞÄÎÏÂÖØ×°ÁËXP£¬¿ÉÕâÑù¾Í½ø²»ÁËFedoraÁË¡£ һֱûɶÊ£¬ËùÒÔÒ²¾Íû¹Ü¡£
×î½üÐèÒªÓõ½linuxÁË£¬ÓÖ²»ÏëÖØ×°Fedora8£¨°²×°ºÃÂý£¬»¹ÒªÉý¼¶É¶µÄ£©£¬ÓÚÊÇÉÏÍøÕÒ½â¾ö°ì·¨£¬»¹Õæ¾ÍÕâÑù¸ãºÃÁË£¬Ë³Àû½øÈëÁËFedora£¬²»ÓÃÖØ×°£¬Ë¬¡« ·½·¨ÈçÏ£º
1.Fedora°²×°¹âÅÌÒýµ¼£¬½øÈërescue mode.
2. ¹âÅÌËÑË÷ÔÓÐlinuxϵͳ²¢¹ÒÔØÔÚĿ¼/mnt/sysimageÏ£¬ÃüÁîÐÐ
chroot /mnt/sysimage
ÕâʱÄãËù´¦Î»ÖþÍÊÇÔÚ/Ŀ¼ÏÂÁË
cd /boot/grub
vi grub.conf ²é¿´linuxµÄ·ÖÇø £¨ÎÒµÄΪ"(hd0,7)"£©
3. ÃüÁîgrubÆô¶¯
4. root (hd0,7)
5. setup (hd0,7)
ÔòÒѾ½«grub°²×°ÔÚlinux·ÖÇø¡£È»ºóͨ¹ýwindows XPµÄbootÀ´Òýµ¼Grub
½øÈëXP£¬ÏÂÔØbootpart 2.60Õâ¸öС³ÌÐò£¬ÃüÁîÐÐÊäÈ룺bootpart´òÓ¡³öÓ²Å̵ķÖÇøÐÅÏ¢£¬
Ñ¡ÔñÒª½øÐÐÒýµ¼µÄ·ÖÇø£¬°²×°µ½boot.iniÖУ¬ÃüÁîÈçÏ£º
bootpart.exe 8 boot.sec Fedora8
±íʾ½«±àºÅΪ8µÄ·ÖÇøµÄÒýµ¼ÐÅϢдÈëboot.secÎļþ£¬²¢ÇÒÉèÖÃboot.iniÌí¼ÓÒ»ÏÃû³ÆΪ"Fedora8".
ÖØÆô£¬Ñ¡ÔñFedora8£¬½øÈëÁËGRUB²Ëµ¥£¬Òýµ¼½øÈëlinux£¡
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
ÕªÒª
ÎÒÃÇÔÚÕâÀïÌÖÂÛµÄÊǶÔǶÈëʽlinuxϵͳµÄÆô¶¯¹ý³ÌµÄÊä³öÐÅÏ¢µÄ×¢ÊÍ£¬Í¨¹ýÎÒÃǵÄÌÖÂÛ£¬´ó¼Ò»á¶ÔǶÈëʽlinuxÆô¶¯¹ý³ÌÖгöÏֵġ¢ÒÔÇ°¸Ð¾õÊìϤµÄ¡¢µ«È´ÓÖËÆÊǶø·ÇµÄ¶«Î÷ÓÐÒ»¸öÈ·ÇеÄÁ˽⣬²¢ÇÒÄÜÁ˽⵽ÕâЩÊä³öÐÅÏ¢µÄÀ´ÁúÈ¥Âö¡£
ǶÈëʽlinuxµÄÆô¶¯ÐÅÏ¢ÊÇÒ»¸öºÜÖµµÃÎÒÃÇÈ¥ºÃºÃÑо¿µÄ¶«Î÷£¬ËüÄܽ«Ò»·ùËõӰͼ³ÊÏÖÔÚÎÒà ......
ÔÚlinuxÖÐ,ÔËÐеÄÒ»¸ö½ø³Ì,»áռȥlinuxµÄÈý¸öµØ·½,´úÂëÇø,¶ÑÕ»ÇøºÍÊý¾ÝÇø.Èç¹ûͬʱÔËÐжà¸öÏàͬµÄ³ÌÐò,ËûÃǾͻáʹÓÃÏàͬµÄ´úÂëÇø,´úÂëÇøÖдæ·ÅµÄ¾Í³ÌÐòµÄ´úÂë,µ«ÊÇÊý¾ÝÇøºÍ¶ÑÕ»Çø·Ö±ð´æ·ÅµÄÊdzÌÐòµÄÊý¾Ý,È«¾Ö±äÁ¿ºÍ¾Ö²¿±äÁ¿,Òò´Ë¼´Ê¹ÊÇÏàͬµÄ³ÌÐò,Ò²²»¿ÉͬʱʹÓÃÏàͬµÄÊý¾ÝºÍ¶ÑÕ»Çø.
#include<stdio.h>
#incl ......
Á´±íµÄɾ³ý
83/*
84 * Delete a list entry by making the prev/next entries
85 * point to each other.
86 *
87 * This is only for internal list manipulation where we know
88 * the prev/next entries already!
89 */
90static inline void __list_del(struct list_head * prev, struct list_head * next)
......