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 ...
- 10-09-2009 #1Just Joined!
- Join Date
- Apr 2009
- Location
- india
- Posts
- 19
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.
- 10-10-2009 #2
Simply add --recheck
# grub-install --recheck /dev/sda
- 10-10-2009 #3Just 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??
- 10-11-2009 #4forum.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.
- 10-11-2009 #5
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
- 10-13-2009 #6Just 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.
- 10-14-2009 #7
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
- 10-14-2009 #8
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
- 10-19-2009 #9Just 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-19-2009 #10Linux 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.


Reply With Quote