grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH RESEND] grub-install: force journal draining to ensure data i


From: Pascal Hambourg
Subject: Re: [PATCH RESEND] grub-install: force journal draining to ensure data integrity
Date: Tue, 21 Jan 2025 07:41:03 +0100
User-agent: Mozilla Thunderbird

Le 21/01/2025 à 07:25, Michael Chang via Grub-devel a écrit :
In XFS, the system would end up in unbootable state if an abrupt power
off after grub-install is occuring. It can be easily reproduced with.

   grub-install /dev/vda; reboot -f

The grub error would show many different kinds of corruption in
filesystem and the problem boils down to incompleted journal transaction
which would leave pending writes behind in the on-disk journal. It is
therefore necessary to recover the system via re-mounting the filesystem
from linux system that all pending journal log can be replayed.

Doesn't it also happen after the update of any files GRUB reads, such as grub.cfg, kernel images or initrds ?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]