Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 25-10-2008, 09:37 PM   #1 (permalink)
Broken In
 
Join Date: Oct 2008
Posts: 109
Default 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..."
Jack Carvar is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 25-10-2008, 09:46 PM   #2 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default 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
QwertyManiac is offline  
Old 25-10-2008, 09:47 PM   #3 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default 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
Rahim is offline  
Old 25-10-2008, 10:19 PM   #4 (permalink)
Broken In
 
Join Date: Oct 2008
Posts: 109
Default 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..."
Jack Carvar is offline  
Old 25-10-2008, 10:25 PM   #5 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default 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
Rahim is offline  
Old 25-10-2008, 10:36 PM   #6 (permalink)
Broken In
 
Join Date: Oct 2008
Posts: 109
Default 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..."
Jack Carvar is offline  
Old 25-10-2008, 10:40 PM   #7 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default 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
Rahim is offline  
Old 25-10-2008, 10:45 PM   #8 (permalink)
Broken In
 
Join Date: Oct 2008
Posts: 109
Default 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..."
Jack Carvar is offline  
Old 25-10-2008, 10:46 PM   #9 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default 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
Rahim is offline  
Old 25-10-2008, 10:55 PM   #10 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default 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"
NucleusKore is offline  
Old 25-10-2008, 10:55 PM   #11 (permalink)
Broken In
 
Join Date: Oct 2008
Posts: 109
Default 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..."
Jack Carvar is offline  
Old 25-10-2008, 10:57 PM   #12 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default 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"
NucleusKore is offline  
Old 25-10-2008, 10:58 PM   #13 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default 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
Rahim is offline  
Old 25-10-2008, 11:00 PM   #14 (permalink)
Broken In
 
Join Date: Oct 2008
Posts: 109
Default Re: Help with GRUB

lolz
__________________
"No one can ever change this animal I have become..."
Jack Carvar is offline  
Old 25-10-2008, 11:44 PM   #15 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
Default 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.
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is offline  
Old 26-10-2008, 12:17 AM   #16 (permalink)
Broken In
 
Join Date: Oct 2008
Posts: 109
Default 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..."
Jack Carvar is offline  
Old 26-10-2008, 11:09 AM   #17 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: Help with GRUB

Vista's bootloader is WHAT?
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 26-10-2008, 11:42 AM   #18 (permalink)
Always confused
 
vamsi360's Avatar
 
Join Date: May 2008
Location: Mandriva Control Center
Posts: 349
Post 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!
vamsi360 is offline  
Closed Thread

Bookmarks

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
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

 
Latest Threads
- by Charan
- by Sujeet
- by reddick
- by clinton
- by Who

Advertisement




All times are GMT +5.5. The time now is 12:06 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2