GRUB problem after upgrading to 10.04
Guillermo O. Burastero
linux.gb at gmail.com
Sat May 1 14:28:32 UTC 2010
Hi, after I've made a new installation of the brand new Ubuntu 10.04
AMD64 the grub2 menu not recognized the Windows XP bootable partition
I had in /dev/sda1.
So, after searching for a while I found the next simple solution.
Open a console terminal and enter the next commands excluding
commented lines beginning with ;
; made I a superuser
# sudo su -l
; enter your user password needed to gain superuser privileges
; go to /boot/grub directory
# cd /boot/grub
; for backup purpose I did a copy of grub.cfg
# cp grub.cfg grub-bak.cfg
; do the "magic" with grub-mkconfig that generates automatically the
new grub.cfg file including the missing windows bootable partition.
# grub-mkconfig -o grub.cfg
; and thats all, you can make to see the new lines added by
grub-mkconfig in the new /boot/grub/grub.cfg file.
# diff grub.cfg grub0.cfg
; exit superuser session
# exit
After that, I rebooted my system and in my boot grub menu the new
Windows boot entry appears again.
P.S.: Excuse my English, it's not my native language.
--
Guillermo O. Burastero
Usuario GNU/Linux #84879 - http://counter.li.org/
Bahía Blanca, Buenos Aires, Argentina
Tel. +54 (291) 454-6132 - Móvil [15] 574-3173
MSN: guillermo.burastero at gmail.com
ICQ: 97148268
More information about the ubuntu-users
mailing list