[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: |
Christian Meyer |
Subject: |
Re: grub2: symlink on reiserfs: error: file not found |
Date: |
Tue, 26 Feb 2008 09:05:04 +0100 |
Vincent Pelletier <address@hidden> schrieb am 25.02.2008 23:58:37:
>
> Le Monday 25 February 2008 15:08:31 Bean, vous avez écrit :
> > The test file have problem, the link is pointed to /mnt/boot/test
> > instead of /boot/test.
>
> BTW, I wonder if the initial problam is similar...
> Christian: can you double-check that the symlink is consistent with its
> containing partition ?
> For example, having a partition mounted on /boot with symlinks inside it
> which
> are absolute from OS point of view will be broken from grub point of view, as
> it has no fstab notion.
> Of course, if you don't have a separate /boot partition, having an absolute
> symlink should work, and if it doesn't it's a bug.
I want grub to be independent from any OS installed:
grub1 is on hda1, grub2 on hda9.
Debians '/boot/' and '/' (containing the symlink) lives on hda3
cat /etc/fstab | grep boot
cat /etc/fstab | grep hda1
cat /etc/fstab | grep hda9
there is no entry (boot, hda1 or hda9) in (hda3)/etc/fstab
grub1 (sees it from hda1) works with symlink 'vmlinuz', grub2 (from hda9)
doesn't.
But grub2 works properly with symlink 'initrd.img' on the same partition,
created by the same Debian-script.
Booting from hda3:
ls -l /
lrwxrwxrwx 1 root root 27 2008-01-30 18:21 initrd.img ->
boot/initrd.img-2.6.18-6-k7
lrwxrwxrwx 1 root root 24 2008-01-30 18:21 vmlinuz ->
boot/vmlinuz-2.6.18-6-k7
Booting from Kanotix-Live-CD:
ls -l /media/hda3
lrwxrwxrwx 1 root root 27 2008-01-30 18:21 initrd.img ->
boot/initrd.img-2.6.18-6-k7
lrwxrwxrwx 1 root root 24 2008-01-30 18:21 vmlinuz ->
boot/vmlinuz-2.6.18-6-k7
Christian
_______________________________________
GRATIS: Movie-FLAT. Jetzt freischalten!
http://freemail.web.de/club/maxdome.htm