Re: Installer sucks ! (Re: OpenBSD on VMware ESXi)

2019-05-23 Thread Otto Moerbeek
On Thu, May 23, 2019 at 08:42:05AM +, Roderick wrote:

> 
> Please, delete the cc to b...@openbsd.org in any answer.
> 
> I am now, after hours typing in the damned web console and dealing
> with the buggy installer, a little bit furious. This is definitively
> not the OpenBSD I know!
> 
> I did manage to install OpenBSD in VMWare, with the "autopartition", but I
> want a custom partition due to my spare resources. I will now do a pause to
> calm myself and then continue trying. I appreciate any hint
> and thank for it very much.

You must be doing something wrong. Since it installer surely leats you
use a custom label. But since you are not showgin waht you did and you
start insulting remarks, you won't get much help.


> My remarks:
> 
> (1) There no way to write a custom disklabel. After doing it, after giving the
> command w and leaving with x, or after leaving with q, the installer
> overwrites it with something arbitrary that may be unusable (then
> one will note it no later than when loading the sets due to error
> "cannot determine prefetch ...").OA

see above

> 
> (2) "disklabel -E" in cd65.iso puts a cpg=1 for all partitions: is that
>  correct?

yes. The cpg field is used for some redundant fs metadata these days
and will be filled in by newfs.

> 
> (4) No way to leave the disklabel as it is. I wrote one with the shell
> of cd65.iso (and cpg=1), also did nefwfs on the partitions, but
> the installer do not show the partition it anywhere. One is compelled
> to type again, and again comes the unusable arbitrary modification.

see above

> 
> (5) Auto allocaton puts partitions for X11 even if one selects
> that one will run no X11.

You can easily edit the auto label and delete partitions you do not want.

> 
> (6) No vi in cd65.iso (but at least ed).
> 
> Rodrigo
> 



Re: Installer sucks ! (Re: OpenBSD on VMware ESXi)

2019-05-23 Thread Roderick



On Thu, 23 May 2019, Otto Moerbeek wrote:


You must be doing something wrong. Since it installer surely leats you
use a custom label. But since you are not showgin waht you did and you
start insulting remarks, you won't get much help.


Excuse me, although my words was not flowers, they were no insult.
And there was no intention to insult, but it is realy nerving to deal
with this web console. I cannot even do "copy and paste" in it for
showing what I did. That is why I described it. It is sure a bug there.
As said: it is not my previous experience with OpenBSD.

There is sure a bug there:

(1) if you installed a label before, the installer does not offer
it to you.

(2) it changes the "custom label" you write in the process. Really
changes it. That can never be something else than a bug.

(3) "disklabel -E /dev/sd0" puts alway cpg=1. The installer in
the autoinstall puts numbers like 10277, 16384.

Rodrigo



Re: Installer sucks ! (Re: OpenBSD on VMware ESXi)

2019-05-23 Thread Roderick



On Thu, 23 May 2019, Arnaud BRAND wrote:


So you could try to install 6.4 to see if you have the same problems ?


Just copied bsd.rd from 6.4 in the root of the running system and
booted it. It was a litle better.

My settings to fdisk, namely change of offset from 64 to 2048, were
ignored, and so the automatic disklabel offered an offset of 64.

My settings to disklabel were this time not ignored.

I will proceed to do "fdisk -i", perhaps reinstall, perhaps not.

The changing of the offset from 64 to 2048 did help: after a "hardware
shutdown" I got again a bootable system, although a fsck is necessary.

I wonder that no one noted this bugs before: are there no new people
installing OpenBSD? Or it is a problem only with VMWare?


What ESXi version are you running ?


No idea. I must ask the hoster.


What disk controller are you showing to OpenBSD ?


sd0

Thanks
Rodrigo



Re: Installer sucks ! (Re: OpenBSD on VMware ESXi)

2019-05-23 Thread Tom Smyth
include a copy of dmesg
and you might get info about the virtual hardware / hypervisor you
are running on


On Thu, 23 May 2019 at 12:58, Roderick  wrote:

>
> On Thu, 23 May 2019, Arnaud BRAND wrote:
>
> > So you could try to install 6.4 to see if you have the same problems ?
>
> Just copied bsd.rd from 6.4 in the root of the running system and
> booted it. It was a litle better.
>
> My settings to fdisk, namely change of offset from 64 to 2048, were
> ignored, and so the automatic disklabel offered an offset of 64.
>
> My settings to disklabel were this time not ignored.
>
> I will proceed to do "fdisk -i", perhaps reinstall, perhaps not.
>
> The changing of the offset from 64 to 2048 did help: after a "hardware
> shutdown" I got again a bootable system, although a fsck is necessary.
>
> I wonder that no one noted this bugs before: are there no new people
> installing OpenBSD? Or it is a problem only with VMWare?
>
> > What ESXi version are you running ?
>
> No idea. I must ask the hoster.
>
> > What disk controller are you showing to OpenBSD ?
>
> sd0
>
> Thanks
> Rodrigo
>
>

-- 
Kindest regards,
Tom Smyth.


Re: Installer sucks ! (Re: OpenBSD on VMware ESXi)

2019-05-23 Thread Arnaud BRAND

The web console copy/paste functionnality is a VMWare limitation.
I don't think it ever worked.
It think would require the console to emulate/simulate key presses
depending on what is pasted and somehow assuming what the VM keymap is.

I didn't try to install 6.5 on ESXI yet, but I definitely installed 6.4.
On a lot of ESXi versions from 5.5 to 6.7.
So you could try to install 6.4 to see if you have the same problems ?

Never experienced your problems, although I experienced some strange
behaviors with disklabeling (if I remember well sometimes it couldn't
install the bootloader or wouldn't boot after install).

They were resolved by :
- dropping to the shell at the start of the install
- fdisk -i 
- return to the install and proceed normally

Never tried to install a custom label on ESXi, but did it sucessfully
on virtualbox with 6.5 without any issue (not even needed to fdisk -i).

What ESXi version are you running ?
What disk controller are you showing to OpenBSD ?

AB

Le 2019-05-23 12:17, Roderick a écrit :

On Thu, 23 May 2019, Otto Moerbeek wrote:


You must be doing something wrong. Since it installer surely leats you
use a custom label. But since you are not showgin waht you did and you
start insulting remarks, you won't get much help.


Excuse me, although my words was not flowers, they were no insult.
And there was no intention to insult, but it is realy nerving to deal
with this web console. I cannot even do "copy and paste" in it for
showing what I did. That is why I described it. It is sure a bug there.
As said: it is not my previous experience with OpenBSD.

There is sure a bug there:

(1) if you installed a label before, the installer does not offer
it to you.

(2) it changes the "custom label" you write in the process. Really
changes it. That can never be something else than a bug.

(3) "disklabel -E /dev/sd0" puts alway cpg=1. The installer in
the autoinstall puts numbers like 10277, 16384.

Rodrigo




Re: Installer sucks ! (Re: OpenBSD on VMware ESXi)

2019-05-23 Thread Ian Darwin

On 5/23/19 7:51 AM, Roderick wrote:

I wonder that no one noted this bugs before: are there no new people
installing OpenBSD? Or it is a problem only with VMWare?


Yes, the fact that nobody else has run into your problem suggest that it 
might in fact be your problem. Or your provider may be doing something 
strange.


It's great that you are exploring this, and may yet find an actual 
issue, but if you just wanted hosting in a hurry and cheap, vultr.com 
offers an entry-level vhost with OpenBSD 6.5 (or half a dozen others 
including BSDs and Linuxes) already installed (or you can use any ISO to 
install from) for US$2.50/month, with console access. I'm hosting my 
secondary DNS there and have had zero issues so far, though I didn't do 
a full reinstall.