Help - Search - Members - Calendar
Full Version: Edit Grub
Suggest A Fix PC Support Forums > Operating Systems > Unix, Linux, and BSD
Surfer
ok i made a mistake when i installed ubuntu. i can't boot windows. any way to edit grub so windows is included in the grub boot menu?

windows is on hd 0 partition 1
Surfer
QUOTE(Surfer @ Aug 8 2008, 11:55 AM) *
ok i made a mistake when i installed ubuntu. i can't boot windows. any way to edit grub so windows is included in the grub boot menu?

windows is on hd 0 partition 1


never mind. windows is gone. i'll just stay in linux. must be fate.
LinuxSam
It's gone? do you mean you formated the partition?

Otherwise editing the file /boot/grub/menu.1st and adding this should do the trick.

CODE
title Windows XP
[TAB]root (hd0,0)
[TAB]makeactive
[TAB]chainloader +1


(where it says [TAB] it indicates that you should indent with a TAB)

and BTW you can ofcourse use any title I just assumed it was Windows XP you had on the drive

/LinuxSam
Surfer
i got linux on the windows drive. windows is back now and as soon as all drivers are installed i'll install linux again. this has to be how not to do a windows/linux install.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.