Find the answer to your Linux question:
Results 1 to 5 of 5
hi. my system had windows xp and redhat linux. i format c drive and installed xp again.now i am unable to acces linux os.i had installed redhat in d drive,what ...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    2

    how to retrive red hat linux

    hi.
    my system had windows xp and redhat linux. i format c drive and installed xp again.now i am unable to acces linux os.i had installed redhat in d drive,what shoud i do? shoud i reinstall redhat or is ther any way to get linux back without installing it again?

    plz help

  2. #2
    Linux Enthusiast L4Linux's Avatar
    Join Date
    Sep 2008
    Location
    Greece
    Posts
    584
    Use Super Grub disk. It can make any partition you want (Red Hat in your case) bootable.

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    2
    hello but i heard that ther are some commands ..by which we can retrive linux back..

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Boot up in Rescue (Recovery) mode using RedHat Installation CD/DVD. Execute this at shell prompt :
    Code:
    chroot /mnt/sysimage
    grub-install /dev/sda
    exit
    exit
    Machine will reboot and GRUB menu will appear at startup.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Feb 2009
    Posts
    6
    There are two methods to re install grub...

    1st method...
    Boot up in Rescue (Recovery) mode using RedHat Installation CD/DVD. Execute this at shell prompt :

    chroot /mnt/sysimage
    grub-install /dev/sda (for SCSI HDD) or /dev/hda
    exit
    exit

    if 1st method does'nt works u can try the below method..
    # grub (jus hit enter)
    grub>root (hd0,0)
    grub>setup (hd0)
    grub>quit

Posting Permissions

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