Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting Boot Order fail to Mariner OS with UNATTENDED_INSTALLER=y #5942

Open
mlix666 opened this issue Aug 7, 2023 · 0 comments
Open

Setting Boot Order fail to Mariner OS with UNATTENDED_INSTALLER=y #5942

mlix666 opened this issue Aug 7, 2023 · 0 comments

Comments

@mlix666
Copy link

mlix666 commented Aug 7, 2023

Please help me, I have 2 questions now. The first one is to set the remove boot order fail return status 30, refer to picture 1,
and the second one is to annotate the error code and generate a Marine boot order under UEFI that failed to start, refer to picture 2

Compile Command:
make iso REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/full-auto.json UNATTENDED_INSTALLER=y

https://github.com/microsoft/CBL-Mariner/blob/2.0/toolkit/tools/liveinstaller/liveinstaller.go#L178
`
func updateBootOrder(installDetails installationDetails) (err error) {
if installDetails.finalConfig.DefaultSystemConfig.BootType != "efi" {
logger.Log.Info("No BootType of 'efi' detected. Not attempting to set EFI boot order.")
return
}

err = removeOldMarinerBootTargets()                   **## Fail,  return "exit status 30"**
if err != nil {
	return
}

logger.Log.Info("Setting Boot Order")
err = runBootEntryCreationCommand(installDetails)
if err != nil {
	return
}

return

}
`

Error boot log:

  1. image

  2. image

@mlix666 mlix666 changed the title Update Boot Order fail to Mariner OS with UNATTENDED_INSTALLER=y Setting Boot Order fail to Mariner OS with UNATTENDED_INSTALLER=y Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant