Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] another grub problem
Date: Mon, 07 Jul 2008 07:46:48
Message-Id: 20080707084634.32b81682@loonquawl.digimed.co.uk
In Reply to: [gentoo-user] another grub problem by Allan Gottlieb
1 On Sun, 06 Jul 2008 20:02:08 -0400, Allan Gottlieb wrote:
2
3 > grub> find /boot/grub/stage1
4 > (hd0,2)
5 >
6 > As expected hd0 is the disk
7
8 You should now run "root (hd0,2)"
9
10 > grub> setup (hd <TAB>
11 > Possible disks are: hd0 hd1
12 >
13 > Again confirming that hd0 is a valid disk (as is hd1, but that is an
14 > external scsi that does not contain stage1)
15 >
16 > But now comes the problem. (I want grub in the MBR.)
17 >
18 > grub> setup (hd0)
19 >
20 > Error 12: Invalid device requested
21 >
22 > What is wrong?
23
24 GRUB can't find its files because you haven't told it which partition
25 contains them. Only the stage1 goes into the MBR, along with a pointer to
26 the partition that contains everything else.
27
28
29 --
30 Neil Bothwick
31
32 Q. How do you identify a blind man in a nudist colony?
33 A. It's not hard.

Attachments

File name MIME type
signature.asc application/pgp-signature