Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Boot-Repair not properly recognizing partitions

  1. #11
    Join Date
    Aug 2015
    Beans
    10

    Re: Boot-Repair not properly recognizing partitions

    Thanks for the tips. I did use "something else" to delete the unformatted BIOS-Boot partition, delete the FAT32 partition, and reformat /. But still no dice. I used the live USB image to run Boot Repair and it complained about the missing BIOS-Boot partition, so I created it in GParted and Boot Repair finished the recommended repair. But I still couldn't boot from the BIOS. So I used the live USB image again, and Boot Repair complained about missing the EFI partition. I create that in GParted, but Boot Repair can't see the EFI partition. Any suggestions? I don't care about UEFI booting and I'd be happy with a legacy solution...

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

    Re: Boot-Repair not properly recognizing partitions

    You have to be consistent.

    If you want UEFI boot you must have the ESP - efi system partition.
    Or if you want BIOS you must have the bios_grub partition.

    If it still cannot see efi partition, I might delete & recreate. If it has any efi files in it back those up first. It must be FAT32 formatted and with boot flag.

    Did you run the sgdisk commands?
    sudo sgdisk -v /dev/sda
    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.

  3. #13
    Join Date
    Aug 2015
    Beans
    10

    Re: Boot-Repair not properly recognizing partitions

    Quote Originally Posted by oldfred View Post
    You have to be consistent.

    If you want UEFI boot you must have the ESP - efi system partition.
    Or if you want BIOS you must have the bios_grub partition.
    I have been told both things by Boot-Repair, so I've created both partitions.
    Quote Originally Posted by oldfred View Post
    If it still cannot see efi partition, I might delete & recreate. If it has any efi files in it back those up first. It must be FAT32 formatted and with boot flag.
    Yup. I deleted the EFI partition during the clean install, tried to boot and it wouldn't work. So I launched Boot Repair which told me to recreate it. Boot Repair still can't see the new, blank EFI partition (screenshot attached).

    Quote Originally Posted by oldfred View Post
    Did you run the sgdisk commands?
    sudo sgdisk -v /dev/sda
    Yup. It says no errors.
    Code:
    ubuntu@ubuntu:~$ sudo sgdisk -v /dev/sda
    
    No problems found. 2016656378 free sectors (961.6 GiB) available in 4
    segments, the largest of which is 2016651264 (961.6 GiB) in size.
    Attached Images Attached Images

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

    Re: Boot-Repair not properly recognizing partitions

    Boot-Repair cannot create partitions.
    And if it is updating a UEFI install it must see the ESP, or if updating BIOS on gpt partitioned drive, it must see the bios_grub partition.

    I still think it may be something related to out of sync GUID, but do not know an easy way to list or compare GUID. I thought deleting & recreating FAT32 partition may fix that?

    Do you have efi files in the ESP partition?
    If you get errors, run this:
    sudo fsck -t vfat /dev/sda5
    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. #15
    Join Date
    Aug 2015
    Beans
    10

    Re: Boot-Repair not properly recognizing partitions

    Quote Originally Posted by oldfred View Post
    Boot-Repair cannot create partitions.
    And if it is updating a UEFI install it must see the ESP, or if updating BIOS on gpt partitioned drive, it must see the bios_grub partition.

    I still think it may be something related to out of sync GUID, but do not know an easy way to list or compare GUID. I thought deleting & recreating FAT32 partition may fix that?
    Yeah, me too. I don't know why or how, but that didn't do the trick.

    Quote Originally Posted by oldfred View Post
    Do you have efi files in the ESP partition?
    Not that I know of.
    Quote Originally Posted by oldfred View Post
    If you get errors, run this:
    sudo fsck -t vfat /dev/sda5
    fsck says that a dirty bit is set and the partition may not have been unmounted properly. I tell it to fix the dirty bit, but when I run fsck again, it says the same message.

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

    Re: Boot-Repair not properly recognizing partitions

    Then delete & recreate it 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.

  7. #17
    Join Date
    Aug 2015
    Beans
    10

    Re: Boot-Repair not properly recognizing partitions

    I'm stuck in the cycle. I delete the unformatted bios_grub partition and I delete the boot FAT32 partition. I launch Boot Repair. First it says GPP detected and I have to create the unformatted bios_grub partition. So I do that in GParted and relaunch Boot Repair. Then Boot Repair says I'm missing the FAT32 partition, so I go ahead and create that in GParted and relaunch Boot Repair. Boot Repair still stays it can't find the EFI partition. There's no way out of the loop. This is a really unfortunate position and the only thing left to do is to do a complete reinstall, letting the installer take over the entire disk and restore from backups. Simply reinstalling the / partition didn't work.

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

    Re: Boot-Repair not properly recognizing partitions

    You are booting or repairing in different modes.
    If it is asking for the bios_grub then that is BIOS/CSM mode.
    If it is asking for the ESP then that is UEFI mode.
    And you need one or the other.
    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.

  9. #19
    Join Date
    Aug 2015
    Beans
    10

    Re: Boot-Repair not properly recognizing partitions

    I was using UEFI boot the whole time (though I was willing to forgo that if it would solve the issue). Boot Repair would complain about both bios_grub and ESP partitions in the same session -- that is, without rebooting. The cycle I described in post 17 would happen running Boot Repair twice in a row. So I suspect that Boot Repair was just confused. I couldn't spend any more downtime on fixing the issue, so I reinstalled and let the Ubuntu installer take over the disk. I restored my data from backups. For the record, the installer created only the ESP partition, not the bios_grub partition.

Page 2 of 2 FirstFirst 12

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
  •