Gentoo Archives: gentoo-user

From: Grant Edwards <grante@××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Grub Error 21: Selected disk does not exist
Date: Sat, 17 Jan 2009 17:31:44
Message-Id: gkt4l9$1gb$1@ger.gmane.org
1 I just did an install onto a machine with a single internal IDE
2 hard drive. hda1 is Win2K (NTFS), hda2 is swap, hda3 is Gentoo
3 root (ext3).
4
5 I was following the "quick install" doc, and everything went
6 fine until I got to the section on installing grub. After
7 emerging grub, the "root" command failed:
8
9 grub> root (hd0,2)
10
11 Error 21: Selected disk does not exist
12
13 I tried hd0,hd1,hd2,hd3 with various paritions from 0 to 2 and
14 always got an Error 21. The drive is recognized correctly by
15 the BIOS, and Win2K boots and runs fine. I rebooted and
16 chroot'ed several times and always got Error 21.
17
18 So, I downloaded a Grub CD from http://www.supergrubdisk.org/.
19 The grub on the CD recognized the disk and all partitions
20 correctly and installed just fine using the normal procedure:
21
22 root (hd0,2)
23 setup (hd0)
24
25 I rebooted, and everything works great.
26
27 Any ideas on why grub couldn't see any hard drives when it was
28 run from the 2008.0 minimal install CD's chroot'ed environment?
29 I've done dozens of Gentoo installs, and I've never seen this
30 problem before.
31
32 --
33 Grant

Replies

Subject Author
Re: [gentoo-user] Grub Error 21: Selected disk does not exist Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] Grub Error 21: Selected disk does not exist Nicolas Sebrecht <nicolas.s-dev@×××××××.net>