Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 09-24-2008, 08:09 PM   #1 (permalink)
 
Newb Techie

Join Date: Sep 2008

Posts: 16

NewTechGuy is on a distinguished road

Default Ubuntu + XP... Restoring grub

I had an entirely unallocated HDD that I partitioned with Ubuntu into:

Root - 5Gig
Swap - 3Gig
NTSF - 20Gig
Unallocated - almost 50Gig

I then installed Ubunto which worked great. Followed that with installing XP on the 20Gig partition and it also runs good but I can no longer get to Ubuntu. Looking at the dual boot xp+linux (linux first) guide I can see I was supposed to back grub up first. Is there a simple way to fix my mistake and restore grub so it boots first? I am a newb to Linux and dual booting of all kinds.

Thanks,
NewTechGuy
NewTechGuy is offline  
Old 09-24-2008, 09:09 PM   #2 (permalink)
Mak213's Avatar
 

Join Date: Sep 2004

Location: C:\Windows\System32

Posts: 25,667

Mak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to all

Default Re: Ubuntu + XP... Restoring grub

How to install Grub from a live Ubuntu cd. - Ubuntu Forums
__________________
R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009
Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好
I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object.
Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution.



<<<< If I help you, or you just like what I said, rep me
Mak213 is online now  
Old 09-24-2008, 10:22 PM   #3 (permalink)
 
Monster Techie

Join Date: Nov 2006

Location: Illinois, USA

Posts: 1,765

CalcProgrammer1 will become famous soon enough

Default Re: Ubuntu + XP... Restoring grub

Yeah, I use that guide all the time lol, reinstalling Windows is a pain cause it insists on killing the MBR and ruining GRUB, though it's a super easy fix.
__________________

CalcProgrammer1 is offline  
Old 09-24-2008, 11:01 PM   #4 (permalink)
 
Newb Techie

Join Date: Sep 2008

Posts: 16

NewTechGuy is on a distinguished road

Default Re: Ubuntu + XP... Restoring grub

Halfway home, Ubuntu loaded right away after Grub loaded now. Almost too fast actually, only left me 1 second to hit esc to go to the menu. But when I got to the menu XP wasn't an option and there was no "Other operating systems" list. How do I make XP visible now and can I just get a list right away instead of a short timer before Ubuntu loads?

**EDIT**
I solved this part of it with a little googling...
In the terminal I entered
Code:
sudo gedit /boot/grub/menu.lst
Then my root password. This gave access to edit Grub's menu. I edited the timeout line to read
Code:
timeout                   30
and added these lines below the Ubuntu's listed towards the bottom.
Code:
title              Microsoft Windows XP Pro
root		  (hd0,2)
makeactive
chainloader	+1
The 2 is the partition since XP is on my 3rd partition (0,1,2...)
**END EDIT**

Also, my external drive was visible before and now I get the error that its volume can't be read and am unable to mount it at all.

Last edited by NewTechGuy; 09-24-2008 at 11:42 PM. Reason: Solved
NewTechGuy is offline  
Old 09-25-2008, 02:03 PM   #5 (permalink)
 
Junior Techie

Join Date: Aug 2008

Posts: 42

brad8266 is on a distinguished road

Default Re: Ubuntu + XP... Restoring grub

Glad you got that grub sorted out. Check to see if the device shows up, fdisk -l
If it lists the external drive try mounting it manually to an empty directory.
brad8266 is offline  
Old 09-26-2008, 10:08 AM   #6 (permalink)
 
Monster Techie

Join Date: Sep 2005

Location: /home/jason

Posts: 1,826

Jayce will become famous soon enoughJayce will become famous soon enough

Send a message via AIM to Jayce
Default Re: Ubuntu + XP... Restoring grub

Not to butt in, but I noticed you edited the timeout time on the boot menu. Can you change the order of the menu as well?
Jayce is offline  
Old 09-28-2008, 09:50 PM   #7 (permalink)
 
Newb Techie

Join Date: Sep 2008

Posts: 16

NewTechGuy is on a distinguished road

Default Re: Ubuntu + XP... Restoring grub

I believe that should work fine as long as you make sure you have the right hd and partition numbers.
NewTechGuy is offline  
Old 10-02-2008, 01:00 AM   #8 (permalink)
 
Monster Techie

Join Date: Nov 2006

Location: Illinois, USA

Posts: 1,765

CalcProgrammer1 will become famous soon enough

Default Re: Ubuntu + XP... Restoring grub

You can change the order of the GRUB menu, simply copy/paste the OS entries in the desired order (for instance, move the XP entry from the bottom up to the top to make XP the primary OS, or make an order, mine's Vista, then XP, then Mac, then Ubuntu, then Ubuntu recovery, then Memtest).
__________________

CalcProgrammer1 is offline  
Old 10-02-2008, 09:17 AM   #9 (permalink)
 
Monster Techie

Join Date: Sep 2005

Location: /home/jason

Posts: 1,826

Jayce will become famous soon enoughJayce will become famous soon enough

Send a message via AIM to Jayce
Default Re: Ubuntu + XP... Restoring grub

Calc - Instead of changing the order, I just changed which one was by default highlighted.

When I boot up, I have a total of 6 things load. 5 are Ubuntu... recovery mode, memtest, the regular OS, blah blah. By default the regular OS shows up. But on my laptop, which has RTL8187B wireless and I haven't figured it out on Ubuntu yet, I use XP 99% of the time. There's a "default = 0" setting. If you change that 0 accordingly to whatever number is on the boot loader, that one will load first. For me, XP was 6. Default = 6 highlights XP first, but I can still hit my up arrow key to toggle to memtest or ubuntu or whatever else I want.

Last edited by Jayce; 10-02-2008 at 09:20 AM.
Jayce is offline  
Old 10-02-2008, 02:23 PM   #10 (permalink)
 
Monster Techie

Join Date: Nov 2006

Location: Illinois, USA

Posts: 1,765

CalcProgrammer1 will become famous soon enough

Default Re: Ubuntu + XP... Restoring grub

Yeah, I know about the default one, but I don't call that "changing the order", just changing the default. I like to have my default as the first one on the list.
__________________

CalcProgrammer1 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Ubuntu from second hdd Jake2k Linux, BSD, other *nixes & Open Source Software 0 07-16-2008 05:57 AM
Windows wont load, grub error? blue4paper Linux, BSD, other *nixes & Open Source Software 0 04-11-2008 11:50 PM
Ubuntu 8 makes it even easier to try out Linux Osiris Linux Tips and Tricks 5 04-04-2008 11:22 PM
Ubuntu 7.10 Beta Released Osiris Linux, BSD, other *nixes & Open Source Software 9 09-30-2007 01:25 AM
Ubuntu 7.04 Available Osiris Linux, BSD, other *nixes & Open Source Software 0 04-19-2007 06:44 PM