Re: EFI: Booting from other (not the first) GPT partition possible? How? It's an Apple :-O

2015-11-20 Thread Gonzalo L. Rodriguez
Oh yes, so then on 8,2 still you can boot legacy, on 12,1 you don't :(

Enviado desde mi tostadora de mano

> El 19 nov 2015, a las 15:53, Marc  escribió:
>
> Thank you Gonzalo.
>
> Just to make sure we are talking about the same thing:
>
> I was already able to boot OpenBSD in BIOS legacy mode.
>
> What I want to achieve is booting OpenBSD current with the new EFI OpenBSD
boot loader.
>
> Are you sure that following the tutorial you mentioned can be of any help to
do this?
>
> I will be happy to get enlightened if I am just missing the point. :)
>
> Regards
> Marcel
>
>> Hello,
>>
>> I'm kinda at the same step, but in a macbookpro12,1
>>
>> I resize my OSX partition, burn a install58.fs on a usb stick, boot
>> holding ALT, install OpenBSD on the part of resize partition, and then
>> follow jcs@ tutorial:
>>
>> https://gist.github.com/jcs/5573685
>>
>> Now, "El Capitan" have like a 'Secure Level' thing that you can do the
>> step Mac OS X Encryption -> 3-6. So, you need to boot on Rescue Mode and
>> disable this new protection from the console on rescue mode:
>>
>> # csrutil disable
>>
>> Then reboot, and try the "Mac OS X Encryption" step. Install refind and
>> cross your fingers :)
>>
>>
>> On 16/11, Marcel Timm wrote:
>> ; Hi there,
>> ;
>> ; one thing I would like to try is to boot from created OpenBSD EFI USB
stick
>> ; with
>> ;
>> ; boot -a
>> ;
>> ; and enter the OpenBSD's root partition on the HD.
>> ;
>> ; Unfortunately neither the MacBook Pro 8,2 's integrated
>> ; nor an external USB keyboard work at the prompt where to enter the
>> ; root device's location. :(
>> ;
>> ; Is there another way of telling the kernel which root device to use
>> ; (maybe at boot's prompt - although I haven't found anything in man
page..)?
>> ;
>> ; If this seems to be a XY question to you, I am happy about other
proposals.
>> ;
>> ; Greetings
>> ; Marcel
>> ;
>> ; On 11.11.2015 16:01, Marcel Timm wrote:
>> ; >Hello!
>> ; >
>> ; >My computer is a MacBook Pro 8,2.
>> ; >
>> ; >There is a GPT on the HD (big surprise!) with four partitions,
>> ; >the last one being of type OpenBSD.
>> ; >
>> ; >I managed to put a recent OpenBSD 5.8 snapshot there
>> ; >by booting and installing from an USB stick via EFI created like that
(in
>> ; >OSX):
>> ; >
>> ; >dd if=~/install58.fs of=/dev/rdisk2 bs=1m
>> ; >
>> ; >After installing rEFInd 0.9.2 and putting OpenBSD 5.8 snapshot's
>> ; >BOOTX64.EFI file
>> ; >to the MacBook's EFI partition the rEFInd boot manager shows the
OpenBSD
>> ; >EFI option.
>> ; >
>> ; >Selecting that OpenBSD entry starts the boot programm showing hd0 hd1
hd2
>> ; >and hd3.
>> ; >
>> ; >Is it possible to boot my "EFI OpenBSD installation" from here?
>> ; >If so, how to proceed?
>> ; >
>> ; >I already played with
>> ; >
>> ; >set device hd0d
>> ; >
>> ; >etc. - but it did not work.
>> ; >
>> ; >I will gladly share more details, if of any help.
>> ; >
>> ; >Thanks in advance!
>> ; >
>> ; >Marcel
>> ;
>>
>> --
>> Sending from my toaster.



Re: EFI: Booting from other (not the first) GPT partition possible? How? It's an Apple :-O

2015-11-19 Thread Marc
Thank you Gonzalo.

Just to make sure we are talking about the same thing:

I was already able to boot OpenBSD in BIOS legacy mode.

What I want to achieve is booting OpenBSD current with the new EFI OpenBSD boot 
loader.

Are you sure that following the tutorial you mentioned can be of any help to do 
this?

I will be happy to get enlightened if I am just missing the point. :)

Regards
Marcel

> Hello,
> 
> I'm kinda at the same step, but in a macbookpro12,1
> 
> I resize my OSX partition, burn a install58.fs on a usb stick, boot 
> holding ALT, install OpenBSD on the part of resize partition, and then 
> follow jcs@ tutorial:
> 
> https://gist.github.com/jcs/5573685
> 
> Now, "El Capitan" have like a 'Secure Level' thing that you can do the 
> step Mac OS X Encryption -> 3-6. So, you need to boot on Rescue Mode and 
> disable this new protection from the console on rescue mode:
> 
> # csrutil disable
> 
> Then reboot, and try the "Mac OS X Encryption" step. Install refind and 
> cross your fingers :)
> 
> 
> On 16/11, Marcel Timm wrote:
> ; Hi there,
> ; 
> ; one thing I would like to try is to boot from created OpenBSD EFI USB stick
> ; with
> ; 
> ; boot -a
> ; 
> ; and enter the OpenBSD's root partition on the HD.
> ; 
> ; Unfortunately neither the MacBook Pro 8,2 's integrated
> ; nor an external USB keyboard work at the prompt where to enter the
> ; root device's location. :(
> ; 
> ; Is there another way of telling the kernel which root device to use
> ; (maybe at boot's prompt - although I haven't found anything in man page..)?
> ; 
> ; If this seems to be a XY question to you, I am happy about other proposals.
> ; 
> ; Greetings
> ; Marcel
> ; 
> ; On 11.11.2015 16:01, Marcel Timm wrote:
> ; >Hello!
> ; >
> ; >My computer is a MacBook Pro 8,2.
> ; >
> ; >There is a GPT on the HD (big surprise!) with four partitions,
> ; >the last one being of type OpenBSD.
> ; >
> ; >I managed to put a recent OpenBSD 5.8 snapshot there
> ; >by booting and installing from an USB stick via EFI created like that (in
> ; >OSX):
> ; >
> ; >dd if=~/install58.fs of=/dev/rdisk2 bs=1m
> ; >
> ; >After installing rEFInd 0.9.2 and putting OpenBSD 5.8 snapshot's
> ; >BOOTX64.EFI file
> ; >to the MacBook's EFI partition the rEFInd boot manager shows the OpenBSD
> ; >EFI option.
> ; >
> ; >Selecting that OpenBSD entry starts the boot programm showing hd0 hd1 hd2
> ; >and hd3.
> ; >
> ; >Is it possible to boot my "EFI OpenBSD installation" from here?
> ; >If so, how to proceed?
> ; >
> ; >I already played with
> ; >
> ; >set device hd0d
> ; >
> ; >etc. - but it did not work.
> ; >
> ; >I will gladly share more details, if of any help.
> ; >
> ; >Thanks in advance!
> ; >
> ; >Marcel
> ; 
> 
> -- 
> Sending from my toaster.



Re: EFI: Booting from other (not the first) GPT partition possible? How? It's an Apple :-O

2015-11-18 Thread Gonzalo L. Rodriguez
Hello,

I'm kinda at the same step, but in a macbookpro12,1

I resize my OSX partition, burn a install58.fs on a usb stick, boot 
holding ALT, install OpenBSD on the part of resize partition, and then 
follow jcs@ tutorial:

https://gist.github.com/jcs/5573685

Now, "El Capitan" have like a 'Secure Level' thing that you can do the 
step Mac OS X Encryption -> 3-6. So, you need to boot on Rescue Mode and 
disable this new protection from the console on rescue mode:

# csrutil disable

Then reboot, and try the "Mac OS X Encryption" step. Install refind and 
cross your fingers :)


On 16/11, Marcel Timm wrote:
; Hi there,
; 
; one thing I would like to try is to boot from created OpenBSD EFI USB stick
; with
; 
; boot -a
; 
; and enter the OpenBSD's root partition on the HD.
; 
; Unfortunately neither the MacBook Pro 8,2 's integrated
; nor an external USB keyboard work at the prompt where to enter the
; root device's location. :(
; 
; Is there another way of telling the kernel which root device to use
; (maybe at boot's prompt - although I haven't found anything in man page..)?
; 
; If this seems to be a XY question to you, I am happy about other proposals.
; 
; Greetings
; Marcel
; 
; On 11.11.2015 16:01, Marcel Timm wrote:
; >Hello!
; >
; >My computer is a MacBook Pro 8,2.
; >
; >There is a GPT on the HD (big surprise!) with four partitions,
; >the last one being of type OpenBSD.
; >
; >I managed to put a recent OpenBSD 5.8 snapshot there
; >by booting and installing from an USB stick via EFI created like that (in
; >OSX):
; >
; >dd if=~/install58.fs of=/dev/rdisk2 bs=1m
; >
; >After installing rEFInd 0.9.2 and putting OpenBSD 5.8 snapshot's
; >BOOTX64.EFI file
; >to the MacBook's EFI partition the rEFInd boot manager shows the OpenBSD
; >EFI option.
; >
; >Selecting that OpenBSD entry starts the boot programm showing hd0 hd1 hd2
; >and hd3.
; >
; >Is it possible to boot my "EFI OpenBSD installation" from here?
; >If so, how to proceed?
; >
; >I already played with
; >
; >set device hd0d
; >
; >etc. - but it did not work.
; >
; >I will gladly share more details, if of any help.
; >
; >Thanks in advance!
; >
; >Marcel
; 

-- 
Sending from my toaster.



Re: EFI: Booting from other (not the first) GPT partition possible? How? It's an Apple :-O

2015-11-16 Thread Marcel Timm

Hi there,

one thing I would like to try is to boot from created OpenBSD EFI USB 
stick with


boot -a

and enter the OpenBSD's root partition on the HD.

Unfortunately neither the MacBook Pro 8,2 's integrated
nor an external USB keyboard work at the prompt where to enter the
root device's location. :(

Is there another way of telling the kernel which root device to use
(maybe at boot's prompt - although I haven't found anything in man page..)?

If this seems to be a XY question to you, I am happy about other proposals.

Greetings
Marcel

On 11.11.2015 16:01, Marcel Timm wrote:

Hello!

My computer is a MacBook Pro 8,2.

There is a GPT on the HD (big surprise!) with four partitions,
the last one being of type OpenBSD.

I managed to put a recent OpenBSD 5.8 snapshot there
by booting and installing from an USB stick via EFI created like that 
(in OSX):


dd if=~/install58.fs of=/dev/rdisk2 bs=1m

After installing rEFInd 0.9.2 and putting OpenBSD 5.8 snapshot's 
BOOTX64.EFI file
to the MacBook's EFI partition the rEFInd boot manager shows the 
OpenBSD EFI option.


Selecting that OpenBSD entry starts the boot programm showing hd0 hd1 
hd2 and hd3.


Is it possible to boot my "EFI OpenBSD installation" from here?
If so, how to proceed?

I already played with

set device hd0d

etc. - but it did not work.

I will gladly share more details, if of any help.

Thanks in advance!

Marcel