[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Root symlink to /boot/vmlinuz

On Fri, Mar 01, 2002 at 08:29:47PM -0800, Craig Dickson wrote:
| Dumb question: why does Debian like to have a symlink, /vmlinuz,
| pointing to the kernel image in /boot? Does some program depend on being
| able to find the kernel at /vmlinuz? Would something break if I simply
| deleted this symlink?

For people who aren't like you, that keeps it simple to tell them the
name of the kernel.  It also means the boot loader's config doesn't
need to change when a new kernel is installed (assuming, of course,
the new one works).

| I ask because I install kernels by hand, and I use a naming scheme for
| my kernels that tells me what they are and when they were built, e.g.
| vmlinuz-2.4.18-ac2-020226 is a 26 Feb 2002 build of 2.4.18-ac2. This
| means I have to go change the /vmlinuz symlink every time I install a
| new kernel, and I'm wondering if I can safely just delete the link and
| never bother with it again.

Remove the existing symlink and create /etc/kernel-img.conf with the
following contents :
# create symbolic links in / ?
do_symlinks = No

to prevent kernel-image packages from (re)creating that symlink every



One man gives freely, yet gains even more;
another withholds unduly, but comes to poverty.
        Proverbs 11:24

Reply to: