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 15-01-2007, 10:13 AM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: May 2006
Posts: 36
Thumbs up Dual Boot

Hi Guys,

1. Initially I had only Red Hat Linux 9 was installed in my computer. Yesterday I installed WIN - XP Professional along with Red Hat Linux. But the dual boot prompt is not showing. It's directly going to WIN - XP when I'm booting. I want to use Linux also. Please guide me how to get that dual boot prompt.

2. I'm having a 320 GB HDD. I've not fitted it to my computer. Will it slow down my computer if I'll fit it?

-Srimaya
srimaya_rath is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 15-01-2007, 01:35 PM   #2 (permalink)
The No.1 Stupid
 
~Phenom~'s Avatar
 
Join Date: May 2005
Location: CYBERYARD
Posts: 1,705
Default Re: Dual Boot

this is because ur GRUB is gone. search forum for restoring GRUB. And its always better to install linux after windows and not vice-versa because GRUB can redirect to NTLDR but reverse is not possible(atleast not easily).
__________________
n00b forever...
~Phenom~ is offline  
Old 15-01-2007, 01:40 PM   #3 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Dual Boot

Boot using Linux CD and at prompt type:

linux rescue

and after following instructions, u'll get sh prompt, now give following commands:

chroot /mnt/sysimage
grub-install /dev/hda


Here /dev/hda refers to ur HDD...
__________________
http://www.AskVG.com/
Vishal Gupta is offline  
Old 15-01-2007, 05:35 PM   #4 (permalink)
Right Off the Assembly Line
 
Join Date: May 2006
Posts: 36
Default Re: Dual Boot

Thanks for your suggestions... I'll try out these options and let you know about the outcome...

-Srimaya
srimaya_rath is offline  
Old 15-01-2007, 05:37 PM   #5 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Dual Boot

And any reasons for using such a outdated distro?
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 15-01-2007, 06:29 PM   #6 (permalink)
The No.1 Stupid
 
~Phenom~'s Avatar
 
Join Date: May 2005
Location: CYBERYARD
Posts: 1,705
Default Re: Dual Boot

^^may be,he is a student like me and his school/college uses RH9 only. lol
__________________
n00b forever...
~Phenom~ is offline  
Old 15-01-2007, 09:30 PM   #7 (permalink)
Right Off the Assembly Line
 
Join Date: May 2006
Posts: 36
Default Re: Dual Boot

hi Vishal thanx a lot for your suggestion .

I have run into a small issue. everything works smoothly till i reach the shell prompt.

when i excute the following on the shell prompt:

grub-install/dev/hda

message i get :

file or directory not found

when i execute the following :

grub --install/dev/hda

message i get:

invalid device requested

why such messages !!


So regarding this i have some queries:

1 does every body have their HDD on hda or is it installation specific.
2 if it is installation specific how do i know to which hda my HDD correspond to ?


thanx in advance

rgds
srimaya
srimaya_rath is offline  
Old 15-01-2007, 10:07 PM   #8 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Dual Boot

check the output of fdisk -l to know the partition name
hda is usually the first PATA disk then hdb
sda is usually the first SATA disk then sdb.
Code:
fdisk -l
The above command will give you the idea of which disk you have installed linux on.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 15-01-2007, 10:40 PM   #9 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Dual Boot

And also there is a "space" between grub-install and the partition name
__________________
http://www.AskVG.com/
Vishal Gupta is offline  
Old 16-01-2007, 12:00 PM   #10 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: Dual Boot

Actually, the correct procedure is as follows:

# fdisk -l | grep Linux

This will display two Linux partitions, one is root & the other swap.

You must install GRUB in the root (ie., Linux partition).

For eg.,

# grub-install /dev/hda3

NOTE: In your case it may vary. See the output of the command "fdisk -l"
__________________
* Imagination is more important than knowledge.
-Albert Einstein
JGuru is offline  
Old 16-01-2007, 05:22 PM   #11 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,182
Default Re: Dual Boot

Also, there should be a space between #grub-install and /dev/hda3 I think you are typing wrong. Check it out
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher
phreak0ut is offline  
Old 19-01-2007, 10:40 AM   #12 (permalink)
Right Off the Assembly Line
 
Join Date: May 2006
Posts: 36
Default Re: Dual Boot

Hi,

Yes, now I'm able to see the dual boot. Thank you all...
I was giving wrong command. I was not giving any space after grun-install...
But now I'm getting 3 prompts. 2 for linux and one DOS. Why 2 linux prompts are coming???

-Srimaya
srimaya_rath is offline  
Old 19-01-2007, 01:47 PM   #13 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Dual Boot

One must be failsafe.
Check your /boot/grub/menu.list file.
__________________
http://www.bash.org/?258908
mehulved 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



All times are GMT +5.5. The time now is 08:20 PM.


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

Search Engine Optimization by vBSEO 3.3.2