LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-27-2010, 02:23 AM   #1
ankit123
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Rep: Reputation: 0
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.....

Last edited by ankit123; 04-27-2010 at 02:27 AM.
 
Old 04-27-2010, 02:44 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,349

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
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
 
Old 04-27-2010, 02:47 AM   #3
ankit123
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Original Poster
Rep: Reputation: 0
ok sir i'll try this....will it affect windows 7???
 
Old 04-27-2010, 06:57 AM   #4
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Quote:
Originally Posted by ankit123 View Post
ok sir i'll try this....will it affect windows 7???
Please elaborate your problem.
 
Old 04-27-2010, 07:12 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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.
 
Old 04-28-2010, 03:30 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,349

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Quote:
Originally Posted by ankit123 View Post
ok sir i'll try this....will it affect windows 7???
Usually not.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Install fedora 10 jayant.krran Fedora - Installation 2 10-20-2009 12:35 AM
Unable to boot from CD with Fedora 10 AtmoHawk03 Linux - Newbie 8 05-19-2009 01:31 AM
Unable to update Fedora 10 Doug.Gentry Fedora 5 04-18-2009 04:17 PM
Unable to mount LVM partition of Fedora 4 in Fedora 6 sahi10 Linux - Newbie 2 05-04-2008 01:15 AM
unable to boot into fedora joy310 Fedora 1 09-05-2004 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration