Each computer storage device is divided into non-overlapping partitions. Different partitions can contain data, or code, for totally separate operating systems on the same computer. The computer keeps persistent data about the characteristics of all partitions (e.g., their beginning and end addresses) on a special, reserved part of each storage device. That data includes the "bootable" flag; a partition needs to have this flag set to be active, that is, for its contents to be bootable. You can set a partition as active using built-in Linux commands.
Log in to the Linux computer.
Launch a command shell by clicking on the "Terminal" icon on the graphical desktop.
Elevate the shell's privileges. The specific way of performing this step depends on the Linux distribution. For instance, for Ubuntu, type the following command into the shell:
Press "Enter." Linux will prompt you for your password; enter it.
Video of the Day
Type the following command into the shell:
Replace "/dev/hdb" with the Linux name of the device where the partition is contained.
Type "a" into the active "fdisk" prompt, then press "Enter." fdisk will prompt you for the number of the partition whose bootable flag you want to set; enter it, then press "Enter."
Type "w" and press "Enter." fdisk will save your modification to the partition table and exit. At that point, your partition will have been marked as active.