Find the answer to your Linux question:
Results 1 to 3 of 3
Hi guys! I installed fedora 8 on my pc and it was working fine until i installed the mplayer. the mpleyer was working but the next day my pc won't ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Location
    Iloilo, Philippines
    Posts
    17

    Question RESCUE MODE not working for me

    Hi guys!

    I installed fedora 8 on my pc and it was working fine until i installed the mplayer. the mpleyer was working but the next day my pc won't boot up. it directs me to the grub shell.

    i tried the rescue mode but this is what i get after setting up the network interface:

    RESCUE MODE

    You don't have any Linux partitions. Press return to get a shell. The system will reboot automatically when you exit from the shell.


    I also tried re-installing fc8 but i get this error message on the formatting/file system screen:

    An error occurred trying to format VolGroup00/LogVol00. This problem is serious, and the install cannot continue.

    What do you think caused this problem?

    I appreciate all your help.

  2. #2
    Just Joined!
    Join Date
    Oct 2005
    Location
    India
    Posts
    23
    To repair it:
    If you didn't create the boot disk, boot with the Red Hat Linux CD number 1 and choose rescue mode typing:
    linux rescue

    Now you need to repair the ext3 filesystem because now it's bigger than before and the journal file must be created again

    First, check the filesystem:

    fsck.ext3 /dev/hda2

    Now, create again the journaling ext3 file:

    tune2fs -j /dev/hda2

    Now mount the root filesystem on /mnt/sysimage and run grub

    mount -t ext2 /dev/hda2 /mnt/sysimage
    cd /mnt/sysimage
    cd sbin
    grub

    Once started, GRUB will show the command line interface. First, set the GRUB's root device1 to the boot directory, like this:
    grub> root (hd0,1)
    If you are not sure which partition actually holds these files, use the command find, like this:
    grub> find /boot/grub/stage1
    This will search for the file name /boot/grub/stage1 and show the devices which contain the file.

    If you are using a separate /boot partition, as the official documentation says:
    "... if you have the partition /boot and you install GRUB images into the directory /boot/grub, GRUB recognizes that the images lies under the directory /grub but not /boot/grub"
    Then if 'find /boot/grub/stage1' does not find the file, try 'find /grub/stage1'

    Once you've set the root device correctly, run the command setup:
    grub> setup (hd0)
    This command will install GRUB on the MBR in the first drive.

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Location
    Iloilo, Philippines
    Posts
    17
    hi jai!

    Thanks for your reply.

    I used the commands you gave me but when i got to the mounting part, it failed.

    # mount -t ext2 /dev/hda2 /mnt/sysimage
    mounting /dev/hda2 /mnt/sysimage failed.

    when i checked the /mnt there was no sysimage file in it. what would be my next move?

    thanks for your help.

Posting Permissions

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