Results 1 to 6 of 6

Thread: Fedora installation corrupted

  1. #1
    andreselsuave NNTP User

    Default Fedora installation corrupted

    Hi there! I installed openSUSE 10.3 on my HD with Fedora Core 9 . This made FC9 partition get corrupted and cant boot it anymore! I've tried to use Fedora Installation CD to restore previous grub, but didn't work. Fedora partition lies in sda4 in a LVM. Anyone can help me?

    Thanks a lot

  2. #2
    Join Date
    Jun 2008
    Location
    Finland, European Union
    Posts
    1,879

    Default Re: Fedora installation corrupted

    Tell us a little more - did it remove FC from the Grub? Does it show it but doesn't allow booting to it?

    Any grub errors?

  3. #3
    andreselsuave NNTP User

    Default Re: Fedora installation corrupted

    It appears that OpenSUSE grub overridded FC9's grub (according to the background). And now I can only choose either OpenSUSE or OpenSUSE failsafe...
    I've posted in other forums and I have been told to do this:
    Code:
    1. Boot off the 1st Fedora CD or use the Fedora Rescue CD
    2. At the boot prompt type 'linux rescue'
    3. The rescue mode will find the fedora installation
    4. Type 'chroot /mnt/sysimage' (without quotes)
    5. Type 'grub-install /dev/sda' (to install Grub to the MBR of the 1st HD)
    6. Restart and you should get the boot menu
    
    
    1. Open a terminal as "su" & your password, then type "grub" - response will end with: "grub>_ "
    2. "grub> find /boot/grub/stage1" which will give all locations of grub files.
    3. "grub> root (hdx,x)" Select the grub location - substitute "x" for the drive/partition info from 2.
    4. "grub> setup (hd0)" will install grub on the mbr of your first drive - adjust drive number as needed.
    5. "grub> quit" closes the command.
    6. Restart and test.
    but haven't worked

    I dont know what happens... Maybe I can add a FC9 entry to the OpenSUSE grub menu but don't know how to do that... I'm pretty noob :S

    Thanks a lot!

  4. #4
    Join Date
    Jun 2008
    Location
    Finland, European Union
    Posts
    1,879

    Default Re: Fedora installation corrupted

    Adding FC to the Grub should not be a big task at all - you can find a program called Boot Loader in YAST.

    What you need to figure out is what partition Fedora is installed and you can do this by using fdisk -l in a terminal window (with root privileges) and it'll list all the drives.

    You can then use that as a root device.

  5. #5
    andreselsuave NNTP User

    Default Re: Fedora installation corrupted

    this is the output for fdisk -l
    Code:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0000cad3
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        2611    20972826   83  Linux
    /dev/sda2           18718       19457     5944050    5  Extended
    /dev/sda3            2612       10224    61151422+  83  Linux
    /dev/sda4           10225       18717    68220022+  8e  Linux LVM
    /dev/sda5           18718       19457     5944018+  82  Linux swap / Solaris
    
    Partition table entries are not in disk order
    
    Disk /dev/dm-0: 67.7 GB, 67712843776 bytes
    255 heads, 63 sectors/track, 8232 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/dm-0 doesn't contain a valid partition table
    
    Disk /dev/dm-1: 2080 MB, 2080374784 bytes
    255 heads, 63 sectors/track, 252 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x30307800
    
    Disk /dev/dm-1 doesn't contain a valid partition table

  6. #6

    Default Re: Fedora installation corrupted

    can you access your fedora disk in opensuse. If so you could just copy your grub menu.lst to the opensuse one. If not then I guess check out the grub recovery disc: Super Grub Disk Official Webpage

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •