update-initramfs is vulnerable to power loss
Bug #197602 reported by
Adrian Moisey
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Power was lost while update-initramfs was running from a security update.
When I turned my PC on after the power loss, it wouldn't boot on any kernel (the default one and the rescue one). I had to boot a rescue CD and manually run update-initramfs.
Unfortunately I didn't take down the errors. If they are needed I can try recreate the bug.
description: | updated |
description: | updated |
description: | updated |
To post a comment you must log in.
Does update-initramfs rebuild the initramfs in place, or does it first generate it and then move it over?
If it's generated in place, it might be a better idea to first create it, and then move it over, to minimise the risk of an unpredicted power outage.