Results 1 to 5 of 5

Thread: "Writing GRUB to Boot Device Failed" When updating to GRUB 1.99-21

  1. #1
    Join Date
    Aug 2012
    Beans
    13

    "Writing GRUB to Boot Device Failed" When updating to GRUB 1.99-21

    I just got back to my house and found that there was an update for GRUB (to 1.99-21). Since it's a GRUB update I thought "why not" and went ahead and installed it. As it was nearing the end of the installation, it brought up Debconf where it asked me which devices I wanted to install GRUB on (see Image 1). I selected The drive and partition Ubuntu is on, but when I hit next, I got what the title says (Image 2). I don't want to simply continue, because of the warning it gives. At this point, I have absolutely no idea what to do. Any amount of help would be appreciated.


    Image 1. Please note that the first drive on the list is a drive with a broken Windows installation that I now use as storage, and the bottom one is a drive also for storage. the Samsung drive is where Ubuntu resides (and below it is the partition for Ubuntu)

    Image 2. This is the results from pressing forward from Image 1.

  2. #2
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    13,215
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: "Writing GRUB to Boot Device Failed" When updating to GRUB 1.99-21

    Grub2 goes to a MBR of a disk which doesn't contain numbers (number means a partition).

    So, just select /dev/sdb, without the /dev/sdb1. Actually the error is only about sdb1 so I guess it already might have installed successfully on sdb.

    If you are booting your computer from sdb then you will see this grub menu.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

  3. #3
    Join Date
    Aug 2012
    Beans
    13

    Re: "Writing GRUB to Boot Device Failed" When updating to GRUB 1.99-21

    When I select just sdb, it brings a checkbox with "Continue without installing GRUB?".
    After posting, friend of mine told me to install grub from terminal (sudo grub-install /dev/sdb) and that worked without errors. But I'm not sure what do do about the Debconf window now.
    Last edited by Spice002; September 30th, 2012 at 12:59 AM.

  4. #4
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    13,215
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: "Writing GRUB to Boot Device Failed" When updating to GRUB 1.99-21

    If you installed grub2 on sda, just close the Denconf window. You can open it anytime anyway, with:
    sudo dpkg --reconfigure grub-pc

    You only need grub2 on one disk, and it doesn't have to be the one where ubuntu is. You have three disks, only remember where you installed it and use that disk as first boot option. That's it.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

  5. #5
    Join Date
    Aug 2012
    Beans
    13

    Re: "Writing GRUB to Boot Device Failed" When updating to GRUB 1.99-21

    Sorry, I mistyped. It was sdb (it's been a long day).
    I just went ahead and continued. Not sure why it would do that when I could install it perfectly fine from the terminal.
    Last edited by Spice002; September 30th, 2012 at 01:17 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •