Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

GRUB

SOLVED
Go to solution
Piotr Kirklewski
Super Advisor

GRUB

Hi there
I installed ESXi on additional drive in my server and now I'm struggling with GRUB configuration.
The drive on witch ESXi was installed is /dev/sdb and the /dev/sdb4 partition is described as "boot".

I was trying this:

title ESXi
rootnoverify (hd1,1)
chainloader +1

Unfortunately - no joy.

I'm getting: "Error 21 - selected disk doesn' exist"

Can you help ?

Regards

Peter
Jesus is the King
4 REPLIES
Steven E. Protter
Exalted Contributor
Solution

Re: GRUB

Shalom Peter,

It may be a mis-detection of the disk by grub

http://www.linuxquestions.org/questions/linux-software-2/grub-bootloader-spits-out-grub-hard-disk-error-282421/

http://ubuntuforums.org/showthread.php?t=829005

One of these links should do it.

The key issue is figuring out what GRUB sees as far as disks go.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor

Re: GRUB

If it's the sencond disk, and the fourth partition, I woudl use rootnoverify (hd1,3)
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Piotr Kirklewski
Super Advisor

Re: GRUB

grub-install --recheck /dev/sdb

Probing devices to guess BIOS drives. This may take a long time.
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb


I was also trying (hd1,0),(hd1,1),(hd1,2),(hd1,3),(hd1,4)

No joy :(


Jesus is the King
Ragu_3
Trusted Contributor

Re: GRUB

For chain-loading an OS, the mbr of either of the disks should have a boot signature. Does either of your hard disks have this?

You should first embed the mbr with a boot signature, like this

grub> root (hd0,0)
grub> kernel (hd0,0)/boot/vmlinuz-XX root=/dev/sda1 ro
grub> setup (hd0)

or

grub> setup(hd1)

Hth.
Debian GNU/Linux for the Enterprise! Ask HP ...