V9.2 auto boot not working

Having difficulties when installing the system? Your system runs slowly and requires some tweaking? You can get help here.
Post Reply

Topic author
mjimji
Contributor
Posts: 13
Joined: Thu Oct 22, 2020 11:24 am
Reputation: 0
Status: Offline

V9.2 auto boot not working

Post by mjimji » Tue Mar 14, 2023 1:37 pm

I have V9.2 running under VirtualBox, with UEFI shell set to boot into VMS_BOOTMGR, which works fine. In BOOTMGR I issue the command AUTO BOOT and it tells me that the AUTOACTION is BOOT DKA400 0 000000, as I would expect. Issuing this command manually boots into VMS. If I exit BOOTMGR and let shell reboot back into BOOTMGR, it does not automatically boot VMS; the AUTOACTION is back at HALT. There surely must be some obvious step that I'm missing...
Thanks,
Mark

User avatar

m_detommaso
Valued Contributor
Posts: 67
Joined: Thu Jun 06, 2019 6:57 am
Reputation: 0
Location: Brindisi (Italy)
Status: Offline
Contact:

Re: V9.2 auto boot not working

Post by m_detommaso » Tue Mar 14, 2023 1:47 pm

Did you save the "NON-VOLATILE STORE" content ?

BOOTMGR> AUTO BOOT 5 (Countdown = 5)
BOOTMGR> ENV

NON-VOLATILE STORE (Version:7) Dirty? Y:
AUTOACTION: BOOT
COUNTDOWN: 5
SMP ENABLED?: Y
THREADS ENABLED?: N
LASTBOOT CMD: BOOT DKA0 0 00000000
LASTBOOT DEV: DKA0
SYSROOT: 0
BOOTFLAGS: 0x00000000
DUMPFLAGS: 0x00000000
HORIZREZ: 0
VERTREZ: 0
MOUSE SENSE: 14
PAGE MODE: N

BOOTMGR> SAVE


NON-VOLATILE STORE (Version:7) Dirty? N:
AUTOACTION: BOOT
COUNTDOWN: 5
SMP ENABLED?: Y
THREADS ENABLED?: N
LASTBOOT CMD: BOOT DKA0 0 00000000
LASTBOOT DEV: DKA0
SYSROOT: 0
BOOTFLAGS: 0x00000000
DUMPFLAGS: 0x00000000
HORIZREZ: 0
VERTREZ: 0
MOUSE SENSE: 14
PAGE MODE: N


Topic author
mjimji
Contributor
Posts: 13
Joined: Thu Oct 22, 2020 11:24 am
Reputation: 0
Status: Offline

Re: V9.2 auto boot not working

Post by mjimji » Tue Mar 14, 2023 2:41 pm

Thank you, no, I did not issue the SAVE command; it is now working.

The Boot Manager User Guide says that the settings are stored whenever a SAVE, BOOT or EXIT command is issued. I was issuing the EXIT command and it clearly was not saving the setting.


vamike
Member
Posts: 9
Joined: Sat May 13, 2023 5:38 pm
Reputation: 0
Status: Offline

Re: V9.2 auto boot not working

Post by vamike » Sat May 13, 2023 5:39 pm

I followed the above steps, and confirmed with the env command to get confirmation that autoaction is set to boot, but when I close and reopen the virutalbox vm, it's boots up and show HALT as the autoaction.

Anyone know how to get round this on virtualbox?

Mike

User avatar

m_detommaso
Valued Contributor
Posts: 67
Joined: Thu Jun 06, 2019 6:57 am
Reputation: 0
Location: Brindisi (Italy)
Status: Offline
Contact:

Re: V9.2 auto boot not working

Post by m_detommaso » Sun May 14, 2023 4:11 am


Please, share the output of the bootmgr "env" command after "auto boot" command (the fields of interest are: "NON-VOLATILE STORE (Version:7) Dirty?", "LASTBOOT CMD", "LASTBOOT DEV", "SYSROOT" and "BOOTFLAGS").

Next, you should consider to check the UEFI setup of the Virtual Machine, too :

Enter Setup -> Boot Maintenance Manager -> Boot Option -> Change Boot Order

By default "EFI Internal Shell" is the first boot device; re-arrange the boot devices so that your VMS boot disk is placed first.

For example :

VB_efi_setup.PNG


/Maurizio
Last edited by m_detommaso on Sun May 14, 2023 3:17 pm, edited 8 times in total.


vamike
Member
Posts: 9
Joined: Sat May 13, 2023 5:38 pm
Reputation: 0
Status: Offline

Re: V9.2 auto boot not working

Post by vamike » Sat May 20, 2023 3:53 pm

Thanks!
the UEFI boot order under virtualbox was the issue.

Autoboot works fine now.

Post Reply