1 просмотров
Рейтинг статьи
1 звезда2 звезды3 звезды4 звезды5 звезд

Ubuntu Documentation

Ubuntu Documentation

  • Page History
  • Login to edit

Boot-Repair is a simple tool to repair frequent boot issues you may encounter in Ubuntu like when you can’t boot Ubuntu after installing Windows or another Linux distribution, or when you can’t boot Windows after installing Ubuntu, or when GRUB is not displayed anymore, some upgrade breaks GRUB, etc.

Boot-Repair lets you fix these issues with a simple click, which (generally reinstalls GRUB and) restores access to the operating systems you had installed before the issue.

Boot-Repair also has advanced options to back up table partitions, back up bootsectors, create a Boot-Info (to get help by email or forum), or change the default repair parameters: configure GRUB, add kernel options (acpi=off . ), purge GRUB, change the default OS, restore a Windows-compatible MBR, repair a broken filesystem, specify the disk where GRUB should be installed, etc.

For the purpose of helping the forum and IRC members help you diagnose issues with your boot setup, Boot-Repair (provided it has a network connection) will create a Ubuntu pastebin link for you to share that allows experienced members to see what’s wrong with your boot. Ubuntu’s Pastebin is not easily indexable or searchable, and purpose of the tool which creates this page (Boot-Info) is meant to be a very benign and helpful solution to the problem. The intention is not violate your privacy, nor is it meant to make you a target. This tool is aimed entirely at those new to Ubuntu who want to get past their booting issues and enjoy using Linux. If you’d like to, you may completely opt out of all internet usage including pastebin link generation by looking at the Advanced Options section below. Please do not use this software if this is a problem for you.

Boot-Repair is a free software, licensed under GNU-GPL.

Что означает появление сообщения No bootable partition in table?

Начнем с описания самого уведомления. Если следовать его общепринятой трактовке, оно означает, что компьютерная система не находит активный раздел или устройство, используемое для загрузки в качестве приоритетного, в котором установлена операционная система. Иными словами, BIOS не может передать управление стартом ОС загрузчику системы. Некоторые считают, что данное сообщение появляется при повреждении именно загрузочной записи на нулевой дорожке винчестера, но это не всегда так.

How to fix “invalid or damaged bootable partition table” in Windows 10/8/7?

It is common that “invalid or damaged bootable partition table” error appears when you start a computer. Don’t worry, here we provide three ways to fix this error. Firstly, check if your hardware and items are compatible, if they are compatible and doing good, just take the following methods and learn how to repair “invalid or damaged bootable partition” error.

Method 1. Change boot order

If your computer is connected to one or more external hard drive, your computer may boot from a worry one, which can lead to “invalid or damaged bootable partition table”, “ no bootable device found ” and other errors. Now, follow instructions below to change the boot order to make your computer boot from the right active drive.

Step 1. Restart your computer, and press ESC, F1, F2, F8, or F10 to Enter BIOS, and choose to enter BIOS setup.

Step 2. Use the arrow keys to select Boot tab, and select the hard drive where the operating system is.

Step 3. Press Enter or F10 to save operation and exit.

Method 2. Repair corrupted MBR

MBR (Master Boot record) is a type of boot sector at the very beginning of hard drive in computer. It contains the partition table and executable information for boot start. So corrupted MBR can lead to “invalid or damaged bootable partition” issue.

Читать еще:  Как очистить SSD диск полностью?

Then, you can choose one method to repair MBR between the 2 methods listed below.

1. Repair MBR using Command Prompt

For this method, you need to prepare an installation CD beforehand and insert it into your computer.

Step 1. Restart computer, and boot from the installation CD, and choose language and time. Then click “Next”.

Step 2. Press shift + F10 to open Command Prompt.

Step 3. Now, execute the following commands:

bootrec.exe /fixmbr

bootrec.exe /fixboot

bootrec.exe /scanos

bootrec.exe /rebuildbcd

Step 4. When it is completed, restart computer.

вњЌTips: The specific steps may slightly different, they depend on the OS and brands you are using.

2. Repair MBR with free MBR repair tool

Using Command Prompt can repair MBR, but it is a bit complicated. And some people may feel confused about how to open Command Prompt.

You can turn to a great MBR repair tool- AOMEI Partition Assistant Standard Edition . It can help you create a bootable USB drive and fix “invalid or damaged bootable partition” error without installation disc or repair disc on Windows 10/8/7. Let’s see how is the steps.

Secure Download

Step 1. Insert a USB flash drive into another computer. Install and open AOMEI Partition Assistant, and click “Make Bootable Media” on the left side of window, and click “Next”.

And follow the instruction to create a bootable USB stick . When it is finished, The AOMEI Partition Assistant will be installed on the USB.

Step 2. Now insert the USB into the computer that is with “invalid or damaged bootable partition” error. Start your computer and boot into BIOS as the Method 1. Change the USB as boot drive.

Step 3. Once your computer boot, you will see the main interface of AOMEI Partition Assistant. Then right-click the boot disk that contains a damaged MBR and select “Rebuild MBR”.

Step 4. Then choose a correct MBR type according to the operating system.

Step 5. Return to the main interface, click “Apply” and “Proceed”.

When the operation is completed, unplug the bootable USB, and restart the computer, enter the BIOS again, and change back the repaired disk as boot drive.

Method 3. Inactive partition

Only one partition should be set active. Setting two or more partitions active may result in “invalid or damaged bootable partition” error because the system couldn’t tell a right partition to boot from. Then, you can set other partitions inactive to fix this error.

Step 1. Insert an installation CD, and open the Command Prompt as method 1.

Step 2. Type and execute the following commands:

list volume (you will see which partitions are set active)

Select volume n (the volume you are going to set inactive)


вњЌNote: If there are more than 2 active partitions, you need to repeat these commands until only one active partition left.

Using BCDBoot to Manually Repair EFI Bootloader in Windows 10

Let’s move on to the procedure for manually restoring the EFI Windows bootloader on a computer with UEFI.

To repair the bootloader configuration (BCD), you have to boot from the original installation Windows 10 media (or a recovery disk or a special UEFI bootable USB flash drive). After booting into the recovery environment, you need to open a command line: select System Restore – > Troubleshoot-> Command Prompt).

In the command prompt that opens, run the disk management tool by typing the command:
Display the list of drives on the computer:
list disk

If the disk has an asterisk ( * ) in the Gpt column, then the GPT partition table is used, if not, the MBR is used.

If your disk uses a GPT partition table, follow the steps below in the instructions to repair the Windows EFI bootloader.

If you have an MBR partition table on your disk, this instruction won’t work for your computer. Most likely you have a computer with BIOS or Legacy/Compatibility Support Mode (CSM) option enabled in the UEFI settings.

On MBR disks, the Windows bootloader is stored on a separate System Reserved partition, not on an EFI partition (in any case, don’t convert the MBR partition table to GPT until you fix the Windows bootloader !!). Use another guide to restore the BCD bootloader on MBR (Master Boot Record) disk.

Читать еще:  Как добавить приложение в автозагрузку windows 10

Select the disk with Windows installed (if there is one hard disk in the system, its index should be 0):
sel disk 0
Display the list of partitions and volumes on the disk:
list partition
list volume

In this example, you can see that the EFI boot partition (it can be easily identified by the size of 100 MB, and the FAT32 file system, most often its label is System EFI) has the partition 2 index (aka Volume 5 with the Hidden label). The main partition with the installed Windows with the NTFS file system (it can be both Windows 10 and Windows 8.1) is volume 2. There must also be an MSR (Microsoft System Reserved) partition of 16 MB for Windows 10 (or 128 MB for Windows 8.1).

Assign the drive letter K: to the hidden EFI volume:
select volume 1
assign letter K:
A message that the drive letter has been successfully to the EFI partition should appear:

Close the diskpart:
Go to the bootloader directory on the hidden volume:
cd /d K:efimicrosoftboot
In this case, K: is the drive letter assigned to the EFI partition just above. If the EFIMicrosoftBoot directory is missing (error The system cannot find the path specified), try the following commands:

cd /d K:Boot
cd /d K:ESDWindowsEFIMicrosoftBoot

All of these commands are applicable only for disks with MBR. If your computer boots in UEFI mode, then it necessarily uses the GPT partition table (as in our case). Therefore, when you run bootrec commands, you will see an error: access is denied

To fix boot records on an EFI partition, you need to use the BCDBoot tool. The BCDBoot tools allows you to restore bootloader files on the system partition by copying them from the system directory on the Windows partition. The BCD bootloader configuration is recreated using the %WINDIR%System32ConfigBCD-Template file.

Use the attrib command to remove the hidden, read-only, and system attributes from the BCD file:

attrib BCD -s -h -r

Delete the current BCD configuration file by renaming it (this will keep the old boot configuration as a backup):
ren BCD BCD.bak
Using the bcdboot.exe utility, you need to recreate the BCD store by copying the UEFI boot environment files to the boot partition from the Windows directory:
bcdboot C:Windows /l en-us /s k: /f ALL

  • C:Windows – is the path to the directory with Windows 10 installed;
  • /f ALL – means that you want to copy the Windows Boot Environment files, including those for UEFI and BIOS computers (potential ability to boot in UEFI and BIOS systems). To copy only the EFI bootloader, use the /f UEFI command;
  • /l en-us — is a type of the system locale. By default, en-us – English (USA) is used;
  • /c – this is a new BCDBoot option in Windows 10 that allows you to overwrite existing boot records (including debugsettings). Use this option to ignore old boot settings and create a clean BCD configuration;
  • /v – used to enable BCDBoot verbose output.

Now, if you run the bcdedit command, you will see the following :

An entry should appear in the Windows Boot Manager section containing the full path to the UEFI boot file ( EFIMICROSOFTBOOTBOOTMGFW.EFI ). In this example, it is located on volume 2 ( partition=DeviceHarddiskVolume2 ).

  • BFSVC Error:Could not open the BCD template store. status – [c000000f] – check if the entered command is correct and whether you have a localized Windows version installed. In this case you need specify the correct local language code. The bcdboot tool copies the BCD template files from the WindowsSystem32Config directory. If the BCD templates in this folder are damaged or deleted, try to check the integrity of the system files offline using the sfc.exe tool (you need a Windows installation disc – drive D :): sfc /scanow /OFFBOOTDIR=C: /OFFWINDIR=D:WINDOWS
  • BFSVC Error: Error copying boot files from Last Error = 0x570 – try to check drive with the help of command: CHKDSK K: /F
  • BFSVC Error: Failed to set element application device. Status= [c000000bb] – check the EFI and Windows 10 partitions with chkdsk.exe . Verify that the hidden and system attribute of the BCD file is cleared. Remove it:
    attrib -s -h EFIMicrosoftBootBCD
    del EFIMicrosoftBootBCD
  • Failure when initializing library system volume – make sure you are using the correct FAT32 partition with EFI (you may have several similar partitions).
Читать еще:  Неправильное имя пользователя или пароль windows 10

Now you need to restart your computer and disconnect the bootable media. Then the Windows Boot Manager appears in the list of bootable devices, where you can choose desired operating system to boot. Your EFI bootloader and BCD configuration have been restored successfully!

Solution 4. Inactive the Wrong Partition

If more than one partition are marked as active, then the system loading process halts where it is trying to identify the correct system. At this time, you can use bootable partition manager – MiniTool Partition Wizard to get everything right.

Here is what you need to do:

Step 1. Create a bootable media using the Bootable Media feature of MiniTool Partition Wizard on a normally running computer.

Step 2. Use the bootable media to startup the computer which reports invalid partition table (you may need to change the boot sequence in BIOS).

Step 3. When you are in the main interface of MiniTool Partition Wizard, find the system disk and observe each partition status. If you find more than one active partition on the same drive, continue with Step 4. (If there is only one partition set as active, exit and continue with the next Solution.)

Step 4. Select the partition that is wrongly set as active partition and choose Set Inactive function from the action panel. Then select the partition that needs to be active and choose Set Active from the action panel. Finally, click Apply from the toolbar on the top left corner.

Now exit Partition Wizard and reboot your computer.

System partition should be active partition. If not, you can use MiniTool Partition Wizard Bootable CD to set it as active to guarantee the normal boot.

If all of the above solutions does not resolve invalid partition table Windows 10/8/7, continue with the next suggestion.

Что такое «Invalid partition table»?

Перевод «Invalid partition table» звучит как «некорректная таблица разделов», обычно обозначая ситуацию, когда система обратилась к флеш-накопителю за нужными для инсталляции данными, но из-за ряда причин не смогла это осуществить. Среди таких причин я бы отметил следующие:

  • Загрузочная флешка создана некорректно (неверно выбрана файловая система при форматировании флешки, использовано сомнительное программное обеспечение и др.);
  • Загрузочная флешка аппаратно неисправна;
  • Некорректные настройки БИОСа;
  • Используемый в компьютере БИОС устарел, и необходимо его обновление.

Изучаем причины ошибки «Invalid partition table»

Что такое «Invalid partition table»?

Перевод «Invalid partition table» звучит как «некорректная таблица разделов», обычно обозначая ситуацию, когда система обратилась к флеш-накопителю за нужными для инсталляции данными, но из-за ряда причин не смогла это осуществить. Среди таких причин я бы отметил следующие:

  • Загрузочная флешка создана некорректно (неверно выбрана файловая система при форматировании флешки, использовано сомнительное программное обеспечение и др.);
  • Загрузочная флешка аппаратно неисправна;
  • Некорректные настройки БИОСа;
  • Используемый в компьютере БИОС устарел, и необходимо его обновление.

Изучаем причины ошибки «Invalid partition table»

A bootable partition is a partition that holds the important files for the operating system to ensure the OS can start up successfully. if you receive a message- “invalid or damaged bootable partition”, it means the boot partition is corrupted, and you will not be able to boot your computer. Commonly, there are three reasons behind this error:

Boot from an incorrect partition.

Two or more partitions are set as active.

The MBR is corrupted.

Some items like motherboard, SATA port, HDD are old or incompatible.

Advanced options

* If you would like to opt-out of the paste.ubuntu.com link creation (Not recommended for inexperienced users who are seeking help from a forum or IRC member), you can. Simple click on the Advanced Options, and find the «Other Options» tab. Uncheck «Upload the report to a pastebin».

* The log may include UUIDs, LUKS headers, hex dump of your first sectors of your drives, device serial numbers, your username and more.

Ссылка на основную публикацию
Статьи c упоминанием слов: