| Forum |
|
|||||||
| 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. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Right Off the Assembly Line
Join Date: May 2006
Posts: 36
|
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 |
|
|
| Advertisements. Register and be a member of the community to get rid of them. | |
|
Advertisement
|
|
|
|
#2 (permalink) |
|
The No.1 Stupid
Join Date: May 2005
Location: CYBERYARD
Posts: 1,705
|
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... |
|
|
|
|
#3 (permalink) |
|
Microsoft MVP
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
|
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... |
|
|
|
|
#7 (permalink) |
|
Right Off the Assembly Line
Join Date: May 2006
Posts: 36
|
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 |
|
|
|
|
#8 (permalink) |
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
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
__________________
http://www.bash.org/?258908 |
|
|
|
|
#10 (permalink) |
|
Wise Old Owl
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
|
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 |
|
|
|
|
#11 (permalink) |
|
The Thread Killer >:)
Join Date: Apr 2006
Location: Bangalore
Posts: 1,182
|
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 |
|
|
|
|
#12 (permalink) |
|
Right Off the Assembly Line
Join Date: May 2006
Posts: 36
|
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 |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|