LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-30-2005, 08:52 AM   #1
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 449

Rep: Reputation: 30
GRUB vanish after install WIN


I have three OS installed in my computer.

1. Win XP (/dev/hda1) ..........FAT 32
2. Fedora Core 3 (/dev/hda7)...........EXT3
3. Slackware 10.1 (/dev/hda6) ........... EXT3

In /dev/hda1 there was a previous install of Win ME and I replaced it right now to Win XP by formatting the partition.

How to retrieve my GRUB back which will reflect my previous installation of Fefora and Slackware with this new Win XP?

regards
anindyanuri
 
Old 06-30-2005, 09:19 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
Windows has it's on boot loader, and you cannot tell win not to install it's bood loader - which i think is just *bleep*

you should still have your /boot/grub/menu.lst or /boot/grub/grub.conf file
if you reinstall grub that should do the job.
#grub-install /dev/hda

do make a backup of your bootsector first though - just in case :-)
 
Old 06-30-2005, 09:20 AM   #3
meDream
Member
 
Registered: Jan 2005
Distribution: Mandrake 10.1
Posts: 47

Rep: Reputation: 15
i hope that you've made a boot floppy befor installing winXP
becouse your MBR was revriten while you have installed the XP
 
Old 06-30-2005, 09:28 AM   #4
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 449

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Nathanael
Windows has it's on boot loader, and you cannot tell win not to install it's bood loader - which i think is just *bleep*

you should still have your /boot/grub/menu.lst or /boot/grub/grub.conf file
if you reinstall grub that should do the job.
#grub-install /dev/hda

do make a backup of your bootsector first though - just in case :-)
Thank you very much for your response :-) , okay....... I am going to start with back up the boot sector first. Would you please tell me, how to take the back up?

The second question is that, your answer indicates that, I should enter into root prompt, but as I do not enter into any of my Linux Systems how do I get the root prompt? I do not have a boot floppy :-(

regards
anindyanuri
 
Old 06-30-2005, 09:33 AM   #5
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 449

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by meDream
i hope that you've made a boot floppy befor installing winXP
becouse your MBR was revriten while you have installed the XP
Sorry to say my friend, I do not have any boot floppy.

Regards
anindyanuri
 
Old 06-30-2005, 10:29 AM   #6
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
ok - have a look at downloading gibraltar2.0 from gribraltar.at
that will give you a good linux enviroment to rescue your sytem.
i dont know out of the back of my head on how to get your boodsector backedup but search on www.google.com/linux for 'backup bootsector' or 'dd hda' (dd is the command you would use to take a backup of your bootsector)

from a gib. booted sys you could mount your partitions in the correct order, and chroot into you enviroment and run grub-install from there (not sure if this will work)

or have a look at knoppix or any other live-cd's
 
Old 06-30-2005, 10:35 AM   #7
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
If you have the Slackware 10.1 install CD, pop it in, boot from it, and read the on-screen instructions on how to boot your Slackware system using the kernel on the CD. Once in your Slackware system, you can reinstall grub.

(Presumably you can "rescue" Fedora in a similar way, but I know very little about Fedora.)
 
Old 06-30-2005, 10:38 AM   #8
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 449

Original Poster
Rep: Reputation: 30
yes......i have knoppix, gnoppix and ubuntu live cds.

how to fix with those? may you take the pain to tell me in detail?

regards
anindyanuri
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recover grub bootloader after win install! teronslair Linux - Newbie 15 03-07-2010 12:25 AM
Win XP installation and Grub AndreiCiprian Linux - Software 11 11-23-2005 07:16 PM
Grub won't load Win XP gambit9334 Linux - Distributions 5 06-14-2004 06:27 PM
remove grub from win xp AcidStew Linux - Software 5 12-11-2002 07:55 PM
Grub doesn't boot Win XP peterjmag Linux - General 8 05-03-2002 05:33 PM


All times are GMT -5. The time now is 01:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration