Computer Hope

Software => BSD, Linux, and Unix => Topic started by: EEVIAC on March 26, 2010, 06:12:51 PM

Title: grub does not display Windows XP
Post by: EEVIAC on March 26, 2010, 06:12:51 PM
I just installed Karmac Koala (Ubuntu) onto the same HDD as Windows XP, but Windows XP is not showing up in the grub boot loader.  Windows XP was detected during the installation of Ubuntu, and I opted to use grub as the boot loader, so I don't know why this happened.

I don't know much about linux so if one could toss be a bone... 


I'm actually going to read the Ubuntu Pocket Book soon, to get me started...
Title: Re: grub does not display Windows XP
Post by: EEVIAC on March 26, 2010, 07:29:54 PM
well here is the solution that fixed the problem, as suggested by the Ubuntu forums.



sudo update-grub


grub needed to be updated, although I don't know why XP didn't show up after setup.
Title: Re: grub does not display Windows XP
Post by: soybean on March 27, 2010, 10:11:35 AM
So, you had to upgrade GRUB to GRUB2 (http://www.gnu.org/software/grub/grub-2.en.html), right?
Title: Re: grub does not display Windows XP
Post by: EEVIAC on March 27, 2010, 03:29:43 PM
No.  Apparently the command I used simply updates the grub boot loader file.  It locates OS installations and adds them to the file.

It seems to be the equivalent of the bootcfg /rebuild command used in Windows XP Recovery Console, which scans hard drives and adds found OS's to the boot.ini file.