LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to use my fedora (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-use-my-fedora-804449/)

ankit123 04-27-2010 02:23 AM

unable to use my fedora
 
I had two OS win xp nd fedora10.i formated my xp nd was installing windows 7 in its place when i did the same my fedora got invisible i m unable to find whole partition where my fedora was installed.......and i cant use fedora now...how to get it back please help.....

business_kid 04-27-2010 02:44 AM

boot from the install cd and reinstall grub on your newly formatted boot drive. I find it useful to run these commands

dd if=/dev/sda of=/boot/sdabootsector bs=512 count=1
dd if=/dev/sda1 of=/boot/sda1bootsector bs=512 count=1

Then the next time you can simply dd them back

ankit123 04-27-2010 02:47 AM

ok sir i'll try this....will it affect windows 7???

cola 04-27-2010 06:57 AM

Quote:

Originally Posted by ankit123 (Post 3948975)
ok sir i'll try this....will it affect windows 7???

Please elaborate your problem.

pixellany 04-27-2010 07:12 AM

ankit;

A very common problem-----When you install Windows, it puts its bootloader into the MBR.

If you restore the GRUB bootloader (from any live CD), it will not affect the Linux installation.

the instructions above (with dd) are for saving the mbr to a file for later restoration) Save this for later---after you have restored GRUB.

business_kid 04-28-2010 03:30 AM

Quote:

Originally Posted by ankit123 (Post 3948975)
ok sir i'll try this....will it affect windows 7???

Usually not.


All times are GMT -5. The time now is 06:22 PM.