Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Need Help with Grub

  1. #1
    Join Date
    Jul 2018
    Beans
    6

    Need Help with Grub

    I'm new to Ubuntu so I'm a little unsure of how this works but...

    I have two drives in my system, hd0 (sda), an SSD with my Windows 10 installation, and hd1 (sdb), an HDD with one partition for my files that I use with Windows, and another with my Kubuntu installation. Here's the problem: Whenever I boot up my computer, I am presented with a filesystem not found error, and I get a Grub Rescue terminal. Using the "ls" command, only hd0 appears. Now, when I run diskpart from Windows, it shows that my SSD is a bootable drive, while my HDD is not. And if I check in the bios, only the SSD is a boot option. Strangely, if I press f11 as the computer boots, which takes me to a boot drive selection screen, choosing any drive will allow me to pick and boot into either OS.

    I believe the problem is that Grub is installed on the HDD, which isn't a boot drive, but messing with Grub Customizer and the terminal hasn't fixed the problem. I don't know what to try next.
    Last edited by baklou; July 29th, 2018 at 01:13 AM.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Need Help with Grub

    Welcome to the forums.

    Please install boot-repair and have it generate the boot-info. DO NOT attempt the repair. Post the URL it generates back here and please post the exact make and model of the computer. We need facts. Some vendors don't follow the EFI standards, so manual post-install steps are necessary or a mostly seamless boot. On one of my systems, I have to manually move a file under /boot/efi/EFI/ to allow grub to work as expected.

  3. #3
    Join Date
    Jul 2018
    Beans
    6

    Re: Need Help with Grub

    Here is the URL:

    http://paste.ubuntu.com/p/YSYgJyrNMb/

    The PC is custom built.

  4. #4
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Need Help with Grub

    Is it possible that Win10 is installed in EFI boot and Ubuntu is installed with legacy BIOS boot? They should both be installed in the same boot mode.

  5. #5
    Join Date
    Jul 2018
    Beans
    6

    Re: Need Help with Grub

    I used this command on Linux:

    #!/bin/bash
    [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

    and it returned BIOS.

    In Windows, it says "Legacy", which would indicate BIOS. My system uses a UEFI though when I need to access BIOS settings.

  6. #6
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Need Help with Grub

    Legacy boot is easier.

    From inside the running Ubuntu, run these commands:
    Code:
    sudo grub-install /dev/sda
    sudo update-grub
    That will just refresh the grub stuff that you already have. grub is already installed on both sda and sdb, but this won't make anything worse. I don't know if it will solve it or not, but it might. I don't think there is any harm in having grub installed on both disks. I do the same here to have a backup method to boot should the main disk, sda, die.

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

    Re: Need Help with Grub

    Change TheFu suggestion of installing grub to sda to sdb and set BIOS to boot sdb as default.
    And then with Boot-Repair or Windows repair disk install Windows boot loader to sda.

    Newer Windows will not boot from grub if it needs chkdsk which may be caused by abnomal shutdown or if Windows is hibernated or fast start up is on. And Windows will turn fast start up back on with updates. Or when you have issues booting Windows from grub, just boot Windows directly from UEFI/BIOS and make repairs, then reset to boot grub by default again.
    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
    Jul 2018
    Beans
    6

    Re: Need Help with Grub

    I have grub installed on both sda and sdb with boot-repair, and just yesterday I found an option to prioritize hd1 over hd0. It seems to be booting correctly now, but Grub Customizer doesn't work to change the appearance

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

    Re: Need Help with Grub

    I am not a fan of grub customizer. it replaces grub2's files with its own versions.
    What is it that you want to change?

    General info:
    How to: Create a Customized GRUB2 Screen that is Maintenance Free.- Cavsfan
    https://help.ubuntu.com/community/Ma...tomGrub2Screen
    Total Custom menu:
    http://ubuntuforums.org/showthread.php?t=1483827
    Using 40_custom & Custom menu
    https://help.ubuntu.com/community/Grub2/CustomMenus
    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.

  10. #10
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Need Help with Grub

    The systems I watch boot fast enough that anything shown during boot by grub doesn't matter. For servers with lots of NICs and lots of storage, I generally don't watch those boot unless there is a problem ... that usually gets traced back to systemd not handling non-trivial networks correctly.

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •