Re: Convert a Linux VPS to OpenBSD

2022-06-24 Thread Étienne

On 23/06/2022 09:19, David Demelier wrote:


I think I've done it using
https://themimitoof.fr/installer-openbsd-7-0-sur-gandicloud-vps/


Great pointer! Thanks for that.

--
Étienne



Re: Convert a Linux VPS to OpenBSD

2022-06-23 Thread David Demelier
On Mon, 2022-06-20 at 16:47 +0100, Étienne wrote:
> Hello there,
> 
> This is a bit of a long shot, but I'm trying my luck: There used to
> be a 
> community thread on Scaleway's documentation website that explained
> how 
> to convert a Linux instance to an OpenBSD instance, because no
> OpenBSD 
> ISO image was available in their console. It seems that this doc 
> disappeared as their documentation section has changed format, and I 
> can't find it on archive.org either. I would like to try and apply
> the 
> same process at another VPS provider. Does anyone remember or know
> how 
> this was done, and would they be kind enough to summarise it here,
> please?
> 
> Thanks!

I've successfully installed OpenBSD on a OVH VPS (which has kvm) using
Linux's grub facility to boot an OpenBSD kernel.

I've simply dropped the bsd.rd file into /boot and added the
corresponding menu entry like (you can edit /boot/grub/grub.cfg
directly):

menuentry OpenBSD {
  kopenbsd bsd.rd
}

If the machine is using UEFI (but most VPS don't) you can even use
efibootmgr instead.

I think I've done it using
https://themimitoof.fr/installer-openbsd-7-0-sur-gandicloud-vps/

It's in french but only the grub entry is really important. If you
don't have a KVM you will need to provide an autoinstall script.

HTH

-- 
David



Re: Convert a Linux VPS to OpenBSD

2022-06-21 Thread Courtney
I have OpenBSD running well on Ramnode right now. I am guessing since 
you have been using Scaleway that you want something in Europe. I 
haven't tried their Amsterdam location, but I have been using their 
North American locations with good success. Also a good provider in 
Amsterdam is Tilaa. A bit pricier but they have great uptime and have 
OpenBSD out of the box. With Ramnode I had to create my own image. +1 
for Hetzner. Their Germany and Finland locations are good.


Courtney

On 6/21/22 05:55, Étienne wrote:

On 20/06/2022 18:11, Łukasz Moskała wrote:


$ wget -O /bsd.rd https://cdn.openbsd.org/pub/OpenBSD/7.1/amd64/bsd.rd

Reboot and enter grub shell

grub> kopenbsd /bsd.rd
grub> boot

Paths will differ if /boot is on seperate partition.


Thanks!

Or using VPS provider that actually supports openbsd could also be a 
good solution.


Thanks all for the suggestions. I'll take the opportunity to mention I 
use Vultr, they support OpenBSD very well, and I'm really happy with 
them. Sometimes though, you need an alternative. ;-)


Cheers,





Re: Convert a Linux VPS to OpenBSD

2022-06-21 Thread Étienne

On 20/06/2022 18:11, Łukasz Moskała wrote:


$ wget -O /bsd.rd https://cdn.openbsd.org/pub/OpenBSD/7.1/amd64/bsd.rd

Reboot and enter grub shell

grub> kopenbsd /bsd.rd
grub> boot

Paths will differ if /boot is on seperate partition.


Thanks!

Or using VPS provider that actually supports openbsd could also be a 
good solution.


Thanks all for the suggestions. I'll take the opportunity to mention I 
use Vultr, they support OpenBSD very well, and I'm really happy with 
them. Sometimes though, you need an alternative. ;-)


Cheers,

--
Étienne



Re: Convert a Linux VPS to OpenBSD

2022-06-21 Thread Nico Meijer

Hi!

Or using VPS provider that actually supports openbsd could also be a 
good solution.


Hetzner lets you mount an installation ISO through their web interface 
and install OpenBSD on whatever VPS you've got running.


And there's https://openbsd.amsterdam, but I've not yet used their services.

Grtz... Nico



Re: Convert a Linux VPS to OpenBSD

2022-06-20 Thread Łukasz Moskała

W dniu 20.06.2022 o 17:47, Étienne pisze:

Hello there,

This is a bit of a long shot, but I'm trying my luck: There used to be a 
community thread on Scaleway's documentation website that explained how 
to convert a Linux instance to an OpenBSD instance, because no OpenBSD 
ISO image was available in their console. It seems that this doc 
disappeared as their documentation section has changed format, and I 
can't find it on archive.org either. I would like to try and apply the 
same process at another VPS provider. Does anyone remember or know how 
this was done, and would they be kind enough to summarise it here, please?


Thanks!



$ wget -O /bsd.rd https://cdn.openbsd.org/pub/OpenBSD/7.1/amd64/bsd.rd

Reboot and enter grub shell

grub> kopenbsd /bsd.rd
grub> boot

Paths will differ if /boot is on seperate partition.


Or using VPS provider that actually supports openbsd could also be a 
good solution.


--
Łukasz Moskała



Re: Convert a Linux VPS to OpenBSD

2022-06-20 Thread Nick Holland

On 6/20/22 11:47 AM, Étienne wrote:

Hello there,

This is a bit of a long shot, but I'm trying my luck: There used to be a
community thread on Scaleway's documentation website that explained how
to convert a Linux instance to an OpenBSD instance, because no OpenBSD
ISO image was available in their console. It seems that this doc
disappeared as their documentation section has changed format, and I
can't find it on archive.org either. I would like to try and apply the
same process at another VPS provider. Does anyone remember or know how
this was done, and would they be kind enough to summarise it here, please?

Thanks!



Assuming you have console and can do your own install, perhaps doing
a Linux install and leaving a chunk of the beginning of the "disk"
unallocated, then dd the minirootXX.img over the very beginning of
the "disk", then rebooting.  This should get you into the OpenBSD
installer, assuming you actually overwrote the beginning of the
logical disk and not a Linux partition.

A hard reset or "power cycle" might work better than a reboot, as
you don't want the Linux system updating anything on the disk
partition tables after the dd is complete (if "reboot" even works
at that point).

However, you might want to think long and hard about committing to
a VPS that doesn't actively support the OS you wish to install.  What
works today may faceplant tomorrow and they may not care at all to
fix it for you.

Nick.



Re: Convert a Linux VPS to OpenBSD

2022-06-20 Thread Sven F.
On Mon, Jun 20, 2022 at 11:54 AM Étienne 
wrote:

> Hello there,
>
> This is a bit of a long shot, but I'm trying my luck: There used to be a
> community thread on Scaleway's documentation website that explained how
> to convert a Linux instance to an OpenBSD instance, because no OpenBSD
> ISO image was available in their console. It seems that this doc
> disappeared as their documentation section has changed format, and I
> can't find it on archive.org either. I would like to try and apply the
> same process at another VPS provider. Does anyone remember or know how
> this was done, and would they be kind enough to summarise it here, please?
>
> Thanks!
>
> --
> Étienne
>
>
1/ boot single user
1.bis / think
2/ write disk
3/ profit

Not much time


Convert a Linux VPS to OpenBSD

2022-06-20 Thread Étienne

Hello there,

This is a bit of a long shot, but I'm trying my luck: There used to be a 
community thread on Scaleway's documentation website that explained how 
to convert a Linux instance to an OpenBSD instance, because no OpenBSD 
ISO image was available in their console. It seems that this doc 
disappeared as their documentation section has changed format, and I 
can't find it on archive.org either. I would like to try and apply the 
same process at another VPS provider. Does anyone remember or know how 
this was done, and would they be kind enough to summarise it here, please?


Thanks!

--
Étienne