From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JNh7b-0000nd-R4 for mharc-grub-devel@gnu.org; Fri, 08 Feb 2008 23:15:23 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNh7Z-0000jq-Ge for grub-devel@gnu.org; Fri, 08 Feb 2008 23:15:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNh7Y-0000i8-Dc for grub-devel@gnu.org; Fri, 08 Feb 2008 23:15:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNh7Y-0000hu-7T for grub-devel@gnu.org; Fri, 08 Feb 2008 23:15:20 -0500 Received: from qmta10.westchester.pa.mail.comcast.net ([76.96.62.17]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNh7Y-0007p6-3I for grub-devel@gnu.org; Fri, 08 Feb 2008 23:15:20 -0500 Received: from OMTA04.westchester.pa.mail.comcast.net ([76.96.62.35]) by QMTA10.westchester.pa.mail.comcast.net with comcast id n1b71Y0040ldTLk5A0jJ00; Sat, 09 Feb 2008 04:15:00 +0000 Received: from [192.168.15.201] ([68.61.16.43]) by OMTA04.westchester.pa.mail.comcast.net with comcast id nGFF1Y0030vkq983Q00000; Sat, 09 Feb 2008 04:15:15 +0000 X-Authority-Analysis: v=1.0 c=1 a=_P-fUE5obo4A:10 a=wcMntn-gnJua1Je3B8AA:9 a=1YgNQmZ_ahDfCw_UrTuzjWlRYwgA:4 a=M3PvEdNFSBYA:10 Message-ID: <47AD28D3.9020709@comcast.net> Date: Fri, 08 Feb 2008 23:15:15 -0500 From: George Lengel User-Agent: Mozilla-Thunderbird 2.0.0.6 (X11/20071009) MIME-Version: 1.0 To: The development of GRUB 2 References: <47A4E372.2050000@comcast.net> <20080203151843.GA1863@thorin> <200802031753.23905.okuji@enbug.org> <200802032255.36171.okuji@enbug.org> In-Reply-To: <200802032255.36171.okuji@enbug.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: root seems to be incorrectly set after install (patch works) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2008 04:15:22 -0000 >> I have looked at this problem deeply, and I think the following changes >> would be required: >> >> - A variable to specify where grub.cfg and modules are present. Currently, >> we have it only for a prefix without a drive. So grub_root_drive or >> something must be added. It could be added to kern/i386/pc/startup.S, but >> boot/i386/pc/boot.S might be more appropriate (if there is space large >> enough). >> >> - grub-setup must handle a root drive independently, of a boot drive or an >> embedding drive. >> >> - kern/i386/pc/init.c must be modified accordingly. >> >> The scinarii would be the following: >> >> - If a core image is embedded, and a grub directory is in the same drive, >> all drives should be set to -1, thus a boot drive passed by BIOS or another >> boot loader will be used. >> >> - If a core image is embedded, and a grub directory is in a different >> drive, a root drive must be explicitly set by grub-setup. The other drives >> will be set by BIOS or another boot loader. >> >> - If a core image is not embedded, and it is in the same drive, the same as >> the first example. >> >> - If a core image is not embedded, and it is in a different drive, an >> embedding drive is identical to a root drive, and must be set explicitly by >> grub-setup. >> >> I am planning to fix it myself, but if I look too slow, please feel free to >> fix it instead of me. >> > > I think I have fixed it. Please test it, if you can. > Hello, I pulled the latest source from CVS tonight and after compiling and installing, it looks like your patch works! I no longer was dropped into rescue mode and my system booted. I did encounter one problem. My screen is corrupted and the menu is unreadable. Grub is loading the menu correctly and if I wait for the timeout, everything boots fine. This is not a problem unless at some point I need to read the screen. :)