Re: Where is the bootloader installed on GPT formatted disk?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 8, 2020 at 12:45 AM spike <spike@xxxxxxxxxxxxxxxxx> wrote:
Hi,

I'm installing Fedora 31 with a kickstart file that contains

bootloader --location=mbr #Same when omitting location parameter, mbr is default
zerombr
clearpart --all
part /boot/efi --fstype=efi  --size=200  --_ondisk_=sda
part /         --fstype=ext4 --size=1    --_ondisk_=sda --grow

According to the documentation (https://docs.fedoraproject.org/en-US/fedora/f31/install-guide/appendixes/Kickstart_Syntax_Reference/#sect-kickstart-commands-bootloader) this should install the bootloader to a BIOS boot partition:

"On a GPT-formatted disk, this option will install stage 1.5 of the boot loader into the BIOS boot partition."

Yes, you don't have a MBR with GPT, you should be booting with UEFI, however, if you need to BIOS boot a GPT partitioned disk, it's telling you what you need, just could use some more details.

You literally need like a 2MB (yes megabyte, not GB) BIOS_BOOT partition. I don't know how to do that in kickstart as it doesn't need a mount point, just the correct partition identifier but hope this helps anyway.

I actually do this on one of my older computers that doesn't have EFI:

Model: ATA MKNSSDRE256GB (scsi)
Disk /dev/sdc: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name       Flags
 1      1049kB  3146kB  2097kB               BIOS_GRUB  bios_grub
 2      3146kB  1052MB  1049MB  ext4                    boot, esp
 3      1052MB  256GB   255GB                           lvm

Parted calls it "bios_grub", not sure if that's universal or not.

Thanks,
Richard
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux