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

Update /etc/default/grub with GRUB_DEFAULT=saved #15

Open
ScottG489 opened this issue Feb 10, 2022 · 1 comment
Open

Update /etc/default/grub with GRUB_DEFAULT=saved #15

ScottG489 opened this issue Feb 10, 2022 · 1 comment

Comments

@ScottG489
Copy link
Owner

ScottG489 commented Feb 10, 2022

In order to specify what grub entry you want to reboot into this needs to be changed from GRUB_DEFAULT=0 to GRUB_DEFAULT=saved.

After that is done sudo update-grub also needs to be run so the changes apply to /boot/grub/grub.cfg.

This will allow us to run grub-reboot <entry #, title, etc> to set the default entry that will be used on next reboot, such as windows.

@ScottG489
Copy link
Owner Author

The auto installer seems to make the label for the drive be ubuntu-autoinstall-<date>. Is there a way to specify the label with the tool? We'll be creating a grub entry that will be looking for a specific label. We should be able to change the label with another tool otherwise if the tool doesn't support this.

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