[Bug 1051280] Re: reboot into grub prompt after system update

Vincent Fortier 1051280 at bugs.launchpad.net
Thu Dec 20 20:29:36 UTC 2012


+1 ;)

Seriously, there is no reason why, when flushing disk cache through
reboot -f, makes grub being corrupted afterwards.

BTW, using the install CD when I do the recovery procedure i'm still
using reboot -f.  Mount options perhaps?

Although, nothing special in here...
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda3 during installation
UUID=815b5e09-bc03-402f-8272-24fc2d080dbd /               xfs     defaults        0       1
# /data was on /dev/sda7 during installation
UUID=58616A6210DDE281 /data           ntfs    defaults,umask=007,gid=46 0       0
# /home was on /dev/sda6 during installation
UUID=8361e288-8409-451a-a4a0-f27c44e718cf /home           xfs     defaults        0       2
# /windows was on /dev/sda2 during installation
UUID=BC6A79C76A797EC8 /windows        ntfs    defaults,umask=007,gid=46 0       0
# swap was on /dev/sda5 during installation
UUID=e37a449e-7a70-42a5-b179-91306ccbe1d7 none            swap    sw              0       0

-- 
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:
  Confirmed

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