Package: kernel-package
Version: 10.054
Severity: minor

With link_in_boot = Yes in /etc/kernel-img.conf, I ended up with symlinks like
/boot/vmlinuz -> /boot/vmlinuz-nn.yy
(sorry, that's from memory; maybe ../boot/vmlinuz-nn.yy.  The
important thing is that /boot was in the path.).

This didn't work very well for grub with /boot being a separate
partition, i.e., the system wouldn't start because the links don't
point anywhere that exists at early boot.  In the early boot sequence,
with /boot on a separate partition, the file appears to be at
/vmlinuz-nn.yy, so the link is pointing to a non-existent /boot
directory.


When I added relative_links = Yes and removed and then reinstalled the
kernel (is there a better way to force the recreation?
dpkg-reconfigure didn't do it) I ended up with 
/boot/vmlinuz -> vmlinuz-nn.yy.
My initrd symlink was similarly repaired.  I think this would have
been the best behavior even without relative_links.

I manually repaired the {vmlinuz,initrd}.old, and booting via grub
then worked.

I'm not sure if there are features of the system's history or
configuration that make my setup unusual, but it seems to me the most
likely reason for link_in_boot is that boot is a separate partition.
In that case, the symlinks should reflect that without further tuning.

Whether similar arguments apply with sufficient force to the more
general image_dest setting is less clear to me, but it might be worth
considering.



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (990, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages kernel-package depends on:
ii  dpkg                          1.13.21    package maintenance system for Deb
ii  dpkg-dev                      1.13.21    package building tools for Debian
ii  file                          4.17-3     Determines file type using "magic"
ii  gcc [c-compiler]              4:4.1.1-7  The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0.3-3    The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.1-13   The GNU C compiler
ii  gettext                       0.14.6-1   GNU Internationalization utilities
ii  make                          3.81-2     The GNU version of the "make" util
ii  perl                          5.8.8-6.1  Larry Wall's Practical Extraction 
ii  po-debconf                    1.0.5      manage translated Debconf template

Versions of packages kernel-package recommends:
ii  bzip2                        1.0.3-6     high-quality block-sorting file co
ii  libc6-dev [libc-dev]         2.3.6.ds1-4 GNU C Library: Development Librari

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to