Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ubuntu keeps a symbol links for current vmlinuz and initrd.img, at /, but what's the point of doing so? And given that many people have their /boot on a different partition.

share|improve this question

This is for certain scripts that update (boot related actions) so they will automatically go for the newer upgraded kernel rather than the old kernel if the kernel was upgraded.

The files and the (symlinks) are needed for modules contained in the kernel during the boot process.

If you remove one or both vmlinuz and initrd.img the system you may need to re-run your boot loader [grub] because grub relies on the symlinks to continue its next process> Uncompressing Linux... Ok, booting the kernel.

To get an Idea of how the system works look here:

share|improve this answer

You can use other boot loaders without needing to use their search scripts.

Like network boot pxe syslinux. You just need to aim kernel to /vmlinuz and initrd to /initrd.img and no matter how many times you update the kernel, it will still boot.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.