Linux and the hungry Penguin

Grub Error 21

Category: Linux
Posted: 2006-12-21 06:22, Edited: 2006-12-21 12:22


To install openSUSE 10.2 (see previous post) I installed a new hard disk in my machine and installed it on that.

Everything went well including the install but I hit a problem when I did my first reboot. I got a Grub error:

Grub Loading Stage 1.5
Grub Loading please wait....
Error 21

Aaahhh! It looked to me like openSUSE 10.2 could't handle getting the boot loader right for a multiple disk machine. But I was wrong the problem was all mine.

Before discovering the problem I used the various excellent boot modes from the install DVD and I was able to restore the old 10.1 boot loader and boot back into 10.1. From there I started looking on the web.

Error 21 means "Selected disk does not exist. This error is returned if the device part of a device- or full file name refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system."

Weird, I knew the disk was present as I just installed 10.2 on it! After lots of head scratching it turned out that I forgot to add the second disk to the BIOS. The 10.2 installed didn't rely on the BIOS information to find the disks, so it was able to detect and install onto the new disk with problem. However Grub uses the BIOS information to get the disk configurations.

So once I added the disk to the BIOS it all work fine! :D

Powered by sBLOG XHTML 1.0 Strict PHP CSS
Local time: 2021-11-28 20:15 GMT+2
Powered by sBLOG © 2005 Servous