[opensuse-autoinstall] GPT without EFI: HowTo?
Hello, I try to install a system with GPT and grub2 without EFI. AS far as I know I need some space for the grub2 stage2 at the first place of the harddisk with the ID "bios-boot" But how can I do this via autoyast? Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
On 10/9/19 10:03 AM, Daniel Spannbauer wrote:
Hello,
I try to install a system with GPT and grub2 without EFI. AS far as I know I need some space for the grub2 stage2 at the first place of the harddisk with the ID "bios-boot"
But how can I do this via autoyast?
Specify a partition with format=false (you don't want a filesystem) and partition_id=263 (AutoYaST value for bios-boot). https://documentation.suse.com/sles/15-SP1/single-html/SLES-autoyast/#ay-par... Cheers. -- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Am 10/9/19 um 10:15 AM schrieb Ancor Gonzalez Sosa:
But how can I do this via autoyast? Specify a partition with format=false (you don't want a filesystem) and partition_id=263 (AutoYaST value for bios-boot).
https://documentation.suse.com/sles/15-SP1/single-html/SLES-autoyast/#ay-par...
Cheers.
Hello, first of all: thanks, I will try this. Where did you find the 263 for bios-boot? Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Hi Daniel, here is a xml snippet that I use for the purpose you describe: <partitioning config:type="list"> <drive> <device>/dev/sda</device> <disklabel>gpt</disklabel> <initialize config:type="boolean">true</initialize> <enable_snapshots config:type="boolean">true</enable_snapshots> <partitions config:type="list"> <partition> <!-- BIOS Grub --> <create config:type="boolean">true</create> <partition_id config:type="integer">263</partition_id> <resize config:type="boolean">false</resize> <size>8MB</size> </partition> : note: enable_snapshots config only makes sense if you are using btrfs on this device. HTH Mit freundlichen Grüßen Dr. Frieder Schmidt Principal Technical Specialist Lead Architect Infrastructure Solutions Micro Focus Nördlicher Zubringer 9-11 D-40470 Düsseldorf Mobile.: +49 (0)173 - 5876 677 Tel.: +49 (0)211 - 5632 677 Fax.: +49 (0)211 - 5632 550 e-mail: Frieder.Schmidt@microfocus.com PLEASE NOTE: This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, distribution or other use by anyone else is strictly prohibited. If you are not an intended recipient, please contact the sender and delete all copies. Thank you. Attachmate Group Germany GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 202401 (AG München)
Daniel Spannbauer <ds@marco.de> 09.10.19 14:24 >>>
Am 10/9/19 um 10:15 AM schrieb Ancor Gonzalez Sosa:
But how can I do this via autoyast? Specify a partition with format=false (you don't want a filesystem) and partition_id=263 (AutoYaST value for bios-boot).
https://documentation.suse.com/sles/15-SP1/single-html/SLES-autoyast/#ay-par...
Cheers.
Hello, first of all: thanks, I will try this. Where did you find the 263 for bios-boot? Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
On Wed, 9 Oct 2019 14:24:17 +0200 Daniel Spannbauer <ds@marco.de> wrote:
Am 10/9/19 um 10:15 AM schrieb Ancor Gonzalez Sosa:
But how can I do this via autoyast? Specify a partition with format=false (you don't want a filesystem) and partition_id=263 (AutoYaST value for bios-boot).
https://documentation.suse.com/sles/15-SP1/single-html/SLES-autoyast/#ay-par...
Cheers.
Hello,
first of all: thanks, I will try this.
Where did you find the 263 for bios-boot?
Hi, value should be specified at https://documentation.suse.com/sles/15-SP1/single-html/SLES-autoyast/#ay-par... but sadly, it is missing. So something we should improve. ( BTW we read value from source code ) Josef
Regards
Daniel
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
On Oct 9, 2019, at 3:03 AM, Daniel Spannbauer <ds@marco.de> wrote:
I try to install a system with GPT and grub2 without EFI. AS far as I know I need some space for the grub2 stage2 at the first place of the harddisk with the ID "bios-boot"
But how can I do this via autoyast?
In Leap 15.x and SLES 15, it defaults to GPT layout, even on BIOS-based systems (unless, of course, you use '<disklabel>msdos</disklabel>'). It will automatically create either an 8 MB BIOS boot partition (BIOS) or a 500 MB EFI system partition (UEFI), unless you explicitly define them. My profile only contains a root FS and swap partition, and the installer adds a BIOS boot partition or EFI system partition as needed. I did make an alternate EFI profile which defines a 16 MB ESP, just to save space on VMs, but I have never defined a BIOS boot partition. Note that this does not apply to SLES 12/Leap 42.x and earlier. To run those on UEFI, you need to define an ESP; in BIOS mode, they use msdos layout and no BIOS boot partition. Andrew Daugherity Systems Administrator II Division of Research, Texas A&M University-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (5)
-
Ancor Gonzalez Sosa
-
Andrew Daugherity
-
Daniel Spannbauer
-
Frieder Schmidt
-
Josef Reidinger