apt-get upgrade and grub issue

stan stanb at panix.com
Thu May 6 19:25:42 UTC 2010


On Fri, May 07, 2010 at 01:32:34AM +0800, Goh Lip wrote:
> On 05/07/2010 12:58 AM, stan wrote:
> > On Thu, May 06, 2010 at 08:12:43PM +0800, Goh Lip wrote:
> >> On Thu, 6 May 2010 07:19:27 -0400
> >> stan<stanb at panix.com>  wrote:
> >>
> >>
> >>
> >>> It's a brand new plain vanila install, that I did from scratch .
> >>> So, I am assuming that the current default is grub2, right?
> >>> This machine was not upgraded, or anything like that, it was just
> >>> installed from teh CD, with all defaults, and apt-get updatetd
> >>> a time or two, and yesterday morning, when I went to do another
> >>> apt-get upgrade, I ran in to this issue.
> >>>
> >>
> >>
> >>
> >> If you have a grub rescue cd, boot into lucid and at terminal
> >> sudo update-grub
> >> sudo grub-install /dev/sda
> >>
> >>
> >> If you don't have grub rescue cd. boot livecd and follow instructions
> >> from
> >> http://grub.enbug.org/Grub2LiveCdInstallGuide
> >>
> >
> > I am still in the apt-get session, thus the system is still up. Can I just
> > bail out, and do this?
> >
> If you are still at the apt-get session,(phew, that's a long time) where 
> you answer 'no' gets you back to same prompt, what choice do you have, 
> answer 'yes'; then do not reboot yet. Do the following.
> 
> sudo apt-get install grub-pc
> sudo update-grub
> sudo grub-install /dev/sda
> 
> Stan, if the prompt replies that you have already installed, etc.., that 
> is a good thing. Then do again sudo apt-get update and sudo apt-get 
> upgrade for good measure. Then reboot.
> 
> If you face problem at this point, see my earlier message and go from there.

Thanks, that seems to have taken care of my issue. It appears that all was
actually working OK, but that was a firghtening error message, and I wnated
to be certain I did not make things worse.

Thanks for all the help.
> 
> Good luck, Stan.
> 
> 
> 3+ days for all the installations? that's heck a lot of work.

Well, it was my first installation of VirtualBox, and figuring all the in's
and outs of that, and install Windows, cloening it, and reconfiguring each
instance of it (briged networking, so the iP addresses are for each
instance).... You get the idea. I could probably replicate it in a day, now
that I know some of the answers, buit I just hate redoing somehting that I
have already done.


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?




More information about the ubuntu-users mailing list