[Bug 1051280] Re: reboot into grub prompt after system update
Phillip Susi
psusi at ubuntu.com
Thu Dec 20 21:05:13 UTC 2012
reboot -f does *not* flush the disk caches, thus what you just wrote (
grub ) is lost. This is like complaining there is a bug because you ran
rm -rf / and successfully deleted all of your files. There are many
things you shouldn't do including yanking out the drive while it is in
use and dropping it on the floor, but you won't find warnings not to do
such things in manuals.
Passing -f to the reboot command is the equivalent to yanking out the
power cord. Don't do that.
** Changed in: grub2 (Ubuntu)
Status: Confirmed => Invalid
--
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/1051280
Title:
reboot into grub prompt after system update
Status in “grub2” package in Ubuntu:
Invalid
Bug description:
Every time I do a system update, the alter reboot ends-up into a grub
prompt like if grub configuration was not available.
I first tought that this was only happening when upgrading the kernel
but no, it does also happend at other times as well. I don't know
what package it is related to, I presume it's a grub2 problem invoke
by another package needing to call update-grub but can't tell yet?
It started doing this around 1-2 months ago durring early snapshots
of 12.10 (upgraded from 12.04 to it). This morning i noticed the
upgrade to grub2 and i was hoping this would be fixed but no, it
happend again.
In order to fix the problem I use the live DVD from where I CTRL-ALT-F1 into command prompt then:
I mount my / partition
mount -t xfs /dev/sda3 /mnt
mount everything else required for update-grub2:
mount -o bind /dev /mnt/dev
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
Then update grub:
update-grub2
Note that a the last 2-3 updates (of more than 100+ packages) I
manually invoked update-grub2 right after, with no result beside
getting a grub prompt at reboot. Other cases (where I would not be
invoking manual grub update after reboot) there would be a proper grub
greeter with choices but the kernel would panic at boot time...
although this kernel had not been updated in days?!?!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1051280/+subscriptions
More information about the foundations-bugs
mailing list