u should use some steps to complet and fix ur problem look u should do thats steps:
Verify the Boot Order: Ensure that your computer's BIOS or UEFI is set to boot from the correct drive where you have installed Linux. Sometimes, the boot order might need adjustment to prioritize the drive with the Linux installation.
Check Bootloader Installation: During the Linux installation, a bootloader (usually GRUB) should be installed to manage the OS selection at startup. It's possible that the bootloader wasn't installed correctly or is pointing to the wrong partition.
Recheck the Installation: If the Linux files were extracted successfully, it's essential to confirm that the installation process completed without any errors or warnings. Try reinstalling Linux on the second partition and pay close attention to any error messages during the installation process.
Check Partition Table: Ensure that the partition table on your HDD is properly set up to accommodate the Linux installation. Make sure that the partition you are installing Linux on is set as a bootable partition.
UEFI vs. Legacy BIOS: If your computer uses UEFI, you might need to ensure that the Linux installation supports UEFI boot. Some older systems use Legacy BIOS, and in such cases, you should enable Legacy BIOS support in your system settings.
Secure Boot: If you are using UEFI and Secure Boot is enabled, it might prevent the installation of an unsigned bootloader or operating system. You may need to disable Secure Boot temporarily during the installation.
Use Boot Repair: If you are using a Linux distribution like Ubuntu, you can use the "Boot-Repair" tool to attempt to fix common boot issues. You can create a "Boot-Repair" live USB or CD, boot from it, and follow the instructions to repair the bootloader.
Grub Rescue: If you encounter a "Grub Rescue" prompt on startup, it might indicate a problem with the bootloader. You can try to manually set the correct boot partition from the Grub Rescue prompt.
If you're still having trouble after trying these steps, it might be helpful to provide more details about your specific setup, including the Linux distribution you're trying to install and any error messages you encounter during the process. That way, we can offer more targeted assistance.