[Voyage-linux] Rebuilding Kernel and Distribution

Lee Woldanski (spam-protected)
Sun Feb 13 06:03:37 HKT 2011


Well, that gets closer.

The other problem is that the symlinks in / to /boot/vmlinuz-* and
/boot/initrd.img-* are no longer created by the make-kpkg tool.

As such, when setboot.sh runs, and creates /boot/grub/menu.lst, it is
expecting the symlinks /vmlinuz and /initrd.img. Because those are no
longer created, once you install to a CF disk or hard drive, it will
not boot (can't find the initrd.img or kernel).

I guess there are a couple solutions to this, one is to create the
symlinks manually with a hook, another option is to run update-grub in
chroot on the target to find the initrd and kernel, but that might be
a problem if you want to change the console to serial.


Lee

On Fri, Feb 11, 2011 at 1:43 AM, Kim-man 'Punky' TSE
<punkytse at punknix.com> wrote:
> Hi Lee,
>
> Strange, I followed the similar steps using the SDK and it can't be built
> either.  But my official environment, which is still Lenny, works alright.
>  The problem is that once you build a kernel deb using the SDK (or Squeeze I
> suspect), debian live doesn't trigger running update-initramfs.  So I now
> updated the 099-voyage hook and explicitly force generating the initramfs.
>  Please checkout the latest code and try.
>
> Regards,
> Punky
>

-- 
Lee Woldanski, AScT
VE7FET




More information about the Voyage-linux mailing list