DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
Old 14th October 2019
CiotBSD CiotBSD is offline
c107:b5d::
 
Join Date: Jun 2019
Location: Under /
Posts: 175
Default

OK.
I attempt to install Debian Buster, today, after resolving the previous problem.
(best to know virtio modules are included into Buster)
Sha512 is OK!

My new config about /etc/vm.conf:
Code:
ROOT="/home/myid/vm"

switch "sw" {
    interface bridge0
}

# VM to attempt an install img OS
vm "install" {
    disable
    cdrom $ROOT/debian/debian.iso
    disk $ROOT/debian/boot.img
    disk $ROOT/debian/buster.qcow2
    interface { switch "sw" }
    memory 4G
    owner myid
}
I launch the vm s:
Code:
$ vm start install -c
choose "Install" menu, without problem.

But, when scan hard drive to detect an installer ISO image, it's not found, and ask me to specify. I enter device manually, as: /dev/cdrom
And it found the ISO file to use:

After, it asks me if I want to copy the ISO image into RAM before mounting.
Either choice "Yes', or "No", it' fails at this step.

Any suggestion?

Last edited by CiotBSD; 14th October 2019 at 04:57 PM.
Reply With Quote
Old 14th October 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Is 1 GB of RAM sufficient for this Debian guest?
Quote:
Either choice "Yes', or "No", it' fails at this step.
What is the failure?
Reply With Quote
Old 14th October 2019
CiotBSD CiotBSD is offline
c107:b5d::
 
Join Date: Jun 2019
Location: Under /
Posts: 175
Default

Quote:
Originally Posted by jggimi View Post
Is 1 GB of RAM sufficient for this Debian guest? What is the failure?
Normally, yes!
But I can easy grow up!
Now, I test with 4G.

Quote:
Originally Posted by jggimi View Post
What is the failure?
the installation step!



Reply With Quote
Old 14th October 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Obviously, that "Installation step failed" message doesn't tell you what the failure was. Does the Debian installer create logs? If so, exit this installer script and inspect log files.
Reply With Quote
Old 14th October 2019
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 465
Default

Try using a netinstall image instead of your custom boot.img, I've just got a Debian buster system up & running under OpenBSD -current using this method.
__________________
Are you infected with Wetiko?
Reply With Quote
Old 14th October 2019
CiotBSD CiotBSD is offline
c107:b5d::
 
Join Date: Jun 2019
Location: Under /
Posts: 175
Default

I use the netinst

Code:
$ ls -al
total 54986192
drwxr-xr-x  4 myid  myid          512 Oct 14 17:07 .
drwxr-xr-x  3 myid  myid          512 Sep 30 18:08 ..
-rw-r--r--  1 myid  myid          658 Sep 30 17:41 SHA512SUMS
-rw-r--r--  1 myid  myid    999997440 Oct  3 14:12 boot.img
(...)
drwxr-xr-x  3 myid  myid          512 Oct  2 12:13 buster
-rw-------  1 myid  myid       262144 Oct  2 23:28 buster.qcow2
(...)
-rw-r--r--  1 myid  myid    351272960 Sep 30 17:41 debian-10.1.0-amd64-netinst.iso
lrwxr-xr-x  1 myid  myid           54 Oct 14 17:07 debian.iso -> /home/myid/vm/debian/debian-10.1.0-amd64-netinst.iso
(...)
And for this attempt, i've not modify the boot.img; just downloaded and used.

Quote:
Originally Posted by Head_on_a_Stick View Post
Try using a netinstall image instead of your custom boot.img...
Do I comment only into ''vm.conf'' the line 'disk... boot.img'?
Reply With Quote
Old 14th October 2019
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 465
Default

Quote:
Originally Posted by CiotBSD View Post
Do I comment into ''vm.conf'' the line 'disk... boot.img'?
I think so, yes. I used vmctl(8) directly rather than /etc/vm.conf
__________________
Are you infected with Wetiko?
Reply With Quote
Old 14th October 2019
CiotBSD CiotBSD is offline
c107:b5d::
 
Join Date: Jun 2019
Location: Under /
Posts: 175
Default

RAhhh...And, now, i obtain again the error "Undefined video mode number: 314"!?

vm.conf:
Code:
cat /etc/vm.conf                                                                                                                 
D="/home/myid/vm/debian"

switch "sw" {
    interface bridge0
}

# VM to attempt an install img OS
vm "install" {
    disable
#    boot cdrom
    cdrom $D/debian.iso
    disk $D/buster.qcow2
    interface { switch "sw" }
    memory 4G
    owner myid
}
Get netinst.iso and sha512sum files:
Code:
[22:10:23] : ~/vm/debian $ $ ftp https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.1.0-amd64-netinst.iso
Trying 2001:6b0:19::173...
Trying 2001:6b0:19::165...
Trying 194.71.11.165...
Requesting https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.1.0-amd64-netinst.iso
Redirected to https://gemmei.ftp.acc.umu.se/debian-cd/current/amd64/iso-cd/debian-10.1.0-amd64-netinst.iso
Trying 2001:6b0:19::137...
Trying 194.71.11.137...
Requesting https://gemmei.ftp.acc.umu.se/debian-cd/current/amd64/iso-cd/debian-10.1.0-amd64-netinst.iso
100% |*************************************************************************************************************************************************************|   335 MB    00:54    
351272960 bytes received in 54.52 seconds (6.14 MB/s)

[22:16:38] : ~/vm/debian $ ftp https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA512SUMS                      
Trying 2001:6b0:19::165...
Trying 2001:6b0:19::173...
Trying 194.71.11.173...
Requesting https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA512SUMS
100% |*************************************************************************************************************************************************************|   658       00:00    
658 bytes received in 0.00 seconds (639.20 KB/s)

[22:17:20] : ~/vm/debian $ sha512 -C SHA512SUMS debian-10.1.0-amd64-netinst.iso                                                                   
(SHA512) debian-10.1.0-amd64-netinst.iso: OK
But:


Amazing! Rahhhh... why?!
My laptop run under OpenBSD 6.5; and too the server where I'm connecting by SSH!!!
Reply With Quote
Old 15th October 2019
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 465
Default

Quote:
Originally Posted by CiotBSD View Post
RAhhh...And, now, i obtain again the error "Undefined video mode number: 314"!?
I just waited 30 seconds, the installer continued afterwards.

Did you add the parameters to force a serial connection?
Code:
console=ttyS0,115200n8
__________________
Are you infected with Wetiko?
Reply With Quote
Old 15th October 2019
CiotBSD CiotBSD is offline
c107:b5d::
 
Join Date: Jun 2019
Location: Under /
Posts: 175
Default

Quote:
Originally Posted by Head_on_a_Stick View Post
(...)
Did you add the parameters to force a serial connection?
Code:
console=ttyS0,115200n8
Ohh. I know this.
But, where I put this, if I dont need the boot.img!?
I dont understand!
Reply With Quote
Old 15th October 2019
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 465
Default

Quote:
Originally Posted by CiotBSD View Post
where I put this, if I dont need the boot.img!
Press <tab> with the Install boot menu entry highlighted then add the parameter after quiet and press <enter> to start the modified entry.
__________________
Are you infected with Wetiko?
Reply With Quote
Old 15th October 2019
CiotBSD CiotBSD is offline
c107:b5d::
 
Join Date: Jun 2019
Location: Under /
Posts: 175
Default

Thanks. It's run !
Reply With Quote
Reply

Tags
debian, openbsd 6.5, vmm

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot Debian/OpenBSD - mount OpenBSD /home from Debian shep OpenBSD General 5 11th April 2019 10:19 PM
MultiBoot OpenBSD/Debian Funkygoby OpenBSD Installation and Upgrading 23 5th March 2019 09:46 PM
Microsoft has released a Debian Linux switch OS. Repeat, a Debian Linux switch OS J65nko News 9 12th March 2016 11:58 PM
Debian + FreeBSD bsdperson Other BSD and UNIX/UNIX-like 20 22nd August 2011 06:41 PM
Debian 5.0 released ephemera Other BSD and UNIX/UNIX-like 36 26th November 2010 04:50 PM


All times are GMT. The time now is 01:23 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick