From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mtkj4-0008Va-Qe for mharc-grub-devel@gnu.org; Fri, 02 Oct 2009 12:11:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mtkj3-0008Tf-6N for grub-devel@gnu.org; Fri, 02 Oct 2009 12:11:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mtkiy-0008MS-8K for grub-devel@gnu.org; Fri, 02 Oct 2009 12:11:20 -0400 Received: from [199.232.76.173] (port=60110 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mtkix-0008MC-W9 for grub-devel@gnu.org; Fri, 02 Oct 2009 12:11:16 -0400 Received: from mail-fx0-f205.google.com ([209.85.220.205]:41831) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mtkix-0008W2-K8 for grub-devel@gnu.org; Fri, 02 Oct 2009 12:11:15 -0400 Received: by fxm1 with SMTP id 1so1122139fxm.31 for ; Fri, 02 Oct 2009 09:11:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=WqY+NFYyn9enI7RcsMnuze/Utyg+px1CHIBfyV/2kUI=; b=ilNlTSNsFK3LiiiMg7S8gclCCqKtIuGkRAcOB09bP/DTofZztOwJ0G9FAnnE2scn24 xUF4uV0kwWIqc7Ubvps7usGJ/dJvCoeNGNwxVOJdWS2ThfQvo4t/wbI4hjycaSfk+1cB +j9+yonzzjSgC7ZXPz93rtjJxwLgbcipWIwDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=uIJRg+NfD8p3ojC5p8BuEe/G7EBHfEsZIza7bzQXG+9f7dTYLmLupv8IeV+VKvDyqJ 1vwCqgndq8S+5b/XlBbrGOsR61SP9Bbm/eYD8QsUHz7IfHWLFnjo1LCtK0MnItqYv9+0 pMmTBOG4Q4EZdPdld0lmpxChOk0P8gJn1tRrM= Received: by 10.204.34.9 with SMTP id j9mr1365635bkd.10.1254499874387; Fri, 02 Oct 2009 09:11:14 -0700 (PDT) Received: from ?192.168.1.41? (84-74-45-8.dclient.hispeed.ch [84.74.45.8]) by mx.google.com with ESMTPS id 10sm68719eyd.37.2009.10.02.09.11.10 (version=SSLv3 cipher=RC4-MD5); Fri, 02 Oct 2009 09:11:11 -0700 (PDT) Message-ID: <4AC6261D.2040201@gmail.com> Date: Fri, 02 Oct 2009 18:11:09 +0200 From: Christoph Mathys User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: grub-devel@gnu.org References: <4AC51F54.1000701@gmail.com> <1254474950.5615.2.camel@fz.local> In-Reply-To: <1254474950.5615.2.camel@fz.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: grub_prefix seems wrong for separate /boot partition 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: Fri, 02 Oct 2009 16:11:21 -0000 Felix Zielcke wrote: > Am Donnerstag, den 01.10.2009, 23:29 +0200 schrieb Christoph Mathys: >> Maybe grub_prefix should be setable on the command line of grub-install? >> Or some other bad mistake on my part because of scoping the amount of >> documentation I read using google? > > It should be never needed to change grub-install to fix this. > If /boot is a seperate partition then the prefix gets just /grub. > If not then it's a bug. And in that case the generated grub.cfg has the > same problem. > This is actually impossible that only grub-install but not grub-mkconfig > was affected in your case. They use both the same function to make it > relative to the root. > Did you run grub-install again after you mounted your /boot or did you > just copy the files? I guess I just copied the files. You are right, mounting boot and running the following commands results in the correct configuration without twiddling on the scripts: 'grub-install /dev/hda' 'grub-mkconfig -o /boot/grub/grub.cfg' Thanks for the pointer! Christoph