installed WinXP after Fedora 10 but grub still not working
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
installed WinXP after Fedora 10 but grub still not working
hello.
Though I was using fedora with wine and it was not going well, I decided to install winxp on a partition to copy the entire C drive to ~/.wine/drive_c/ directory.
I unpluged the Hard drive and installed windows, all ok untill now. but, when I started up again with both discos pluged, (as I supose) windows booted first. So I inserted Fedora 10's DVD and rescue it, but, for earlier versions there was a boot restore function on the menu, now it isn't and I needed to chroot /mnt/sysroot (or so) and execute
Code:
grub
root hd0,0
setup hd0
exit
and it wasn't working yet, but, even when I made the same but executed
Code:
grub-install
windows presists on it's own boot up ...
I have, or supostly I should have, grub installed on MBR.
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep:
If you are messing around with youŕe drive , you should change youŕe menu.lst too
If you like to do a dual boot yes Grub should be written in MBR
To install GRUB
chroot/mnt/sysimage
Grub install /dev/sd?
exit
Sd? the drive where GRUB should be mostley SDA
If possible run the command fdisk -l(L lower case) to find the partitions where the OS are ,
Remember GRUB start counting with a zero so (hd0,0) = sda1 for you re menu.lst
thank you for the replay
I made grub-install already. the root partition is on sda1. in fact I don't want dual boot with windows, but a copy of it just to try on wine.
Maybe I can auto-reboot computer (no more than this) due a possible over current, but I'll try to unplug the windows disk, boot on fedora and plugit during the boot.
Beeing true, I'm pretty shore that this won't work, though I have, I gess, no plug n' play on hard drives... but ... no more than a restart.
Any how, I'll report in here. but, if you have any ideia what I can do else, please replay me .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.