• OpenBSD
  • About openbsd partitioning ....

20-100 I've just made a quick test with OpenBSD 6.8 and I confirm the installation ISO fails to boot in UEFI mode.

For some reason laptops seem to do UEFI better than desktops. Tried the USB install image and USB boot?

20-100 For the 'e' slice, you're right, I've got mixed up with NetBSD, sorry.

You have slices instead of wedges on NetBSD too? (I feel like I'm discussing cakes for some reason.)

    rvp Tried the USB install image and USB boot?

    When installing on bare metal, I always use USB install images.
    I only use the ISO to create VMs.

    rvp You have slices instead of wedges on NetBSD too?

    Before hearing about NetBSD, I though wedges were just fried sliced potatoes... 😉
    That said, I just use sysinst to partition my disk, so I have whatever it creates for me.

    The visible difference between the non-working version of sysinst in NetBSD 9.1 and the working one in 9.99.75+ is a new option surprisingly (and incorrectly) labelled "Delete everything, use different partitions (not GPT)" allowing to successfully and reliably install NetBSD in any context (bare metal, VM, UEFI, legacy BIOS).

    [ The option label is incorrect because when selected, it correctly wipes the disk out (which earlier sysinst versions failed to do) and prompts you for the partition scheme to use, including GPT. ]

    • rvp replied to this.

      20-100 I just use sysinst to partition my disk, so I have whatever it creates for me.

      A mount command or dkctl wd0 listwedges will tell you what you have. If your devices start with dk then you have the newer-style wedges. If you have devices ending in a, d, ... (like OpenBSD), then you have slices.

      20-100 The visible difference between the non-working version of sysinst in NetBSD 9.1 and the working one in 9.99.75+

      Lucky you. Even the latest 9.99.77 tells me bizarre things after looking at my partition layout (the wedges are not in order--they're layed out all over the place). So I'm still installing my NetBSD manually.

      • Jay likes this.

      With an UEFI installation, I have wedges.

      Easy Peasy !
      just select custom partition press a a
      you're done you now have all your disk for root.
      There is a partition you can't touch partition C what is this for ?
      Probably its for efi causei i'm booting my pc with EFI or else openbsd doesn't work with my radeon pro for some reason.
      I guess if i try to make an openbsd "distro"" i could use fdisk to create the required partitions then copy all the files from my installation chown adding the user and i'm done ?
      I would like to create an openbsd distro with all firmware available and a graphical installer plus ready made desktop . Openbsd supports only intel and amd gpus. I'm wondering if it would work .
      When openbsd boots with amd gpu if i pull out the amd gpu and have only an intel gpu should i have to remove any settings or it would detect the intel gpu and work out of the box ?

        Sacerdos_Daemonis i suspected that :-) Where it boots efi from then ? i have booted the installation usb in efi chose gpt partition then custom where is the efi partition stored ?

        I do not KNOW where the efi files are, but I assume they are in /dev/sd0a, which is where the boot loader is. I have never had to worry about it, because I set the BIOS to legacy mode which will boot both efi and non-efi systems.

          16 days later

          Sacerdos_Daemonis About that , i want to ask you a question for some reason when i dont boot/install via efi it seems that i can't start xorg do you know why ? i don't need efi anyway. I have a Radeon Pro i have nice performance also on 60fps youtube videos similar to linux.

          I do not know why. I do not see how the boot loader would have any effect on a system after booting. If "can't start xorg" means the GUI does not load and the system returns to the TTY, create a file
          /etc/sysctl.conf
          and add machdep.allowaperture=1
          Some hardware require that addition for the kernel to access drivers. Again, I do not understand how the boot loader could affect a running system, but I am not an expert. So it is worth a try.

          I have never used uefi boot and so have never had a need to research the matter. All I can say is that many people do use uefi with OpenBSD.

            Sacerdos_Daemonis I don't know too seems strange to me i don't need any efi of course but for some reason i have no xorg without efi on my radeon pro .
            I have ported some applications that are not available on openbsd do you know if i can somehow get involved with porting ?

              chrisfromgreece I have ported some applications that are not available on openbsd do you know if i can somehow get involved with porting ?

              Very much like NetBSD, there is OpenBSD-wip ports, https://github.com/jasperla/openbsd-wip

              I don't know if it works the same way, but I'd suspect it does.