Dear Peter and all,

> I believe both should be doable using openbsd's fdisk (available I think from 
> the bsd.rd
> installer image), try escaping to the shell from the installer, possibly 
> fdisk -e and
> keep the man page handy. I *think* what I did back then was set the all parts 
> to size
> zero, except the OpenBSD part which I set to the largest the program would 
> let me.

Thank you. With this hint of yours I managed to finally find a solution.

1. I noticed that after doing with OpenBSD "fdisk -e sdx; reinit mbr", booting 
disk form SATA (no mSata 
connected) would result in a BIOS hangup. 

Here is the fdisk output of that state:

Disk: sd2       geometry: 121601/255/63 [1953525168 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
*3: A6      0   1   2 - 121600 254  63 [          64:  1953520001 ] OpenBSD

2. I then went back to the fdisk editor and changed the C/H/S size of the 
partition 3 Openbsd to the maximum values.

Disk: sd2       geometry: 121601/255/63 [1953525168 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
*3: A6      0   0   1 - 121600 254  63 [           0:  1953520065 ] OpenBSD  

3. As a result, with this disk attached vis SATA, the BIOS would no longer hang

4. I then installed OpenBSD, choosding "OpenBSD" in the partitioning step

After this step the fdisk layout looks like this:

Disk: sd2       geometry: 121601/255/63 [1953525168 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:                           
                                                                                
        
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: E8  15356  77   8 - 229721 118   4 [   246698998:  3443776305 ] <Unknown ID>
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused 

Isn't that a bit weird? The type ID is E8, Unknown?

5. On reboot, OpenBSD system boots and works fine. 

Now I don't really understand why this "hack" works.

Maybe someone has a valid explanation?

Lastly, this is just a first quick response, I haven't really tested the 
resulting
system, only logged in.

Thank you very much.

Fox

Reply via email to