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.
XP in first partition.
Installed FC8 in second partition with GRUB in /dev/sda2.
As expected, I can't boot into Linux. But I tried taking first 512 bytes and putting those in boot.ini. That doesn't work.
Is there a way I can boot into linux rescue mode and install GRUB in MBR? I can take it from there.
I your case there is no need to go to rescue mode.
#grub
>root (hd0,0)
>setup (hd0)
exit.
first type grub on command prompt then you will enter in grub menu. Type rest two commands and exit.
This will write grub on MBR.
But i am not sure whether it will work for dual boot. If it doesn't replace Grub on MBR with Windows bootstrap loader on MBR.
If you have the Fedora dvd or rescue cd (its small and can be downloaded from any Fedora mirror), you can boot from that and enter "linux rescue" at the boot prompt. The live cd will boot and then you will be asked for details about your / (root) partition. Enter that information and when you see a shell prompt enter
Code:
chroot /mnt/sysimage
grub-install /dev/sda
If the commands were successful, reboot the system.
Well, I finally managed to install grub into MBR. I'll take it from here. Thanks everybody. Have a great day, night, weekend, or whatever is appropriate for you. Enjoy!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.