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

Re: Bug#425050: initramfs-tools: Ask if we should update all initramfses

On Sun, May 20, 2007 at 09:02:04PM +0200, Mike Hommey wrote:

> That sounds to me like addressing the wrong problem. Maybe what should
> be done is that update-initramfs updates *all* the images, whatever
> happens, but a copy of the kernel and initramfs images used to boot the
> system as it is at the moment should be kept somewhere and a special
> grub/lilo/whatever item like "Last successful boot setup" should be added
> using these.

For this the modules should also be saved, but dpkg has already
overwritten them... And even if you save them, you need to patch
modprobe etc. to detect that this is a special boot and modules should
be loaded from the saved location instead of /lib/modules/<KVERS>. I
think this method would be rather fragile...


     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences

Reply to: