Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208
Rep:
Grub Restore
Hello all.
i am using redhat AS 3. But a friend of mine installed windows 2000 after i installed Linux.Now i think the boot loader information or grub has been removed or overridden.Now what is the soloution.When i had viewed my partition table before the boot partition was hda1. Can any one say me how to take the steps now, such that windows also stays and linux also stay.
boot from the first cd of your distro:. after that type "linux rescue" at the grub prompt. this will bring the system in rescue mode. after that u will get a shell. now execute the command " grub-install /dev/hdX". change the letter X to a,b,c,d etc.... depending on your hard disk connection. /dev/hda denotes that it is primary master, /dev/hdb denotes it is primary slave etc...
if the prompt returns with no errormessages, exit twice. this will reboot the system and you will have the grub installed. vimal..........
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208
Original Poster
Rep:
Thankyou very much .
we this steps don't i have to configure my grub file.That is grub.conf
secondly will the windows still be in existence. [ i want to exist the both ]
Those steps won't remove windowz but you won't be able to boot it before you correct your grub.conf file.
edit your grub.conf so that it looks something like this. this one is my grub.conf
----------------------------------original------------------------------
#boot=/dev/rd/c0d0
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4smp)
root (hd0,0)
kernel /vmlinuz-2.6.11-1.1369_FC4smp ro root=LABEL=/ acpi=force rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4smp.img
------------------------new lines--------------------------------------------
title "Windows something"
rootnoverify (hdX,Y) --- X hdd # hda=0,hdb=1:Y partition # hda1=0,hda2=1,etc..
chainloader +1
boot
------------------endnewlines----------------------------------------------
In my case I haven't need the makeactive because my notebook is always dual booting and as I have to install windowz first it make the first partition active, that's why I missed that one. Sorry if things didn't went because of that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.