Linux - NewbieThis 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.
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.
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?
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
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).
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).
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.