LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 08-27-2006, 02:14 AM   #1
z.z!
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Rep: Reputation: 0
error in installing grub!


Hi all!
i've installed fedora core 5 recently ,and it was working properly.then i installed a new windows XP on my hard and it seems to rewrite the grub ,so i can't access the fedora any more!
my first question is that is it possible to install grub with the CD of fedora 3 or redhat ?(as i unfortunately don't have fedora core 5 CDs right now! )
with considering that it is possible ,i tried to install the grub via linux rescue ---> grub-install ,but there are some problems:
1- after entering to rescue mode it cannot find linux partitions while there are two(one ext3 and one swap)observed in "fdisk -l"!
2- when switching to root by chroot /mnt/sysimage it says that directory sysimage doesn't exist!,
3- and when running "grub-install" ,"cannot execute /bin/sh" error was received!
can any one help me please to boot my fedora again?
thanx!
 
Old 08-27-2006, 03:29 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Maybe you have a SATA disk or another type that is not yet recognized by the older kernels of RH or FC3. Can't you use the FC5 disks, or any other more recent LiveCD?
The chroot method is OK, provided that your root partition has been mounted to /mnt/sysimage.
 
Old 08-27-2006, 06:05 AM   #3
z.z!
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Unhappy

thanks uselpa!
are u sure that providing FC5 CD may fix the problem?
and ,another question is there any way to installing grub via windows?
 
Old 08-27-2006, 08:37 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
If FC5 worked properly before, that means that the kernel included with FC5 can operate your hardware. So if you can use the FC5 CD to boot (probably called "recovery mode"), it'll work.

I don't think you can install GRUB from Windows.
 
Old 08-28-2006, 01:52 PM   #5
z.z!
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Thumbs up

thanks for your guidance,the problem is solved now just by using FC5 CD !
 
  


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
grub error when installing debian Mathsniper Linux - Software 1 06-17-2006 06:21 AM
Installing Grub error. Daanh Linux - Software 6 08-31-2005 06:06 PM
Error 15, installing GRUB via SUSE9 jwsnl Linux - Newbie 1 01-29-2004 03:15 AM
Grub Error After Installing Gentoo Crashed_Again Linux - General 3 12-20-2003 05:02 PM
grub not installing by error Ming Dao Linux - Newbie 12 10-23-2003 08:52 PM


All times are GMT -5. The time now is 11:59 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