LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-09-2008, 04:49 AM   #1
sudeep_mansh
Member
 
Registered: Jun 2008
Posts: 33

Rep: Reputation: 0
Unhappy previous linux installation could not be detected after installing windows


I am using fedora core 4 linux. I installed a fresh copy of windows xp. When I tried to restore the grub bootloader using the first cd, it failed to detect the linux partition.

Usually it will detect the partition and it will allow to install grub using grub-install command.

The steps i follow to restore grub are
1. Boot the system using linux first CD.
2. Type linux rescue and press ENTER.
3. It will scan the hard drive for previous linux installation.
4. If found, type chroot /mnt/sysimage
5. Finally type grub-install /dev/hda.
6. Reboot the system.

I am getting problem in step 3. It is not detecting the installation.
If anyone knows how to recover, please help me.

Thank you
 
Old 06-09-2008, 05:04 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
You didn't happen to reinstall XP over the fc4 install by any chance?

Baldrick
 
Old 06-09-2008, 08:49 AM   #3
jestinjoy
Member
 
Registered: May 2004
Location: India
Distribution: Ubuntu 9.04, Debian Lenny
Posts: 121

Rep: Reputation: 22
Talking

There are so many boot loaders available in windows use it to boot into linux ...
 
Old 06-10-2008, 05:34 AM   #4
sudeep_mansh
Member
 
Registered: Jun 2008
Posts: 33

Original Poster
Rep: Reputation: 0
i tried even that also

it is giving some error like cannot read /boot/grub/stage1 while trying to install grub.
I am unable to fix it. i am searching for various ways to fix it.
 
Old 06-10-2008, 06:08 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by jestinjoy View Post
There are so many boot loaders available in windows use it to boot into linux ...
I have no idea what you are saying....

Quote:
Originally Posted by sudeep_mansh
it is giving some error like cannot read /boot/grub/stage1 while trying to install grub.
I am unable to fix it. i am searching for various ways to fix it.
Boot from any Linux CD (eg your fedora install disk), enter ctrl-alt-F1 to get a terminal prompt, and enter "fdisk -l" (without the quotes). Post the result here.

The "booting" link below might help also. Note that, when you install GRUB, the installer needs to be pointed to the partition containing the GRUB files.
 
Old 06-10-2008, 06:11 AM   #6
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
Quote:
jestinjoy

There are so many boot loaders available in windows use it to boot into linux ...
My question to you is WHY? Grub IMHO is far better than any windows boot-loader.

sudeep_mansh

Take a look at this HOWTO
I would agree with Baldrick65. Take a live-cd boot to it and take a look to verify that windows didn't overwrite the linux partition.
 
  


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
installing windows after linux installation sundar55 Linux - Software 1 01-19-2007 12:03 PM
installing image of windows installation onto linux while keeping grub lupusyonderboy1 Linux - Newbie 1 10-26-2006 06:29 AM
Removing GRUB from a previous installation gh02t Linux - Software 6 04-19-2006 01:27 PM
Installing Windows After Linux Installation joanduan Linux - Software 4 02-18-2005 05:30 AM
Linux Installation FAILURE harddrive not detected lysol Linux - Hardware 35 07-30-2004 03:19 AM


All times are GMT -5. The time now is 12:41 PM.

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