GRUB problem after upgrading to 10.04
Goh Lip
g.lip at gmx.com
Sat May 1 19:35:27 UTC 2010
On Sat, 1 May 2010 11:28:32 -0300
"Guillermo O. Burastero" <linux.gb at gmail.com> wrote:
> 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.
>
>
And that is easier than 'sudo update-grub'?
gl
--
More information about the ubuntu-users
mailing list