Results 1 to 9 of 9

Thread: GRUB/System Update Problem

  1. #1
    Join Date
    Jun 2014
    Beans
    131

    GRUB/System Update Problem

    When I log on to Ubuntu 15.10 I have a little red triangle with an exclamation mark in it. Pressing that tells me I have some issue with out of date repositories and in the drop down menu there are a few options, one of which is install updates. When I press that a new window opens called, "Upgrading System", underneath it says, "configuring grub-pc". Opening the details button shows:

    processing triggers for ureadahead (0.100.0-19) ...
    ureadahead will be profiled on next reboot
    processing triggers for systemd (225-1ubuntu9) ...
    setting up grub-pc (2.02~beta2-29) ...
    grub-install: cannot find a GRUB drive for /,. Check your device map.
    Installing for i386-pc platform.
    grub-install: cannot find a GRUB drive for /,. Check your device map.
    Installing for i386-pc platform.
    grub-install: cannot find a GRUB drive for /,. Check your device map.

    Now I did have some issue a week or so ago where I used a program to fix the boot which I suspect may be the cause of this problem.

    The PC boots up fine and everything works, I am just after a way to correct and remove this problem.

  2. #2
    Join Date
    Jun 2014
    Beans
    7,383

    Re: GRUB/System Update Problem

    I would suggest that the best way to get information is to get the boot repair iso and burn it to a CD. After booting it, you should see an option to Create BootInfo Summary. Make sure you select that and do not make any changes. You can then post a link here to the output and someone might be able to help.

  3. #3
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GRUB/System Update Problem

    The update must also include an update to grub itself and the upgrade is not being completed for the reason given. And so, the system is still recording out of date repositories because the upgrade of grub has not been completed.

    Update manager will let you de-select packages from being upgraded. That might be one way of allowing the system to complete the general update/upgrade task. It would be a temporary fix.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GRUB/System Update Problem

    Did grub originally get installed to a different drive?
    #To see what drive grub2 uses see this line - grub-pc/install_devices:
    sudo debconf-show grub-pc # for BIOS with grub-pc
    It will show drive model & serial number
    to see similar drive info
    sudo lshw -C Disk -short
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Jun 2014
    Beans
    131

    Re: GRUB/System Update Problem

    @yancek

    Contrary to what I said in my first post, all is not well as I cannot install anything without the installing grub window popping up.

    My boot partition is sda1 which is not listed as a location in that window. Does sda1 need to be mounted for boot-repair to find it, as I don't normally mount it?

    If it helps I only want to boot from sda1, not every disk.

    The link to the boot info summary is: http://paste.ubuntu.com/13998955/

    Last edited by shag00; December 14th, 2015 at 12:14 AM.

  6. #6
    Join Date
    Jun 2014
    Beans
    131

    Re: GRUB/System Update Problem

    @ oldfred

    That command gave:
    scott@scottlounge:~$ grub-pc/install_devices:
    bash: grub-pc/install_devices:: No such file or directory
    scott@scottlounge:~$ sudo debconf-show grub-pc
    [sudo] password for scott:
    grub-pc/postrm_purge_boot_grub: false
    grub-pc/install_devices:
    grub-pc/chainload_from_menu.lst: true
    grub-pc/mixed_legacy_and_grub2: true
    grub-pc/install_devices_disks_changed:
    grub-pc/timeout: 10
    grub-pc/install_devices_failed_upgrade: true
    grub-pc/kopt_extracted: false
    grub-pc/partition_description:
    grub2/device_map_regenerated:
    grub2/kfreebsd_cmdline:
    grub-pc/install_devices_empty: false
    grub2/force_efi_extra_removable: false
    grub-pc/disk_description:
    grub2/linux_cmdline:
    grub-pc/install_devices_failed: false
    grub2/linux_cmdline_default: quiet splash
    grub-pc/hidden_timeout: true
    grub2/kfreebsd_cmdline_default: quiet splash
    scott@scottlounge:~$

    and

    scott@scottlounge:~$ sudo lshw -C Disk -short
    H/W path Device Class Description
    ================================================== ====
    /0/2/0.0.0 /dev/sda disk 120GB INTEL SSDSC2CW12
    /0/3/0.0.0 /dev/sdb disk 4TB ST4000DM000-1F21
    /0/4/0.0.0 /dev/sdk disk 2TB ST2000DL003-9VT1
    /0/5/0.0.0 /dev/sdl disk 4TB WDC WD40EZRX-00S
    /0/6/0.0.0 /dev/sdm disk 2TB ST2000DM001-9YN1
    /0/7/0.0.0 /dev/sdn disk 4TB WDC WD40EFRX-68W
    /0/9/0.0.0 /dev/sdc disk 4TB ST4000DM000-1F21
    /0/a/0.0.0 /dev/sdd disk 4TB ST4000DM000-1F21
    /0/b/0.0.0 /dev/sde disk 4TB ST4000DM000-1F21
    /0/c/0.0.0 /dev/sdf disk 4TB ST4000DM000-1F21
    /0/d/0.0.0 /dev/sdg disk 4TB WDC WD40EZRX-00S
    /0/e/0.0.0 /dev/sdh disk 4TB WDC WD40EFRX-68W
    /0/f/0.0.0 /dev/sdi disk 4TB WDC WD40EZRX-00S
    /0/10/0.0.0 /dev/sdj disk 4TB WDC WD40EZRX-22S

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GRUB/System Update Problem

    grub-pc/install_devices:

    That says grub is not installed to any drive.

    You do not install the grub2 boot loader to a partition. You only install it to the MBR of the Ubuntu drive.
    And Boot-Repair's default is to install to every drive, for those users who do not know which drive is the boot drive in BIOS. But with multiple drives you only want the advanced options, choose Ubuntu install and sda (drive) not any partition like sda1.

    I use gpt on all new or totally repartitioned drives since 10.10. But for BIOS boot a gpt partitioned drive has to have a tiny 1 or 2MB unformatted partition with bios_grub flag to install correctly to MBR.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Jun 2014
    Beans
    131

    Re: GRUB/System Update Problem

    I was under the impression GRUB was needed to boot the PC but as its boots up that's obviously not the case which begs the question, is GRUB necessary if I only have 1 OS installed?

    Assuming it's not needed how do I stop the program (grub-pc pagkage) from trying to install even after a reboot?

    I think the problem is solved thanks to the replies here and this thread: http://ubuntuforums.org/showthread.php?t=1593193, as I don't have the red triangle and can install software.
    Last edited by shag00; December 14th, 2015 at 05:13 AM.

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GRUB/System Update Problem

    Grub is the Ubuntu standard boot loader. You have to have some boot loader to start system.

    But if you only have one system, grub menu will not normally appear & you can set timeout down. I do not suggest 0 seconds as there may be a time you need to get into menu for recovery or repair.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

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
  •