Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-27-2005, 11:54 PM
|
#1
|
Member
Registered: Feb 2004
Location: Kathmandu
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.
Thanking You.
|
|
|
08-28-2005, 12:47 AM
|
#2
|
Red Hat India
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260
Rep:
|
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..........
|
|
|
08-28-2005, 12:53 AM
|
#3
|
Member
Registered: Feb 2004
Location: Kathmandu
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 ]
|
|
|
08-28-2005, 05:09 PM
|
#4
|
Member
Registered: Jul 2005
Location: Mafra, PT
Distribution: Fedora Core
Posts: 90
Rep:
|
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----------------------------------------------
|
|
|
08-29-2005, 02:27 PM
|
#5
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Don't forget that Winders sometimes likes a makeactive line:
Code:
------- new lines -------
title "Windows something"
rootnoverify (hdX,Y)
makeactive
chainloader +1
|
|
|
08-29-2005, 05:29 PM
|
#6
|
Member
Registered: Jul 2005
Location: Mafra, PT
Distribution: Fedora Core
Posts: 90
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|