Results 1 to 3 of 3

Thread: GRUB2 installation query

  1. #1
    Join Date
    Nov 2010
    Beans
    12

    GRUB2 installation query

    I am currently writing a script for work which commissions two partitions (the first is a recovery envrionment, the second being the main OS with propitiatory software installed) and I have come to the final process, GRUB2 installation.

    I basically have it working but the tutorials I have found specify that I should mount /dev, /proc and /sys before running grub-install. I have tried it without and the boot menu is seemingly restored correctly.

    I'd like to understand this process further. Would someone please explain why the three mount points above are required?

    Thanks.

  2. #2
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    6,769
    Distro
    Ubuntu Development Release

    Re: GRUB2 installation query

    The best help that I can give is to direct you to the official Grub manual.

    http://www.gnu.org/software/grub/manual/

    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


  3. #3
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GRUB2 installation query

    There is the quick two line reinstall of grub2's boot loader to the MBR and the full chroot.
    I think the quick works if the liveCD you use is the same version, any version a lot different or a full reinstall of grub2 not just grub to MBR requires the full chroot.

    RestoreUbuntu/XP/Vista/7Bootloader & Windows 8 (not UEFI)
    https://help.ubuntu.com/community/Re...ta/7Bootloader
    https://help.ubuntu.com/community/Grub2#Reinstalling from LiveCD

    Gui, Terminal & alternate install CD rescue grub repair
    https://help.ubuntu.com/community/Re...tallingWindows


    chroot & grub uninstall & reinstall -drs305
    http://ubuntuforums.org/showthread.php?t=1581099
    Oldfred on vacation. Back Sept 9. Will not have much if any Internet access.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread 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
  •