افتراضيا يتم تثبيت اوبونتو 9.04 الاصدار السابق من grub, ففي هذا الدرس سنقوم بطرح كيفية ترقية grub الي grub2 في اوبونتو 9.04.
تمت كتابة grub2 من الصفر لاعادة صيغته بشكل افضل و اداء افضل و يوجد به العديد من التحسينات والخصائص مثل امكانية دعم السكريبت ،واجهة رسومية ،ديناميكية تحميل الموديل امكانية الترجمة لدعمه non-ASCII و خطوط و العديد من الاضافات التي تساعد المطورين خاصة.
ترقية الي GRUB 2 جرب 2
نقوم بفتح التيرمنال Applications > Accessories > Terminal
و نبدآ في عميلة الترقية بتنقيذ الأمر
sudo aptitude install grub-pc |
بعد التحميل سيظهر لنا سؤلين
Chainload from menu.lst? <-- Yes Linux command line: <-- ENTER |
بعد ذلك نقوم بإعادة التشغيل
sudo reboot |
بعد إعادة التشغيل ستظهر لنا شاشة خطأ نضغط علي زر لوحة مفاتيح
نختار Chainload into GRUB 2 و نضغط e
و نختار root نضغط e
نستبدل السطر root…….
باللكلمة uuid و نضغط Enter
و بعد التعديل نختار uuid و نضغط b
بعد ذلك ستظهر لنا شاشة Grub 2 و بعد ذلك سيقلع النظام بدون مشاكل
بعد الاقلاع و الدخول نقوم بتنقيذ هذا الامر
sudo upgrade-from-grub-legacy |
عند التنقيذ سيكون المخرج
mohamed@ubuntu.ly:~$ sudo upgrade-from-grub-legacy [sudo] password for falko: Installing GRUB to Master Boot Record of your first hard drive ... Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (hd0) /dev/sda GRUB Legacy has been removed, but its configuration files have been preserved, since this script cannot determine if they contain valuable information. If you would like to remove the configuration files as well, use the following command: rm -f /boot/grub/menu.lst* mohamed@ubuntu.ly:~$ |
بعد ذلك نقوم بعمل إعادة تشغيل
sudo reboot |




















September 29th, 2009 at 6:42 pm
هل وصلت لهذه المرحلة
نختار Chainload into GRUB 2 و نضغط e