Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JTe0V-0004Je-El for mharc-grub-devel@gnu.org; Mon, 25 Feb 2008 09:08:39 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTe0T-0004JP-JX for grub-devel@gnu.org; Mon, 25 Feb 2008 09:08:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTe0R-0004J0-Mu for grub-devel@gnu.org; Mon, 25 Feb 2008 09:08:36 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTe0R-0004Ix-Hu for grub-devel@gnu.org; Mon, 25 Feb 2008 09:08:35 -0500 Received: from ti-out-0910.google.com ([209.85.142.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JTe0R-0004HP-04 for grub-devel@gnu.org; Mon, 25 Feb 2008 09:08:35 -0500 Received: by ti-out-0910.google.com with SMTP id a20so950107tia.10 for ; Mon, 25 Feb 2008 06:08:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=5cpN33d6QmXAQGaCorixFPg2jDvWy6Wvz49jwYP/TmI=; b=kGobV2GhtL9Rxmo1RwbmT6GeAChQk0O+JxN4e5IcWX+8zqLXxFnWxn7XZrBnEfCtlpH0uzUWx5v8REu0xoRk5vXPeCVen4btE75aJTeftjQaFS3E8hNz7hEqgpFjnyPXEeywdFEueXZ8UKuSTA12b3WMN7WYjCgwrsD98bJzobk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ch2G5YthUBAqk5G+VET5F/ZK+o+HL2/DEzthuvds8BnN3bRNx0sXnbM9qD9u7MOlwEhouSnBO3Asz4xaVaxgqJs4hD9cspyItdZakaYguINo6CxuX+ZADamcf8skkliBLBCtfHdrqdakkltBfEGcLBgRXedUEhUxxeRCzqL4/ck= Received: by 10.110.86.3 with SMTP id j3mr2024536tib.9.1203948511975; Mon, 25 Feb 2008 06:08:31 -0800 (PST) Received: by 10.110.20.10 with HTTP; Mon, 25 Feb 2008 06:08:31 -0800 (PST) Message-ID: Date: Mon, 25 Feb 2008 22:08:31 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <54377369@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <54377369@web.de> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: grub2: symlink on reiserfs: error: file not found 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: Mon, 25 Feb 2008 14:08:37 -0000 On Mon, Feb 25, 2008 at 7:57 PM, Christian Meyer wrote: > >> I'm using grub-pc installed on hda9 and chainloaded from grub legacy on hda/hda1. > >> hda3 (Debian Etch) and hda9 (Debian Sid) have reiserfs (v3.6), both systems are configured to use the > >> symlinks vmlinuz and initrd.img in their root directories (linking to the actual kernel and > >> ramdisk). This works well using grub legacy from hda1 (so the symlinks are okay). > >> > >> In grub2 both partitions are recognized (ls and tab completion) as reiserfs. > >> Selecting Sid (hda9) works as expected, > >> Selecting Etch (hda3) produces the error: You need to load the ramdisk first. > >> Typing on grub commandline: linux (hd0,3)/vmlinuz makes error: file not found > >> Typing: linux (hd0,3)/boot/vmlinuz-2.6.18-6-k7 loads the kernel. > > Robert Millan asked me to produce a test case and send it to this mailinglist. > I'm not very familiar with doing so but this should work: > > echo "Testfile" >/boot/test > ln -s /boot/test /test > > The diskimage http://www.chbmeyer.de/1.reiserfs.gz has a size of 35 MB (compressed: 36kb). > "ls (hd0)/" works well > "cat (hd0)/test" produces: error: file not found > The test file have problem, the link is pointed to /mnt/boot/test instead of /boot/test. -- Bean