[Bug 1103187] Re: automatic updates tend to reboot and die into grub rescue
Phillip Susi
psusi at ubuntu.com
Fri Jan 25 18:18:24 UTC 2013
Ok, I think I know what is going on here. Grub does not know how to
replay the XFS journal and your reboot must not be unmounting the fs,
leaving it in a damaged state. Mounting or fscking the filesystem from
a livecd replays the journal and corrects the errors.
The sync should make sure the filesystem is consistent though, so it
sounds like there is a bug in the kernel filesystem driver.
** Summary changed:
- automatic updates tend to reboot and die into grub rescue
+ xfs left inconcistent after reboot, causing grub to fail
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1103187
Title:
xfs left inconcistent after reboot, causing grub to fail
Status in “grub2” package in Ubuntu:
Triaged
Status in “linux” package in Ubuntu:
New
Bug description:
take a 12.10 with XFS root partition containing the /boot/ tree
dpkg-reconfigure grub-pc ; sync
reboot (either by command, or by menu)
diverse error messages + grub rescue + /boot/ is partially accessible
boot UBUNTU 12.10 pendrive + choose "try Ubuntu" + open a terminal
sudo -s; mkdir foo; mount [the XFS root partition] foo; umount foo
reboot into the "original" Ubuntu is NOW successful
It appears that the kernel xfs filesystem driver leaves the fs in an
inconsistent state even after a sync. That is corrected by a journal
playback done either via having the kernel mount or running fsck, but
grub does not use the xfs journal.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1103187/+subscriptions
More information about the foundations-bugs
mailing list