Cant flag partition as bootable
I asked a few questions on here before as I was running Arch in virtualbox and for the most part had very little problems. Now I'm upgrading to installing it on an old netbook I had lying around. The problem is when creating the partitions I don't have the option in fdisk to flag sda1 as bootable. Before i would just hit a and select the partition but now I don't even have that option. Anyone can fill me in as to why?
Edit 2: I spoke to soon. The fix I thought I had didn't work. Still looking for answers
Edited 20 Jul 2016. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 1 · 100% up
- Kind
- Text
- ID
- 4tpyld
12 comments
I'd first verify it's not an EFI based system, if it is, they handle partitions entirely differently. Like cup of coffee and some wiki time differently. Quick way to tell is check the disk table type, gpt is an EFI box, msdos is a bios.
However if that's not the case, I'd advise checking into using parted or cfdisk.
so it is GPT. Which means EFI. I tried using syslinux instead but thats not working either. When I create a partition in fdisk it doesn't even ask if it is primary or extended. When I use gdisk and try to go the UEFI route I still can't find a way to make the partition bootable.
GPT doesn't necessarily mean efi, primary/extended partitions aren't really a thing on GPT, and the efi system partition gets the ESP flag, not boot.
woooh! Slow down a little bit. Why are you using fdisk? You have to use gdisk, if your hard drive has gpt. And there are no bootable flags. Also try this https://wiki.archlinux.org/index.php/EFISTUB#efibootmgr
An EFI and/or partition needs to be formatted as FAT32, have you done this first?
Yes I did. So the issue originally was that I was trying to use GRUB on a GPT system so then I tried syslinux but I guess that does'nt work either so I just spent the last hour learning how to make systemd-boot work. but I finally got it. I appreciate everyones help.
You're solving the wrong problem. The boot flag is only used by DOS/Windows, not Linux.
I guess I was just under the impression it needed on because when I installed it on virtual box I was able to flag a section as bootable. It worked flawless with grub. But moving to an actual machine changed it up a bit for me.
Even regardless of what I use to boot I just cannot set any partition as bootable unless it's nested inside an already made partition