Re: Debian 12 Under VMM

2024-06-17 Thread 04-psyche . totter
Great to hear!

The combined power of OpenBSD and Debian is now yours, use it wisely ;)



> On 17 Jun 2024, at 18:56, Manuel Giraud  wrote:
> 
> 
>> Hi Manuel,
>> 
>> this was tricky. First I had to clear out the screen with CTRL+L.
>> 
>> Then I had to use the arrows up and down, and this makes a menu appear.
>> Then you choose Help, and you enter the boot commands.
> 
> Thanks, it works as expected.  FTR, here is what I have done:
> 
>- Select the "Help" menu entry, you get the following prompt:
> 
> Press F2 through F10 for details, or ENTER to boot:
> 
>- Type "install gfxpayload=text console=ttyS0,115200" and enter
>- Press space, proceed with installation
> -- 
> Manuel Giraud



Re: Debian 12 Under VMM

2024-06-17 Thread Manuel Giraud
04-psyche.tot...@icloud.com writes:

> Hi Manuel,
>
> this was tricky. First I had to clear out the screen with CTRL+L.
>
> Then I had to use the arrows up and down, and this makes a menu appear.
> Then you choose Help, and you enter the boot commands.

Thanks, it works as expected.  FTR, here is what I have done:

- Select the "Help" menu entry, you get the following prompt:

 Press F2 through F10 for details, or ENTER to boot:

- Type "install gfxpayload=text console=ttyS0,115200" and enter
- Press space, proceed with installation
-- 
Manuel Giraud



Re: Debian 12 Under VMM

2024-06-14 Thread 04-psyche . totter
Hi Manuel,

this was tricky. First I had to clear out the screen with CTRL+L.

Then I had to use the arrows up and down, and this makes a menu appear.
Then you choose Help, and you enter the boot commands.

I had to go through a few trials and errors. Patience is key ;)

Good luck

> On 14 Jun 2024, at 15:14, Manuel Giraud  wrote:
> 
> 
>> Thank you Dave and Bruce.
>> 
>> This worked for me:
>> 
>> boost install gfxpayload=text console=ttyS0,115200n8
>> 
>> The critical part was that I had to type it and not copy paste it.
> 
> Hi,
> 
> Could you explain how did you entered those instructions?  I'm trying
> the same vm.conf as you but when I start with "vmctl start -c 1", I'm
> presented with a textual menu and I don't know what to do with it.
> 
> Best regards,
> -- 
> Manuel Giraud



Re: Debian 12 Under VMM

2024-06-14 Thread Robert B. Carleton
Manuel Giraud  writes:

> 04-psyche.tot...@icloud.com writes:
>
>> Thank you Dave and Bruce.
>>
>> This worked for me:
>>
>> boost install gfxpayload=text console=ttyS0,115200n8
>>
>> The critical part was that I had to type it and not copy paste it.
>
> Hi,
>
> Could you explain how did you entered those instructions?  I'm trying
> the same vm.conf as you but when I start with "vmctl start -c 1", I'm
> presented with a textual menu and I don't know what to do with it.
>
> Best regards,

I added these boot parameters from the Debian installer after selecting
the Help menu using "H", then selecting "Special boot parameters for
special machines." using .



Re: Debian 12 Under VMM

2024-06-14 Thread Manuel Giraud
04-psyche.tot...@icloud.com writes:

> Thank you Dave and Bruce.
>
> This worked for me:
>
> boost install gfxpayload=text console=ttyS0,115200n8
>
> The critical part was that I had to type it and not copy paste it.

Hi,

Could you explain how did you entered those instructions?  I'm trying
the same vm.conf as you but when I start with "vmctl start -c 1", I'm
presented with a textual menu and I don't know what to do with it.

Best regards,
-- 
Manuel Giraud



Re: Debian 12 Under VMM

2024-06-04 Thread Mike Larkin
On Tue, Jun 04, 2024 at 04:06:13PM +0100, 04-psyche.tot...@icloud.com wrote:
> Thank you Dave and Bruce.
>
> This worked for me:
>
> boost install gfxpayload=text console=ttyS0,115200n8
>
> The critical part was that I had to type it and not copy paste it.
>

glad you got it working; this matches what most/all of us do for these
installs.

> For some reasons, I have problems on the terminal of the VM. I can't copy 
> paste it correctly, nor use the arrows without glitch.
>

see other email reply.

> Also as an FYI for anyone else trying. I have to kill the VM at the end of 
> the install, and not let the installation process reboot the machine. 
> Otherwise it hangs indefinitely.
>
> Thanks!
> Jake
>
>
>
>
> Dave Voutila mailto:d...@sisu.io>> writes:
> >
> >> Hi all,
> >>
> >> I am trying to run Debian 12 under VMM.
> >>
> >> I can see on the email from 2024-04-02 that Bruce managed to make it work, 
> >> but I don't know how.
> >>
> >> The crux of the issue is that the Debian ISO installer does not seem to 
> >> work under serial console.
> >
> > You need to modify the kernel boot args to disable video and rely on
> > serial console. I can't recall whatever the graphics arg is to the linux
> > kernel, but you typically want something like vga=off and then set the
> > console arg. I recommend setting both that and io_delay:
> >
> > console=ttyS0,115200 io_delay=none
> >
> > io_delay will make the kernel skip doing some pointless artificial
> > delays that don't matter with vmd.
> >
> >>
> >> Here's what I did:
> >>
> >> /etc/vm.conf
> >>
> >> vm "vm1" {
> >>memory 1G
> >>disable
> >>cdrom "/isos/debian-12.5.0-amd64-netinst.iso"
> >>disk "/disks/disk_vm1.qcow2" format qcow2
> >>local interface
> >> }
> >>
> >> When I then start the vm, I am greeted with the message:
> >>
> >> "Press a key, otherwise speech synthesis will be started in 27 seconds..."
> >>
> >>
> >> and then after keypress
> >>
> >> "
> >> Undefined video mode number: 314
> >> Press  to see video modes available,  to continue, or wait 
> >> 30 sec
> >> "
> >>
> >> and it then crashes.
> >>
> >> Can anyone (maybe Bruce) point me in the right direction?
> >>
> >> Thanks!
> >> Jake
>
> Try "gfxpayload=text console=ttyS0,115200" (without the quotes)
>
> I think there's a question about scanning for a graphics card after
> setting the boot parameters. Skip it if you can. The timeout was really
> long, maybe indefinate. I think I gave up a tried again.



Re: Debian 12 Under VMM

2024-06-04 Thread 04-psyche . totter
Thank you Dave and Bruce.

This worked for me:

boost install gfxpayload=text console=ttyS0,115200n8

The critical part was that I had to type it and not copy paste it.

For some reasons, I have problems on the terminal of the VM. I can't copy paste 
it correctly, nor use the arrows without glitch.

Also as an FYI for anyone else trying. I have to kill the VM at the end of the 
install, and not let the installation process reboot the machine. Otherwise it 
hangs indefinitely.

Thanks!
Jake




Dave Voutila mailto:d...@sisu.io>> writes:
> 
>> Hi all,
>> 
>> I am trying to run Debian 12 under VMM.
>> 
>> I can see on the email from 2024-04-02 that Bruce managed to make it work, 
>> but I don't know how.
>> 
>> The crux of the issue is that the Debian ISO installer does not seem to work 
>> under serial console.
> 
> You need to modify the kernel boot args to disable video and rely on
> serial console. I can't recall whatever the graphics arg is to the linux
> kernel, but you typically want something like vga=off and then set the
> console arg. I recommend setting both that and io_delay:
> 
> console=ttyS0,115200 io_delay=none
> 
> io_delay will make the kernel skip doing some pointless artificial
> delays that don't matter with vmd.
> 
>> 
>> Here's what I did:
>> 
>> /etc/vm.conf
>> 
>> vm "vm1" {
>>memory 1G
>>disable
>>cdrom "/isos/debian-12.5.0-amd64-netinst.iso"
>>disk "/disks/disk_vm1.qcow2" format qcow2
>>local interface
>> }
>> 
>> When I then start the vm, I am greeted with the message:
>> 
>> "Press a key, otherwise speech synthesis will be started in 27 seconds..."
>> 
>> 
>> and then after keypress
>> 
>> "
>> Undefined video mode number: 314
>> Press  to see video modes available,  to continue, or wait 30 
>> sec
>> "
>> 
>> and it then crashes.
>> 
>> Can anyone (maybe Bruce) point me in the right direction?
>> 
>> Thanks!
>> Jake

Try "gfxpayload=text console=ttyS0,115200" (without the quotes)

I think there's a question about scanning for a graphics card after
setting the boot parameters. Skip it if you can. The timeout was really
long, maybe indefinate. I think I gave up a tried again.

Re: Debian 12 Under VMM

2024-06-04 Thread Robert B. Carleton
Dave Voutila  writes:

> 04-psyche.tot...@icloud.com writes:
>
>> Hi all,
>>
>> I am trying to run Debian 12 under VMM.
>>
>> I can see on the email from 2024-04-02 that Bruce managed to make it work, 
>> but I don't know how.
>>
>> The crux of the issue is that the Debian ISO installer does not seem to work 
>> under serial console.
>
> You need to modify the kernel boot args to disable video and rely on
> serial console. I can't recall whatever the graphics arg is to the linux
> kernel, but you typically want something like vga=off and then set the
> console arg. I recommend setting both that and io_delay:
>
>  console=ttyS0,115200 io_delay=none
>
> io_delay will make the kernel skip doing some pointless artificial
> delays that don't matter with vmd.
>
>>
>> Here's what I did:
>>
>> /etc/vm.conf
>>
>> vm "vm1" {
>> memory 1G
>> disable
>> cdrom "/isos/debian-12.5.0-amd64-netinst.iso"
>> disk "/disks/disk_vm1.qcow2" format qcow2
>> local interface
>> }
>>
>> When I then start the vm, I am greeted with the message:
>>
>> "Press a key, otherwise speech synthesis will be started in 27 seconds..."
>>
>>
>> and then after keypress
>>
>> "
>> Undefined video mode number: 314
>> Press  to see video modes available,  to continue, or wait 30 
>> sec
>> "
>>
>> and it then crashes.
>>
>> Can anyone (maybe Bruce) point me in the right direction?
>>
>> Thanks!
>> Jake

Try "gfxpayload=text console=ttyS0,115200" (without the quotes)

I think there's a question about scanning for a graphics card after
setting the boot parameters. Skip it if you can. The timeout was really
long, maybe indefinate. I think I gave up a tried again.



Re: Debian 12 Under VMM

2024-06-04 Thread Dave Voutila


04-psyche.tot...@icloud.com writes:

> Hi all,
>
> I am trying to run Debian 12 under VMM.
>
> I can see on the email from 2024-04-02 that Bruce managed to make it work, 
> but I don't know how.
>
> The crux of the issue is that the Debian ISO installer does not seem to work 
> under serial console.

You need to modify the kernel boot args to disable video and rely on
serial console. I can't recall whatever the graphics arg is to the linux
kernel, but you typically want something like vga=off and then set the
console arg. I recommend setting both that and io_delay:

 console=ttyS0,115200 io_delay=none

io_delay will make the kernel skip doing some pointless artificial
delays that don't matter with vmd.

>
> Here's what I did:
>
> /etc/vm.conf
>
> vm "vm1" {
> memory 1G
> disable
> cdrom "/isos/debian-12.5.0-amd64-netinst.iso"
> disk "/disks/disk_vm1.qcow2" format qcow2
> local interface
> }
>
> When I then start the vm, I am greeted with the message:
>
> "Press a key, otherwise speech synthesis will be started in 27 seconds..."
>
>
> and then after keypress
>
> "
> Undefined video mode number: 314
> Press  to see video modes available,  to continue, or wait 30 
> sec
> "
>
> and it then crashes.
>
> Can anyone (maybe Bruce) point me in the right direction?
>
> Thanks!
> Jake



Re: Debian 12 Under VMM

2024-06-03 Thread 04-psyche . totter
Hi all,

I am trying to run Debian 12 under VMM.

I can see on the email from 2024-04-02 that Bruce managed to make it work, but 
I don't know how.

The crux of the issue is that the Debian ISO installer does not seem to work 
under serial console.

Here's what I did:

/etc/vm.conf

vm "vm1" {
memory 1G
disable
cdrom "/isos/debian-12.5.0-amd64-netinst.iso"
disk "/disks/disk_vm1.qcow2" format qcow2
local interface
}

When I then start the vm, I am greeted with the message:

"Press a key, otherwise speech synthesis will be started in 27 seconds..."


and then after keypress

"
Undefined video mode number: 314
Press  to see video modes available,  to continue, or wait 30 sec
"

and it then crashes.

Can anyone (maybe Bruce) point me in the right direction?

Thanks!
Jake


Re: Debian 12 Under VMM

2024-04-05 Thread Mike Larkin
On Tue, Apr 02, 2024 at 09:11:04AM -0500, Robert B. Carleton wrote:
> I thought I'd share a small success with installing Debian 12 under VMM,
> in case some might find it useful. The boot parameters are "install
> gfxpayload=text console=ttyS0,115200n8". I added these boot parameters
> from the Debian installer after selecting the Help menu using "H", then
> selecting "Special boot parameters for special machines." using .
>
> By the way, I found an article that suggested using "vga=off" instead of
> "gfxpayload=text". This worked in the installer, but hung up the boot on
> the post-install, because "vga=off" has been deprecated.
>
> This was under OpenBSD 7.4, run from an xterm. Let me know if there are
> any comments or questions.
>
> Cheers,
>
> --Bruce
>

Thanks for the note. I find that the "n8" isn't needed since vmd(8)'s serial
emulation doesn't really do different parity/byte sizes. I also usually
recommend removing "quiet" from Linux kernel command lines with vmm(4), so you
can see what's going on or if/where it gets stuck.

-ml



Debian 12 Under VMM

2024-04-02 Thread Robert B. Carleton
I thought I'd share a small success with installing Debian 12 under VMM,
in case some might find it useful. The boot parameters are "install
gfxpayload=text console=ttyS0,115200n8". I added these boot parameters
from the Debian installer after selecting the Help menu using "H", then
selecting "Special boot parameters for special machines." using .

By the way, I found an article that suggested using "vga=off" instead of
"gfxpayload=text". This worked in the installer, but hung up the boot on
the post-install, because "vga=off" has been deprecated.

This was under OpenBSD 7.4, run from an xterm. Let me know if there are
any comments or questions.

Cheers,

--Bruce