Results 1 to 5 of 5

Thread: grub2 "upgrade from legacy" wants to "GRUB install devices"

  1. #1
    Join Date
    Mar 2007
    Beans
    31

    grub2 "upgrade from legacy" wants to "GRUB install devices"

    I've installed grub2 on 10.04, when I restarted I selected that option in the menu that seems to go for testing the chainloader. The system seemed to start ok, so I ran upgrade-from-grub-legacy. Now it's asking me for "GRUB install devices" and listing my hard drive (/dev/sda) and the 5 partitions on it as possible options. Which should I choose? I have Linux and ******* running on this desktop, so grub should be able to start either.

  2. #2
    Join Date
    Feb 2010
    Beans
    248

    Re: grub2 "upgrade from legacy" wants to "GRUB install devices"

    you need it in the MBR, so if you have one drive /dev/sda

    The problem some are having is when it installs into the partitions. -- UNLESS you have multiple linux distro's or a dedicated grub partition, put it in the MBR.

  3. #3
    Join Date
    Sep 2007
    Beans
    109
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: grub2 "upgrade from legacy" wants to "GRUB install devices"

    Quote Originally Posted by frantid View Post
    you need it in the MBR, so if you have one drive /dev/sda

    The problem some are having is when it installs into the partitions. -- UNLESS you have multiple linux distro's or a dedicated grub partition, put it in the MBR.
    So if I have a dedicated GRUB partition using GRUB legacy, what should I do?

    Do I need to upgrade my GRUB partition to GRUB2?

    Should I install GRUB2? If so; Where?

  4. #4
    Join Date
    Mar 2009
    Beans
    24

    Re: grub2 "upgrade from legacy" wants to "GRUB install devices"

    Quote Originally Posted by frantid View Post
    you need it in the MBR, so if you have one drive /dev/sda

    The problem some are having is when it installs into the partitions. -- UNLESS you have multiple linux distro's or a dedicated grub partition, put it in the MBR.
    i'm afraid this response is very unclear. i'm having a similar problem, and my options [on a system with only one ubuntu install] are:

    Code:
    [ ] /dev/sda (8589 MB, VBOX_HARDDISK)
    [ ] - /dev/sda5 (254 MB, /boot)
    is what you mean by 'put it in the MBR' put it outside any partition, in this case /dev/sda?

    my understanding of boot loaders is that it would have to go on the disk, outside of any partitions, as the bios wouldn't have any way of determining partitioning information to get to grub if it was at /boot, but maybe i'm wrong.

    my understanding of grub specifically is that it has at least 2 stages, stage1 that runs from the disk, and stage2 that runs from /boot. unfortunately, this doesn't help me choose which [or both] selections on the 'configuring grub-pc' screen i have before me.

    it has been years since i had to do anything with boot loaders manually, and i'm afraid my brain is a use it or lose it storage medium.
    Last edited by zeefreak; June 17th, 2011 at 03:48 PM.

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

    Re: grub2 "upgrade from legacy" wants to "GRUB install devices"

    As long as we are using BIOS and MBR(msdos) partitioning you have to install a boot loader to the MBR or first sector of the boot drive. Or sda in Linux if only one drive.

    MBR details including 2TiB limit and GPT link
    http://en.wikipedia.org/wiki/Master_boot_record
    http://en.wikipedia.org/wiki/Extended_boot_record

    Newer SATA drives have updated BIOS that let you select boot drive with BIOS, but it still has to jump to the MBR to find more code to boot. MBR is tiny so that just jumps somewhere else on drive to continue the boot process.

    This shows Vista & XP (mentions lilo at end), but shows MBR, PBR and how BIOS & MBR computers boot. Grub does not use PBR normally and grub2 highly recommends not to use PBR.

    Multibooters, Pictures here worth 1000+ words
    http://www.multibooters.co.uk/multiboot.html
    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
  •