From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1S1hUP-00056i-Aq for mharc-grub-devel@gnu.org; Sun, 26 Feb 2012 12:02:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1hUL-00053b-MM for grub-devel@gnu.org; Sun, 26 Feb 2012 12:02:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1hUJ-00076P-Ky for grub-devel@gnu.org; Sun, 26 Feb 2012 12:02:21 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:63481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1hUJ-00076J-E1 for grub-devel@gnu.org; Sun, 26 Feb 2012 12:02:19 -0500 Received: by eeke53 with SMTP id e53so1324094eek.0 for ; Sun, 26 Feb 2012 09:02:18 -0800 (PST) Received-SPF: pass (google.com: domain of phcoder@gmail.com designates 10.14.99.204 as permitted sender) client-ip=10.14.99.204; Authentication-Results: mr.google.com; spf=pass (google.com: domain of phcoder@gmail.com designates 10.14.99.204 as permitted sender) smtp.mail=phcoder@gmail.com; dkim=pass header.i=phcoder@gmail.com Received: from mr.google.com ([10.14.99.204]) by 10.14.99.204 with SMTP id x52mr388855eef.7.1330275738234 (num_hops = 1); Sun, 26 Feb 2012 09:02:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=yvzmGuCVugtT2Fj49BoXrprWiv6/0LkswZgOGYvalNg=; b=RqDmZoKdQNXJNw23gA5a8V/DhMfMTd+FqKVxomGMG7+ko91FpBWn/NJGxq7Q/M/Uz1 wMFlGQcoEb94YFZWoL7v3mnt0OyBHmztawVzqICcewk+ZZGEgpIrrn3ND+JSkbgz28xt OUeyjlQFTprrNYb2e10yfnT21+DbidVzj56+M= Received: by 10.14.99.204 with SMTP id x52mr300139eef.7.1330275738163; Sun, 26 Feb 2012 09:02:18 -0800 (PST) Received: from debian.x201.phnet (51-234.197-178.cust.bluewin.ch. [178.197.234.51]) by mx.google.com with ESMTPS id n17sm47226439eei.3.2012.02.26.09.02.15 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 26 Feb 2012 09:02:16 -0800 (PST) Message-ID: <4F4A6596.9040600@gmail.com> Date: Sun, 26 Feb 2012 18:02:14 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120216 Icedove/8.0 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: The submenu command shows a text-based menu when using a GFX theme. References: <1329961829.75149.YahooMailNeo@web113502.mail.gq1.yahoo.com> <4F45CD9F.7020408@gmail.com> <1330046651.95459.YahooMailNeo@web113503.mail.gq1.yahoo.com> <4F473FE2.7050301@gmail.com> <1330123849.11966.YahooMailNeo@web113501.mail.gq1.yahoo.com> <4F48174D.90800@gmail.com> <1330222728.2745.YahooMailNeo@web113509.mail.gq1.yahoo.com> <4F49FAF2.3030303@gmail.com> <1330273259.58740.YahooMailNeo@web113512.mail.gq1.yahoo.com> In-Reply-To: <1330273259.58740.YahooMailNeo@web113512.mail.gq1.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.83.41 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 17:02:22 -0000 On 26.02.2012 17:20, Towheed Mohammed wrote: > I have tested this on separate distros, including but not limited to: ArchLinux, Debian (and Debian-based distros), Slackware, Fedora, VectorLinux and openSUSE (some others I can't recall ATM), all with and without separate /boot partitions and all with GRUB 1.99 installed.. Actually, my demo theme is located in /usr/share/grub and not in /boot/grub. As it is, the fully qualified filename works as intended. Placing the themes in /usr/share/grub removes the incompatibility of having a separate /boot partition and also removes any incompatibility from some distro that use /boot/grub2 instead of /boot/grub. Then think about a separate /usr. theme files are static and have no way of knowing about adjusted for some reason directories. Moreover / and /usr may be unavailable to GRUB, e.g. it may be on NFS or encrypted. We can assume only that the $prefix with subdirectories and files needed to boot OS (in case of GNU/Linux it's Linux and initrd in /boot, other OS may have files outside /boot which may assume readable e.g. /mach_kernel for xnu). That's the reason I've adjusted grub-install to copy theme and fonts to $prefix/themes resp $prefix/fonts. -- Regards Vladimir 'φ-coder/phcoder' Serbinenko