mainline kernel initrd symlink bug

Daniel J Blueman daniel at
Mon Nov 4 22:35:18 UTC 2013

There's an issue with the mainline kernels using an absolute path in
the /initrd.img symlink they create, breaking certain setups, eg PXE

# ls -l /
initrd.img -> /boot/initrd.img-3.12.0-031200-generic
initrd.img.old -> boot/initrd.img-3.11.0-12-generic
vmlinuz -> boot/vmlinuz-3.12.0-031200-generic
vmlinuz.old -> boot/vmlinuz-3.11.0-12-generic

When the TFTP server derefs the initrd.img symlink from the directory
the rootfs it is in, it fails to find the initrd.

How can I address this issue?

Many thanks,
Daniel J Blueman

More information about the kernel-team mailing list