[Not Solved] Need help with Bootloader

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
lagagnon

Re: Need help with Bootloader

Post by lagagnon »

fstath wrote:....I had issues with windows....
That is par for the course. :wink:
Windows assumes it is "the only kid on the block" and tends to readily bugger-up the bootloader table.

If I were you I would insert the Live LinuxMint CD, open a terminal, then try "sudo grub-install /dev/sda". That should rewrite grub to your hard drive and find your OS's.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
lagagnon

Re: Need help with Bootloader

Post by lagagnon »

Ahhh, OK, I see you have sda1 as an extended partition - it is not normally done this way - that is abnormal partitioning. sd1,2 and 3 are usually primary partitions and sda4 is the extended partition. Also you have the Windows partition (/dev/sda2) as the "boot" partition (see the flag column). So go into gparted again from the Live CD, remove the boot flag from sda2 and make sda5 the bootable partition. Then reboot the computer and go back into the Live CD and type:

sudo grub-install /dev/sda5


hopefully that will work for you, but maybe not because your extended partition is in the wrong place.
lagagnon

Re: [Not Solved] Need help with Bootloader

Post by lagagnon »

OK, my error, I missed the necessary mounting step:

1) boot from Live CD again
2) open gparted and make sure sda5 is a bootable partition (change the flag)
3) open a terminal
3) sudo mount /dev/sda5 /mnt
4) sudo grub-install --root-directory=/mnt hd0


that should do it, but I still hate your partitioning scheme ! 8)
User avatar
atlef
Level 4
Level 4
Posts: 306
Joined: Sun Nov 18, 2007 8:20 am
Location: Stavanger NORWAY

Re: [Not Solved] Need help with Bootloader

Post by atlef »

Try this tutorial, and do not worry, it works with Mint as well.

atlef.
Locked

Return to “Installation & Boot”