Find the answer to your Linux question:
Results 1 to 3 of 3
hi i'm new in linux after i reboot my rehat box show grub> does any one know why and how to fix it?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    1

    please help grub


    hi i'm new in linux after i reboot my rehat box show

    grub> does any one know why and how to fix it?

  2. #2
    Just Joined!
    Join Date
    May 2005
    Posts
    93
    you can boot to redhat from here do:
    grub>root (hdo,x) x is your /boot partition number minus one. hit enter:
    grub>kerenl /boot/vmlinuz.... wirte the full vmlinuz line from /boot , then hit enter:
    grub>initrd /boot/initrd...img write the initrd img form /boot , hit enter:
    grub>boot
    when you boot to redhat then try to install the grub again, write in a terminal /sbin/grub:
    grub>root (hd0,x)
    grub>setup (hd0,0) this will install the grub to mbr.

  3. #3
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    At the grub> type
    Code:
    root
    Then
    Code:
    setup (hd0)
    Then
    Code:
    kernel (hd0,0)/boot/kernel
    hit TAB, that will finish the kernel name for you.
    Then
    Code:
    boot
    and you should be booting into your system.

    In case something doesn't wok the way I said it should, go here
    http://www.linuxforums.org/tutorials...ial-19999.html

    Those numbers I used are dependent upon RH being on the first partition of the first hard drive. You will be able to substitute your own numbers after te "root" command.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

Posting Permissions

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