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.
Distribution: Windows Xp Home. SuSE 9.1 Pro and RedHat 9
Posts: 1
Rep:
Dual Boot After Windows XP Home Re-install
HELP!...I just re-installed windows... but Grub dont load @ startup anymore any1 know how to solve this problem...or is there away to access /dev/hda1 from Windows Xp?
Use your cd for your distro or a boot floppy and boot to your partition where Linux resides (use the kernel from the HD)
boot: Linux root=/dev/hda3
if your boot directory resides on /dev/hda3, for example.
Then, you run grub-install. You should be back in business. I don't have a lot of experience with grub, but if you have your grub config in the boot partition from before the XP incident, then you should get grub back as you want it as long as you can get into the drive, so to speak.
Anyone know more about this?
BTW, there are probably about 100 threads about dual boot problems (I know that I have answered several in the last few days alone). Try the search button at the top of the page for more ideas. They're likely here already. GL
Try booting with your distro install disk and doing a RESCUE mode (Usually linux rescue at the boot: prompt). Do a chroot on whatever the primary / filesystem was mounted as (under Rescue Mode the filesystems in you FSTAB are mounted under a separate mount point, so / is not the real / ) and then run your GRUB or LiLo commands to reinstall your boot loader. That's what I've always done when I blow it up
When your install Windows XP it overwrites the GRUB with its own boot loader.(Probably NTLDR) so often it is a good idea to first install Windows then Linux.
Now you have to boot from your distro. CD or rescue disk and mount your root partition. Then you have to become root and re-install GRUB or LILO.
What are exactly the steps to re-install Grub only.
I have a rescue disk and tried to boot, it worked but the screen displayed improperly and I couldn't see enough to do a thing.
I use LILO, but it's probably exactly the same thing with Grub.
When I re-install WinXp, then I simply boot on the Linux Mandrake install CD, I say "update", it asks me confirmation of my mouse and network settings, reconvigures the boot things, says "remove your cd" and everything works fine again.
I solved the problem and this is what I did: RH v.9
1. Boot in Linux with my rescue disk (can use CD in rescue mode)
2. Open a console as root and type: grub
3. Then, grub> (hd0,1)
grub> setup (hd0)
grub> quit
4. Restart
Originally posted by gmichel Hi! Thanks for helping.
I solved the problem and this is what I did: RH v.9
1. Boot in Linux with my rescue disk (can use CD in rescue mode)
2. Open a console as root and type: grub
3. Then, grub> (hd0,1)
grub> setup (hd0)
grub> quit
4. Restart
It worked fine.
Michel.
Thanks for posting what actually worked. Many people wouldn't take the time to do that. Now, others acn learn from your conquest You're an asset to this forum.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.