[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub2: symlink on reiserfs: error: file not found
From: |
Bean |
Subject: |
Re: grub2: symlink on reiserfs: error: file not found |
Date: |
Mon, 25 Feb 2008 22:08:31 +0800 |
On Mon, Feb 25, 2008 at 7:57 PM, Christian Meyer <address@hidden> 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