|  |
09-24-2008, 08:09 PM
|
#1 (permalink)
|
Newb Techie Join Date: Sep 2008 Posts: 16
| 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 |
| |
09-24-2008, 09:09 PM
|
#2 (permalink)
|
Join Date: Sep 2004 Location: C:\Windows\System32 Posts: 25,667
| Re: Ubuntu + XP... Restoring grub
__________________ 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  |
| |
09-24-2008, 10:22 PM
|
#3 (permalink)
|
Monster Techie Join Date: Nov 2006 Location: Illinois, USA Posts: 1,765
| 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.
__________________ |
| |
09-24-2008, 11:01 PM
|
#4 (permalink)
|
Newb Techie Join Date: Sep 2008 Posts: 16
| 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 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
|
| |
09-25-2008, 02:03 PM
|
#5 (permalink)
|
Junior Techie Join Date: Aug 2008 Posts: 42
| 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. |
| |
09-26-2008, 10:08 AM
|
#6 (permalink)
|
Monster Techie Join Date: Sep 2005 Location: /home/jason Posts: 1,826
| 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? |
| |
09-28-2008, 09:50 PM
|
#7 (permalink)
|
Newb Techie Join Date: Sep 2008 Posts: 16
| 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. |
| |
10-02-2008, 01:00 AM
|
#8 (permalink)
|
Monster Techie Join Date: Nov 2006 Location: Illinois, USA Posts: 1,765
| 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).
__________________ |
| |
10-02-2008, 09:17 AM
|
#9 (permalink)
|
Monster Techie Join Date: Sep 2005 Location: /home/jason Posts: 1,826
| 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.
|
| |
10-02-2008, 02:23 PM
|
#10 (permalink)
|
Monster Techie Join Date: Nov 2006 Location: Illinois, USA Posts: 1,765
| 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.
__________________ |
| |  | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | |