You are not logged in.
Pages: 1
I think i had that once, but can't remember the fix.
I installed my Thinkpad T460p without any flaw, but the new installation won't boot from the hdd.
I guess I misse dthe botable flag on the the boot partition, but there seems no fix with fdisk for that.
So how do I fix this from the (reduced) shell in rescue mode?
Last edited by mclien (2021-02-27 09:39:32)
Offline
If you are referring to the rescue mode available from the "Advanced options" GRUB submenu on the ISO image then you can use
# parted /dev/sdX set Y boot on
Replace X & Y with the required drive letter and partition number.
Brianna Ghey — Rest In Power
Offline
Is this something new that a boot partition needs to have a boot flag, or are you talking about an efi partition?
Offline
Well, a mix of both, I guess.
I think, I did combine 2 things incorrectly: EFi turned off in BIOS and installing with a GPT partition table. (again, btw., like my last Debian install).
I chose to turn off the EFi boot an use a mdos part table, which is working.
Offline
If you want gpt with legacy bios boot, you need a special partition for grub that is at least 1MB size, has no filesystem on it and has flag bios_grub (in gparted) or type ef02 (in gdisk). Then you get the advantage of more than four primary partitions.
Edit: Fixed what I wrote in my sleep. Thanks, HoaS!
Offline
has flags esp and boot (in gparted)
Those are the flags for an EFI system partition. A BIOS boot partition needs the "bios_grub" flag set in gparted.
EDIT: note that some machines won't boot in non-UEFI mode from a GPT disk even if a BIOS boot partition is present and holds GRUB's core.img.
Last edited by Head_on_a_Stick (2021-02-25 14:35:16)
Brianna Ghey — Rest In Power
Offline
Pages: 1