LinuxQuestions.org
Visit Jeremy's Blog.
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 05-26-2009, 06:54 AM   #1
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Fedorora recovery


I installed vista after fedora 8 installed bymistakely,Can I recover my fedora or I have to do a fresh installation,Any suggestion....
 
Old 05-26-2009, 07:50 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638

Rep: Reputation: Disabled
If you have not deleted the partitions or formatted them, they should still be there and healthy. Vista should just have over written then boot loader. You can boot from fedora cd/dvd and enter the rescue mode and from the shell give the command

Code:
 grub-install /dev/sdx
x is the name of your drive.
 
Old 05-26-2009, 02:03 PM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by linuxlover.chaitanya View Post
if you have not deleted the partitions or formatted them, they should still be there and healthy. Vista should just have over written then boot loader. You can boot from fedora cd/dvd and enter the rescue mode and from the shell give the command

Code:
 grub-install /dev/sdx
x is the name of your drive.
no bro it's not working at all,always saying grub not found

tried too many times,that's work fine in case of redhat,

u just try in fedora and tell..

Waiting 4 reply...
 
Old 05-26-2009, 04:47 PM   #4
soleilarw
Member
 
Registered: Apr 2009
Posts: 107

Rep: Reputation: 19
If it's a new Fedora install anyway, then you loose no data by installing again. It's not the most professional approach, but it needs no big thinking and bag of tricks.

Linux Archive

Last edited by soleilarw; 06-18-2009 at 04:14 AM.
 
Old 05-27-2009, 12:05 PM   #5
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by soleilarw View Post
If it's a new Fedora install anyway, then you loose no data by installing again. It's not the most professional approach, but it needs no big thinking and bag of tricks.
That's why am here,I could have a fresh installation but I want the professional way.

Actually lasttime,when I installed fedora I choose to auto install on the free space.Now, am not getting a /boot partition while recovering with fedora dvd in rescue mode...

I know how to recover in Redhat ,but facing trouble in case of fedora..

any help appriciated..
 
Old 05-27-2009, 06:26 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,443

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
Fedora should be recoverable in the same way as RHEL.
MS installs tend to take the entire machine if you're not careful.
Why not use

Linux rescue

mode and run

fdisk -l

to see what's really there?
 
Old 05-28-2009, 01:28 AM   #7
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by chrism01 View Post
Fedora should be recoverable in the same way as RHEL.
MS installs tend to take the entire machine if you're not careful.
Why not use

Linux rescue

mode and run

fdisk -l

to see what's really there?
Bro I have already tested.
fdisk -l shows sda2 as linux and others are ntfs partitions..
I checked by e2label sda2 is / and /boot nowhere.
I mounted that / in some directory and try to install grub by grub-install /dev/sda2 ,but it's always saying grub not found ,
so what will I do now ??
 
Old 05-28-2009, 01:32 AM   #8
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638

Rep: Reputation: Disabled
Did you have /boot as a partition or you installed everything into "/" ?
And you need not mount /dev/sda2 anywhere for installing grub.
Just grub-install /dev/sda should work. And LOOK what grub-install looks like. You DO NOT install grub in / but in the mbr of the drive. And thats why you are unable to boot. It wont find grub in the MBR where it SHOULD be.
 
Old 05-28-2009, 01:29 PM   #9
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by linuxlover.chaitanya View Post
Did you have /boot as a partition or you installed everything into "/" ?
And you need not mount /dev/sda2 anywhere for installing grub.
Just grub-install /dev/sda should work. And LOOK what grub-install looks like. You DO NOT install grub in / but in the mbr of the drive. And thats why you are unable to boot. It wont find grub in the MBR where it SHOULD be.
No I didn't have a /boot,that's why am in trouble.Before mounting I also tried as
#grub-install /dev/sda2
I didn't try
#grub-install /dev/sda
will that really help me ??
I am checking and'll post it tomorrow.
 
Old 05-28-2009, 11:55 PM   #10
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638

Rep: Reputation: Disabled
I already gave you the reason why you should install grub in the MBR of the drive. That is where you are faulting and if you check the post #2 i.e my first post, you will find the same solution that you have not followed and still saying it is not working.
 
Old 05-29-2009, 02:46 AM   #11
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by linuxlover.chaitanya View Post
I already gave you the reason why you should install grub in the MBR of the drive. That is where you are faulting and if you check the post #2 i.e my first post, you will find the same solution that you have not followed and still saying it is not working.
Ok bro,thanks a lot.

I first
#chroot /mnt/sysimage

then
#grub-install /dev/sda

works correctly..

But as I've no /boot,where the grub installed ?The MBR was in the sda1 i.e. the C drive of Vista.So grub installed in sda1 or any where ??
 
Old 05-29-2009, 03:37 AM   #12
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638

Rep: Reputation: Disabled
MBR is the first section of the hard drive and is not contained by or in any partitions. It is a partition ny itself.
And if you do not have /boot as a partition then it is part of / as a directory. The boot information is contained in that directory.

Last edited by linuxlover.chaitanya; 05-29-2009 at 03:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HD Recovery adri_ht_ Linux - Hardware 12 03-18-2009 04:34 PM
Linux recovery of Windows workstations - using baremetal recovery Reefcrazed Linux - Software 20 01-06-2009 05:15 AM
LXer: How to backup MySQL and recovery Using Zmanda Recovery Manager LXer Syndicated Linux News 0 09-10-2008 04:30 AM
LXer: Linux Data Recovery on Windows - Is possible through Disk Doctors Linux Recovery Software LXer Syndicated Linux News 0 10-22-2006 12:21 PM
Recovery gregos2006 Linux - Software 2 07-19-2006 01:58 PM

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

All times are GMT -5. The time now is 12:05 AM.

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