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 1KFeBK-0006Vf-95 for garchives@archives.gentoo.org; Mon, 07 Jul 2008 00:02:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EBFAE059B; Mon, 7 Jul 2008 00:02:13 +0000 (UTC) Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.80.33]) by pigeon.gentoo.org (Postfix) with ESMTP id DFABCE059B for ; Mon, 7 Jul 2008 00:02:12 +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 m6702CJH003607 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 6 Jul 2008 20:02:12 -0400 (EDT) Received: by ajglap.localdomain (Postfix, from userid 1502) id 7269719D92F; Sun, 6 Jul 2008 20:02:08 -0400 (EDT) To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] another grub problem From: Allan Gottlieb Date: Sun, 06 Jul 2008 20:02:08 -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=us-ascii X-Archives-Salt: 7259be0d-f72a-4871-a7e7-526d3c45471f X-Archives-Hash: 21fdb3eb7a9e2effe93316b3e7302eaa The newest update of grub from 0.97-r5 to 0.97-r6 contained the *** IMPORTANT NOTE: you must run grub and install the new version's stage1 to your MBR. Until you do, stage1 and stage2 will still be the old version, but later stages will be the new version, which could cause problems such as an unbootable system. Since this is only a change in the -r, I suspect that it is not necessary to reinstall stage1, but I tried anyway and had trouble. Since I thought I repeated steps that worked before, I am asking for help/explanations. I run grub and then the following dialog. GNU GRUB version 0.97 (640K lower / 7168K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> find /boot/grub/stage1 (hd0,2) As expected hd0 is the disk grub> setup (hd Possible disks are: hd0 hd1 Again confirming that hd0 is a valid disk (as is hd1, but that is an external scsi that does not contain stage1) But now comes the problem. (I want grub in the MBR.) grub> setup (hd0) Error 12: Invalid device requested What is wrong? I should add that I am following directions for installing grub natively, which is supposed to be done using a "GRUB boot disk". I was trying it directly under gentoo, since I *think* that is what I did last time. I realize that the grub doc says that installing under the OS needs grub-install. I don't think I did this because of the somewhat frightening *Caution:* This procedure is definitely less safe, because there are several ways in which your computer can become unbootable. For example, most operating systems don't tell GRUB how to map BIOS drives to OS devices correctly--GRUB merely "guesses" the mapping. This will succeed in most cases, but not always. Therefore, GRUB provides you with a map file called the "device map", which you must fix if it is wrong. *Note Device map::, for more details. However, if that is everyone's recommendation I will of course try it. (I don't have a floppy drive. I do have a DVD+-RW, which naturally works as a CDR. So could use this if I could figure out how to use xcdroast to create it). thanks, allan -- gentoo-user@lists.gentoo.org mailing list