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....
|
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 |
Quote:
tried too many times,that's work fine in case of redhat, u just try in fedora and tell.. Waiting 4 reply... |
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 |
Quote:
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.. |
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? |
Quote:
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 ?? |
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. |
Quote:
#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. |
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.
|
Quote:
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 ?? |
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. |