 |
25-10-2008, 09:37 PM
|
#1 (permalink)
|
|
Broken In
Join Date: Oct 2008
Posts: 109
|
Help with GRUB
I had installed Ubuntu 8.04 and then installed XP so XP's bootloader replaced Ubuntu's and Ubuntu wasnt showing up on the list. I got GRUB up and working again but now XP is not shown as a boot option and Ubuntu 8.04 directly starts...please help me get XP and Ubuntu working together.
__________________
"No one can ever change this animal I have become..."
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
25-10-2008, 09:46 PM
|
#2 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: Help with GRUB
Append these lines to /boot/grub/menu.lst :
Code:
# (1) Windows
title Microsoft Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
Assuming your Windows exists on the first partition.
__________________
Harsh J
www.harshj.com
|
|
|
25-10-2008, 09:47 PM
|
#3 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Help with GRUB
^Calm Down. You just have to create some entries in /boot/grub/menu.lst file for Win XP.
1. Open a Terminal and enter sudo gedit /boot/grub/menu.lst and enter your password when prompted.
2. Navigate below and enter this as XP entry
Quote:
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
chainloader +1
|
I hope you installed XP in the 1st partition. You wanna post /boot/grub/menu.lst file's contents here using the command in step 1.
EDIT: Both the entries mentioned by Querty and me will work.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
25-10-2008, 10:19 PM
|
#4 (permalink)
|
|
Broken In
Join Date: Oct 2008
Posts: 109
|
Re: Help with GRUB
how to find out which partition is XP installed on ? And if its not 1 then what should I type ? (excpet of hd0,0)
__________________
"No one can ever change this animal I have become..."
|
|
|
25-10-2008, 10:25 PM
|
#5 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Help with GRUB
Open a terminal in Ubuntu and enter sudo fdisk -l and it will show ntfs and ext3 partitions and you can make out. the numbering in Grub starts with 0 and not 1. So 1st partition will be (hd0,0) and 2nd partition will be (hd0,1) and so on.
You tried the above steps yet?
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
25-10-2008, 10:36 PM
|
#6 (permalink)
|
|
Broken In
Join Date: Oct 2008
Posts: 109
|
Re: Help with GRUB
ya..but when I restarted with (hd0.1).....it showed XP as an option but when I tried to select it, gave me an error saying "Unexecutable File Format" or sumthing so back on Ubuntu trying to make this work.
__________________
"No one can ever change this animal I have become..."
|
|
|
25-10-2008, 10:40 PM
|
#7 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Help with GRUB
I think you have installed XP on the 2nd partition and this will create a problem as it is too moody.Try (hd0,0) It can be done with some masking commands. But if there is no trouble you might start afresh. Install XP and then Ubuntu. Make sure XP is installed in the 1st partition. I know it is not the solution you are looking for but following this practice will save you from buying Crocin!!
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
25-10-2008, 10:45 PM
|
#8 (permalink)
|
|
Broken In
Join Date: Oct 2008
Posts: 109
|
Re: Help with GRUB
THANKS! THANKS A LOOOOT!! I worked. (hd0,2) as (hd0,0) is Ubuntu an (hd0,1) is Swap lolz.
Why isnt there a reputation system on this forum !! i would have repped you  . THANKS ONCE AGAIN.
__________________
"No one can ever change this animal I have become..."
|
|
|
25-10-2008, 10:46 PM
|
#9 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Help with GRUB
^No reputation system here as most of us believe in equality 
Just wait till you get help from big fish like NucleusKore, praka123(banned permanently), T159 etc.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
25-10-2008, 10:55 PM
|
#10 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Help with GRUB
We are all equal, no fish here
Good going rahimveron et al
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
25-10-2008, 10:55 PM
|
#11 (permalink)
|
|
Broken In
Join Date: Oct 2008
Posts: 109
|
Re: Help with GRUB
I know all of them. T159 even knows who I am  .
__________________
"No one can ever change this animal I have become..."
|
|
|
25-10-2008, 10:57 PM
|
#12 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Help with GRUB
Jack Carvar, please refer this article, it pays to understand the GRUB bootloader
http://www.dedoimedo.com/computers/grub.html
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
25-10-2008, 10:58 PM
|
#13 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Help with GRUB
@Jack: So he must have brainwashed you to watch content-rich Korean Movies just like me  and good to be back here NucleusKore and as for fish, i just ate fish for dinner...burp.....
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
25-10-2008, 11:00 PM
|
#14 (permalink)
|
|
Broken In
Join Date: Oct 2008
Posts: 109
|
Re: Help with GRUB
lolz
__________________
"No one can ever change this animal I have become..."
|
|
|
25-10-2008, 11:44 PM
|
#15 (permalink)
|
|
Wahahaha~!
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
|
Re: Help with GRUB
So you are still hanging onto Ubuntu 
Well then it will be nice to read a beginner book on Linux, you are smart enough to download that stuff.
GRUB is really good and naming scheme is a bit confusing at first but once you get hang of it, you can boot many OS thru it.
|
|
|
26-10-2008, 12:17 AM
|
#16 (permalink)
|
|
Broken In
Join Date: Oct 2008
Posts: 109
|
Re: Help with GRUB
Yup....the best bootloader I have come across in my 13yrs of life  . Vista's bootloader is also good. XP has the worst. Dosent recongnize other OSes and takes over their bootloader  .
__________________
"No one can ever change this animal I have become..."
|
|
|
26-10-2008, 11:09 AM
|
#17 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: Help with GRUB
Vista's bootloader is WHAT?
__________________
Harsh J
www.harshj.com
|
|
|
26-10-2008, 11:42 AM
|
#18 (permalink)
|
|
Always confused
Join Date: May 2008
Location: Mandriva Control Center
Posts: 349
|
Re: Help with GRUB
@querty mechanic
did you forget the programming contests thread.
Please update it
Which question are you now answering in project euler
__________________
Vamsi Subhash
visit my blog at www.vamsisubhash.co.cc and taste a bit of IT!
|
|
|
| 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
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Grub how to!
|
sagar_coolx |
Open Source |
2 |
30-08-2008 10:21 PM |
|
Grub!!
|
arvi87 |
Software Q&A |
6 |
02-06-2008 09:28 AM |
|
GRUB
|
champ_rock |
Open Source |
1 |
07-10-2005 10:16 AM |
|
GRUB
|
zerohourkill |
Open Source |
28 |
28-04-2005 10:26 PM |
|
Grub
|
bernie |
Open Source |
8 |
17-11-2004 12:00 PM |
|
|
|