From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KFsZG-0005uc-R3 for garchives@archives.gentoo.org; Mon, 07 Jul 2008 15:23:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1588EE0566; Mon, 7 Jul 2008 15:23:35 +0000 (UTC) Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.80.33]) by pigeon.gentoo.org (Postfix) with ESMTP id E885BE0566 for ; Mon, 7 Jul 2008 15:23:34 +0000 (UTC) Received: from ajglap.localdomain (ool-4578d8f8.dyn.optonline.net [69.120.216.248]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.13.8) with ESMTP id m67FNYbv025928 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 7 Jul 2008 11:23:34 -0400 (EDT) Received: by ajglap.localdomain (Postfix, from userid 1502) id 77A9119D92F; Mon, 7 Jul 2008 11:23:29 -0400 (EDT) To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: another grub problem: SOLVED References: From: Allan Gottlieb Date: Mon, 07 Jul 2008 11:23:29 -0400 In-Reply-To: (Allan Gottlieb's message of "Sun\, 06 Jul 2008 22\:15\:18 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6dc2273c-1472-44d5-9ccd-ecfe6735132c X-Archives-Hash: d0de49cf38567b00d972f097d654807b (Summary: I had a problem with installing grub into the MBR. Two thoughtful replies set me straight) At Mon, 07 Jul 2008 08:46:34 +0100 Neil Bothwick wrote: > On Sun, 06 Jul 2008 20:02:08 -0400, Allan Gottlieb wrote: > >> grub> find /boot/grub/stage1=20=20 >> (hd0,2) >>=20 >> As expected hd0 is the disk > > You should now run "root (hd0,2)" > >> grub> setup (hd =20=20 >> Possible disks are: hd0 hd1 >>=20 >> Again confirming that hd0 is a valid disk (as is hd1, but that is an >> external scsi that does not contain stage1) >>=20 >> But now comes the problem. (I want grub in the MBR.) >>=20 >> grub> setup (hd0)=20=20 >>=20 >> Error 12: Invalid device requested >>=20 >> What is wrong? > > GRUB can't find its files because you haven't told it which partition > contains them. Only the stage1 goes into the MBR, along with a pointer to > the partition that contains everything else. At Mon, 07 Jul 2008 08:47:44 +0200 Sebastian G=FCnther wrote: > * Allan Gottlieb (gottlieb@nyu.edu) [07.07.08 02:03]: >> grub> find /boot/grub/stage1 >> (hd0,2) >>=20 >> As expected hd0 is the disk >>=20 >> grub> setup (hd >> Possible disks are: hd0 hd1 >>=20 >> Again confirming that hd0 is a valid disk (as is hd1, but that is an >> external scsi that does not contain stage1) >>=20 >> But now comes the problem. (I want grub in the MBR.) >>=20 >> grub> setup (hd0) >>=20 >> What is wrong? >>=20 > maybe you just forgot: > > grub> root hd(hd0,2) > > to say grub where the stages should end up? Thank you sebastian and neil for your clear responses, which worked perfectly. allan -- gentoo-user@lists.gentoo.org mailing list