View Single Post
  #1   (View Single Post)  
Old 1st October 2019
CiotBSD CiotBSD is offline
c107:b5d::
 
Join Date: Jun 2019
Location: Under /
Posts: 175
Default Debian on OpenBSD vmd

Hi.

I attempt to run an install a Debian Buster into a VM on OpenBSD 6.5.
This OpenBSD run on a server, without X, only SSH connection.

Ago 8 months, I installed with success a Debian Stretch on other VM, and previously on OpenBSD 6.4, segun this tutorial:
http://www.netzbasis.de/openbsd/vmd-debian/

I understand the process to connect on VM is by serial console... no X!

Now, just i use the same tuto to install Buster; after sames modifications with new files, when i start the VM, i've this error: undefined video mode number: 314.

- boot.img: http://ftp.debian.org/debian/dists/b...ia/boot.img.gz
- initrd: http://ftp.debian.org/debian/dists/b.../xen/initrd.gz
- virtio module: http://ftp.debian.org/debian/pool/ma...9-3_amd64.udeb

The preparation of boot.img:
Code:
gzip -d initrd.gz
mkdir buster
cd buster
ar -x ../virtio-modules-4.9.0-11-amd64-di_4.9.189-3_amd64.udeb data.tar.xz
xz -d data.tar.xz
tar xf data.tar
rm data.tar
find . | cpio -o -A -H sv4cpio -O ../initrd
cd ..
gzip -9 initrd
gzip -d boot.img.gz
doas vnconfig vnd1 ~/vm/debian/boot.img
doas mount /dev/vnd1i /mnt
doas cp initrd.gz /mnt/INITRD.GZ
doas vi /mnt/TXT.CFG
	-	append vga=788 initrd=initrd.gz --- quiet ^M
	+	append vga=off initrd=initrd.gz --- quiet console=ttyS0,115200n8 ^M
doas umount /mnt
doas vnconfig -u vnd1
Thoses steps seem run correctly. No error!

I start the vm:
Code:
vmctl start install -c
('install' is the name of the VM)

And after few seconds, the result is:

Last edited by CiotBSD; 2nd October 2019 at 10:40 AM. Reason: precisions
Reply With Quote