LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   I can't boot windows, only ubuntu! (https://www.linuxquestions.org/questions/ubuntu-63/i-cant-boot-windows-only-ubuntu-316630/)

Vampirite 04-24-2005 07:42 AM

I can't boot windows, only ubuntu!
 
When Ubuntu boots, I only have the Ubuntu option, no Windows 98! I have restored the Windows MBR, but now i can't boot Ubuntu!

Any help please?

caladbolg 04-24-2005 09:09 AM

Re-install GRUB (Ubuntu's boot loader)

then sudo edit the /boot/grub/menu.lst file

There will be a windows setup commented out. Follow the general guidelines and you'll be able to boot both OS's.

RonRussell 04-24-2005 05:07 PM

For some reason, when you install grub to MBR, it doesn't always list your "other" operating system. You should have a file in /boot/grub/menu.lst with a list of boot options, each beginning with the word "Title". Mine is as follows:

default saved
timeout 15
color cyan/blue white/blue
foreground ffffff
background 2f5178
splashimage /boot/grub/mepis.xpm.gz

title MEPIS at hda1, kernel 2.6.7
kernel (hd0,0)/boot/vmlinuz-2.6.7 root=/dev/hda1 nomce psmouse.proto=imps quiet splash=verbose vga=791
initrd (hd0,0)/boot/initrd.mepis
savedefault

title MEPIS at hda1, kernel 2.4.26
kernel (hd0,0)/boot/vmlinuz-2.4.26 root=/dev/hda1 nomce quiet splash=verbose vga=791 hdc=ide-scsi hdd=ide-scsi
initrd (hd0,0)/boot/initrd.mepis
savedefault

title MEPIS at hdb1, kernel 2.6.10
kernel (hd1,0)/boot/vmlinuz-2.6.10 root=/dev/hdb1 nomce psmouse.proto=imps quiet splash=verbose vga=791
initrd (hd1,0)/boot/initrd.splash

title MEPIS at hdb1, kernel 2.4.29
kernel (hd1,0)/boot/vmlinuz-2.4.29 root=/dev/hdb1 nomce quiet splash=verbose vga=791 hdc=ide-scsi hdd=ide-scsi
initrd (hd1,0)/boot/initrd.splash

title MEMTEST
kernel /boot/memtest86.bin

So, what I have is SimplyMepis 2004 on my master hard drive, hda, and the newer version, SimplyMepis 3.3 on my slave hard drive, hdb. When I start the computer, grub (in the MBR) looks for this file to see what is available to boot, and displays five options (two Mepis kernels in the first drive, two Mepis kernels on the second drive, and Memtest). I can scroll up or down with the arrow keys and select using the "Enter" key.

You could just as easily have an entry for "Windows" in this file, and many people do.

Vampirite 06-18-2005 11:18 AM

Ok, thanks.


All times are GMT -5. The time now is 06:29 AM.