Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
i have rhel5.1 installed on my system. after that i installed windows server 2003. now to recover grub,i put on my linux dvd and type linux rescue. chroot /mnt/sysimage grub-install ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Location
    india
    Posts
    19

    Question grub giving error while recovering ???

    i have rhel5.1 installed on my system.
    after that i installed windows server 2003.
    now to recover grub,i put on my linux dvd and type linux rescue.
    chroot /mnt/sysimage
    grub-install /dev/sda.
    now it is giving error as "/dev/sda doesnot have any corressponding bios drive".

    help pls !!
    thx in advance.

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Simply add --recheck
    # grub-install --recheck /dev/sda
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Location
    india
    Posts
    19
    thx very much.
    on my other system i m facing "/dev/hda not found or not a block device".
    can u plz help on this too??

  4. #4
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    All the newer kernels see hard drives as sda rather than hda.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You can execute fdisk -l command to check device names assigned to disks.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Apr 2009
    Location
    india
    Posts
    19
    i have checked using fdisk -l that it is hda.
    i then change my bios settings and now my fdisk -l shows hdd as sda but still neither grub-install nor grub-install --recheck works.
    everytime time i got that block device error.i google for the error but not able to find the soln.

  7. #7
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    What it the problem in keeping device as hda?
    --recheck is not solution for your second problem, Actuallly you should create another thread for another problem..
    "/dev/hda not found or not a block device" is the different problem.

    Try to install MBR using grub shell..using command grub
    then following commands on grub>
    root (hd1,0)
    setup (hd0)
    quit
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    If its showing sda or hda then execute this
    Code:
    grub
    root (hd0,0)
    setup (hd0)
    quit
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Apr 2009
    Location
    india
    Posts
    19
    thx all,grub is installed but while booting windows it is giving error no 18.
    i google n find that bcoz my partition is 100gb it is creating problm.
    i don't think now there is a solution to that problem.to boot windows i have to put on windows bootloader again,i guess.

  10. #10
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,943
    Grub Error 18:

    Selected cylinder exceeds maximum supported by BIOS

    So maybe you need to update the BIOS but since you have not posted your partition information from fdisk -l command it's hard to say.

Page 1 of 2 1 2 LastLast

Posting Permissions

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