New grub version needs testing

Ernst Persson ernstp at gmail.com
Sun Aug 21 23:18:22 CDT 2005


Boot from the install cd.
Answer all questions about languages and configure your network.
Switch to the console on screen 2.

mkdir /mnt
mount /dev/ubuntu /mnt
mount -t proc none /mnt/proc
chroot /mnt /bin/bash
mount /dev/boot /boot
apt-get update
apt-get upgrade
grub-install /dev/whatever
grub --no-floppy
    root (hd0,X)
    setup (hd0)

Yeah, that should do the trick for an unbootable system without having
to reinstall Ubuntu.
Good luck!

//ernst

2005/8/22, handaxe <dlist at ubuntuforums.org>:
> 
> This one did me in too.  As I do not have an old Hoary partition at
> hand, how do I re-enable GRUB or does GRUB require an update first? If
> the 2nd, how to do.
> 
> Thanks
> 
> Pete Shinners Wrote:
> > Matthew Garrett <mjg59 <at> srcf.ucam.org> writes:
> > > grub_0.95+cvs20040624-17ubuntu5 has just been uploaded and should hit
> >
> > > the archive soon. It contains a change to the stage 1 bootloader code
> >
> > > that will result in grub attempting to recover from situations where
> > the
> > > BIOS doesn't provide a boot device. This code /should/ only ever
> > trigger
> > > when boot would otherwise have failed anyway, but if people could try
> >
> > > reinstalling grub (you need to do grub-install /dev/hda or whatever)
> > and
> > > ensuring that their system still boots, that would be great. Don't
> > worry
> > > about letting us know that it works, but if it doesn't please file a
> > > bug.
> >
> > My encounter with the new grub was disastrous. I've filed a bug with
> > more of the
> > details, but in case anyone else encounters problems, here's what I had
> > to do.
> >
> > The only way to get this resolved was with a spare linux rescue cd. I
> > reinstalled grub and pointed its root to the old Hoary partition I
> > still have
> > active.
> >
> > The problem was a locked up machine at boot time,
> > http://bugzilla.ubuntu.com/show_bug.cgi?id=13910
> >
> >
> >
> > --
> > ubuntu-devel mailing list
> > ubuntu-devel at lists.ubuntu.com
> > http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
> 
> 
> --
> handaxe
> 
> --
> ubuntu-devel mailing list
> ubuntu-devel at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
>



More information about the ubuntu-devel mailing list