LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedorora recovery (https://www.linuxquestions.org/questions/linux-newbie-8/fedorora-recovery-728564/)

divyashree 05-26-2009 06:54 AM

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....

linuxlover.chaitanya 05-26-2009 07:50 AM

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.

divyashree 05-26-2009 02:03 PM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3553100)
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...

soleilarw 05-26-2009 04:47 PM

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

divyashree 05-27-2009 12:05 PM

Quote:

Originally Posted by soleilarw (Post 3553627)
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..

chrism01 05-27-2009 06:26 PM

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?

divyashree 05-28-2009 01:28 AM

Quote:

Originally Posted by chrism01 (Post 3554833)
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 ??

linuxlover.chaitanya 05-28-2009 01:32 AM

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.

divyashree 05-28-2009 01:29 PM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3555108)
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.

linuxlover.chaitanya 05-28-2009 11:55 PM

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.

divyashree 05-29-2009 02:46 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3556134)
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 ??

linuxlover.chaitanya 05-29-2009 03:37 AM

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.


All times are GMT -5. The time now is 02:55 AM.