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

Bug#387780: initramfs-tools: power cut during update-initramfs leaves system unbootable



On Wed, Sep 20, 2006 at 11:06:54AM +0200, Sven Luther wrote:
> On Wed, Sep 20, 2006 at 11:00:21AM +0200, maximilian attems wrote:
<snipp>
> > nono, not debconf please.
> 
> Why not debconf ? 

useless user intervention, useless work for translators.
not portable beyond Debian unless carefully done.
 
<snipp>
> > the idea is to backup on an update call any initramfs 
> > that is older than a certain time, lets say 6h or maybe 24h
> > thus not created while upgrading mdadm, udev, usplash, cryptsetup or
> > so together.
> 
> This will not guarantee you that you backup the right one, and doesn't work in
> coordination with the bootloaders.
> 
> > will be in 0.81 update-initramfs.
> 
> Ok, but i think it is a partial solution and misses the complete problem.

no but thanks for your pointer.
so keeping a back up wile running is a good idea, dpkg.bak.
if there exists no young .bak it will be saved there.
so powercuts are catches for block based bootloaders too and
more modern bootloaders find a .bak that has a known old state,
presumed good.

regards

-- 
maks



Reply to: