I have installed a Debian VM that does not start automatically.
There is a tutorial: https://www.truenas.com/docs/scale/scaletutorials/virtualization/creatingmanagingvmsscale/
I have edited the startup.nsh. If I start startup.nsh manually, then it works.
In my case, the startup.nsh is probably at the wrong place.
# FSO/EFI/Debian
But I can't create or edit the file anywhere else.
There is a tutorial: https://www.truenas.com/docs/scale/scaletutorials/virtualization/creatingmanagingvmsscale/
This works.The grub file does not run when you start the VM, you can do this manually after each start. At the shell prompt:
- Type FS0: Return.
- Type cd EFI Return.
- Type cd Debian Return.
- Type grubx64.efi Return.
This does not work.To ensure it starts automatically, you create the startup.nsh file at the root directory on the vm. To create the file:
- Go to the Shell.
- At the shell prompt type edit startup.nsh.
- In the editor type:
- Type FS0: Return.
- Type cd EFI Return.
- Type cd Debian Return.
- Type grubx64.efi Return.
- Use the Control+s keys (Command+s for Mac OS) then Return.
- Use the Control+q keys to quit.
- Close the display window
- To test if it now boots up on startup:
- Power off the VM.
- Click Start.
- Click Display.
- Log into your Debian VM.
I have edited the startup.nsh. If I start startup.nsh manually, then it works.
In my case, the startup.nsh is probably at the wrong place.
# FSO/EFI/Debian
But I can't create or edit the file anywhere else.