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 |
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.
|
|
|
02-15-2005, 02:46 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Location: indore
Distribution: fedora
Posts: 25
Rep:
|
grub configure
i am absolutely new to linux . i have been inspired by someone who is a great suporter of open source. anyways i have win xp and fedora core 2 .
my win xp is corrupt so ineed to reinstall it by formatting my c: drive. will the grub go with it ? how can i reconfigure the grub?
|
|
|
02-15-2005, 02:51 PM
|
#2
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi
if during windows Installtion ,it writes to ur MBR then ur GRUB will surely be gone
to recover it
boot into rescue mode(type "linux rescue" at while booting from 1 st CD)
chroot to ur linux partition(for redhat based systems u need to run "chroot /mnt/sysimage" after u boot in rescue mode)
and
grub-install /dev/hda
regards
|
|
|
02-17-2005, 02:32 PM
|
#3
|
LQ Newbie
Registered: Jan 2005
Location: indore
Distribution: fedora
Posts: 25
Original Poster
Rep:
|
is fc2 cds are required or i can do with any version of red hat
|
|
|
02-17-2005, 02:47 PM
|
#4
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
with fedora Cds ,it will be more easy
or u can do wth any linux
there u need to mount ur root partiton ,then "chroot" to that partition
so better if u can get Fedora Cds
regards
|
|
|
02-18-2005, 01:45 PM
|
#5
|
LQ Newbie
Registered: Jan 2005
Location: indore
Distribution: fedora
Posts: 25
Original Poster
Rep:
|
using redhat 9.0 instead of fc2 following output came after linux rescue
and after fdisk -l
i got hdd4 as my linux partition
i wrote following
mount /dev/hdd4 /tmp
chroot /tmp
grub-install /dev/hdd4
following error came
sh-2.05b# grub-install /dev/hdd4
sh: child setpgid (105 to 105) : no such process
the file /boot/grub/stage1 not read correctly
|
|
|
02-18-2005, 02:05 PM
|
#6
|
Member
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189
Rep:
|
As Masand stated the correct command is
Code:
grub-install /dev/hda
assuming that your Windows partition is the first one on the first drive (which it probably is because Windows can't comprehend a situation where it would be anything other than the first partition).
hth
Mark
|
|
|
02-18-2005, 02:26 PM
|
#7
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
Quote:
Originally posted by ArthurDent
As Masand stated the correct command is
Code:
grub-install /dev/hda
assuming that your Windows partition is the first one on the first drive (which it probably is because Windows can't comprehend a situation where it would be anything other than the first partition).
hth
Mark
|
thanks "Mark" for putting my point again
regards
|
|
|
02-18-2005, 03:30 PM
|
#8
|
LQ Newbie
Registered: Jan 2005
Location: indore
Distribution: fedora
Posts: 25
Original Poster
Rep:
|
as u said my windows must be on 1st patition
its not so i ahve two version of windows xp
one on c: drive
and one on e: drive
and iam not using grub/hda coz my hdd is secondary slave
and as far to my knowledge for srcondary slave hdd4 is used
plz clarify
|
|
|
02-18-2005, 03:31 PM
|
#9
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
u need to use
grub-intall /dev/hdd
not hdd4 since u want to install grub on MBR and not on UR root partition I guess???
regards
|
|
|
02-19-2005, 02:39 PM
|
#10
|
LQ Newbie
Registered: Jan 2005
Location: indore
Distribution: fedora
Posts: 25
Original Poster
Rep:
|
i gave up installing grub and iam going for fc3. would it be better if i switch to lilo from grub
how can i make that switch
|
|
|
02-19-2005, 03:15 PM
|
#11
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
wheh ur installing Linux u have an option of installing any one of the two
and BTW grub is newer then lilo and lilo may be depriciated in future versions,might have been depricited in FC3
regards
|
|
|
02-20-2005, 02:27 PM
|
#12
|
LQ Newbie
Registered: Jan 2005
Location: indore
Distribution: fedora
Posts: 25
Original Poster
Rep:
|
my 2nd installation cd of fc3 is corrupt
so ineed to procure new cd . till then iam cut of from the world of linux
its a shame
|
|
|
02-20-2005, 02:49 PM
|
#13
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
shame for who??
|
|
|
02-23-2005, 06:06 PM
|
#14
|
LQ Newbie
Registered: Jan 2005
Location: indore
Distribution: fedora
Posts: 25
Original Poster
Rep:
|
NOW NEW PROB;EM WITH GRUB
WHEN I INSTALL FC 2 AND I GIVE LOCATION OF MY XP PARTITION FOR GRUB EVERYTHING RUNS OK . BUT WHEN SYSTEM STARTS IT SHOWS TWO ENTRIES ONE OF FEDORA AND OTHER OF WIN XP
WHEN I CLICK ON WIN XP
SOME ERROR COMES WHICH SAYS DISK NOT FOUND PRESS ENTER TO REBOOT
AND THEN NOTHING HAA[ENS
WHATS THIS
|
|
|
02-23-2005, 10:29 PM
|
#15
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
post ur grub.conf here
and the O/P of
fdisk -l
regards
|
|
|
All times are GMT -5. The time now is 08:10 AM.
|
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
|
|