![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Nov 2008
Posts: 5
OS: Ubuntu Hardy
|
DualBoot Xp/Ubuntu Grub Problem
I've got a sony viao with xp. I decided to install Ubuntu (hardy) and dual boot. Now when I select windows xp in the grub menu, It doesn't load xp but rather sends me to a grub-terminal like thing.
"Grub >" Everything is partitioned right, what is the problem?? |
|
|
|
| Sponsored Links |
|
|
#2 (permalink) |
|
Moderator Alt. Computing
|
Re: DualBoot Xp/Ubuntu Grub Problem
Welcome to TSF!!
I would like you to boot into ubuntu for me. Then you need to open up a Terminal session. After that I would like you to type: Code:
gedit /boot/grub/menu.lst The menu.lst file list all the information that tells GRUB what OS to start, and which partition the data is on. Cheers!
__________________
![]() If I have posted on your thread and haven't replied within 48hrs please PM me. I will try to be as prompt as possible! Linux Forever! Learning is doing, not being able to follow steps put forth by others. When posting what errors you get, please give the full message. It makes helping you much easier. |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Nov 2008
Posts: 5
OS: Ubuntu Hardy
|
Re: DualBoot Xp/Ubuntu Grub Problem
Well, I ended up trying to take matters into my own hands.
Xp had previously been installed on an extended partition, so i reinstalled it on a primary partition with no real reasoning behind my actions. Now my grub menu is gone, and any attempts I make to bring it back are failures. I tried reinstalling grub from the ubuntu live boot cd with this technique: 1. Boot from a Live CD, like Ubuntu Live, Knoppix, Mepis, or similar. 2. Open a Terminal. Go SuperUser (that is, type "su"). Enter root passwords as necessary. 3. Type "grub" which makes a GRUB prompt appear. 4. Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,3)". Use whatever your computer spits out for the following lines. 5. Type "root (hd0,3)". 6. Type "setup (hd0,3)". This is key. Other instructions say to use "(hd0)", and that's fine if you want to write GRUB to the MBR. If you want to write it to your linux root partition, then you want the number after the comma, such as "(hd0,3)". 7. Type "quit". 8. Restart the system. Remove the bootable CD. The output in the terminal made it seems like my efforts resulted in success, but when I rebooted I still was brought to the Windows Boot Loader. I frowned. ![]() |
|
|
|
|
|
#4 (permalink) |
|
Mentally divergent
Join Date: Jun 2005
Location: Chehalis, WA, USA
Posts: 1,231
OS: W2K, Ubuntu 8.04
|
Re: DualBoot Xp/Ubuntu Grub Problem
"Xp had previously been installed on an extended partition, so i reinstalled it on a primary partition with no real reasoning behind my actions."
What's that you say? I've been told over and over that Windows CANNOT boot from an extended partition. I accepted that as gospel and now you're saying that's not true? Oh, I feel it coming on. One of those "There's no solid ground to stand on" moments... You've reinstalled Windows? Instead of messing around with CLI grub commands, why not just try reinstalling Ubuntu from scratch? better yet, wipe the drive clean with a GParted LiveCD (GPLCD), create a primary partition for Windows. Format it as ntfs. create an extended partition out of the remaining space. create a logical partition inside the extended, format it as ext3. Pop in your XP disc, install to the ntfs partition (Windows installer should ignore the extended partition) Install all the Sony drivers so that Xp is working fine. Then pop in your Ubuntu disc and install to the logical partition. GRUB really should install where it's supposed to. Is there any chance the Ubuntu disc isn't 100%? If you don't need the "test drive" function of the LiveCD, I'd suggest downloading the "alternate install" version and burning that to a good-quality, CD-R at a low speed (4X to 8X) and installing from the alt-install CD. For some people the alt-install works when the Live didn't. Search this forum for "GParted LiveCD" or "GPLCD" Numerous discussions in the past. |
|
|
|
|
|
#5 (permalink) |
|
Moderator Alt. Computing
|
Re: DualBoot Xp/Ubuntu Grub Problem
Hi,
Please follow these instructions line for line. This will allow you to partition your hdd. You will need two things, an ISO file from Gparted, and a program that will allow you to burn a LiveCD. I would recommend CDburnerXP, or Finalburner. Unless you have a cd burner that will burn ISO files. A regular cd burning program won't work. It must have an ISO burning function.
Let me know when you have that done and I will help you with the next step. Cheers!
__________________
![]() If I have posted on your thread and haven't replied within 48hrs please PM me. I will try to be as prompt as possible! Linux Forever! Learning is doing, not being able to follow steps put forth by others. When posting what errors you get, please give the full message. It makes helping you much easier. |
|
|
|
|
|
#6 (permalink) | |
|
Manager
Join Date: Sep 2004
Location: Colorado
Posts: 802
OS: Mac OS 9.1, Mac OS X 10.5.5, WinXP Pro, FreeBSD 6.0, Gentoo Linux
|
Re: DualBoot Xp/Ubuntu Grub Problem
Quote:
__________________
![]() Has it been a few days since I replied to your thread? Don't panic! I'm a busy college student and may forget a post if I'm extra busy (or it might just take me a while to be able to do a decent reply). If you still need help and are awaiting my reply after a few days, PM me about it. When posting what errors you get, please give the full message. It makes helping you much easier. |
|
|
|
|
|
|
#7 (permalink) | ||
|
Registered User
Join Date: Nov 2008
Posts: 5
OS: Ubuntu Hardy
|
Re: DualBoot Xp/Ubuntu Grub Problem
Quote:
I reinstalled xp on a primary partition and booted the Ubuntu Live Cd. Then I removed Grub. Quote:
|
||
|
|
|
|
|
#8 (permalink) |
|
Registered User
Join Date: Apr 2006
Location: Mobile, AL
Posts: 32
OS: XPPro
|
Re: DualBoot Xp/Ubuntu Grub Problem
I give each linux distro it's own drive and install grub in the MBR of the second drive. I switch the boot order in the BIOS, so my computer looks there (on the 2nd drive) for a boot record. Grub can't screw up my windows boot. If grub doesn't behave, all I have to do is reset my BIOS/reboot to load from C:\ and fix whatever seemed to be the problem.
__________________
ECS Crossfire KA1MVPAth64 - Powercolor X800GT- 3X(SATA HD) - WinXP Pro - Fedora Core 7 - Mandriva 2009. |
|
|
|
![]() |
| Thread Tools | |
|
|