Grub Default Boot OS Numbering
I am attempting to select the default boot by editing /etc/default/grub. The machine is remote.
Looking at /boot/grub/
'Ubuntu, with Linux 4.19.240-rt108'
I think it is numbered "1>7"
In /etc/default/grub, I set
GRUB_DEFAULT="1>7"
then,
sudo update-grub
The first item is what I think the menu entry items are. Are these numbers correct?
From /boot/grub/grub.cfg
0 menuentry 'Ubuntu'
linux /boot/vmlinuz-
1 submenu 'Advanced options
1>0 menuentry 'Ubuntu, with Linux 5.13.0-
linux /boot/vmlinuz-
1>1 menuentry 'Ubuntu, with Linux 5.13.0-41-generic'
linux /boot/vmlinuz-
1>2 menuentry 'Ubuntu, with Linux 5.13.0-41-generic (recovery mode)'
linux /boot/vmlinuz-
1>3 menuentry 'Ubuntu, with Linux 5.13.0-
linux /boot/vmlinuz-
1>4 menuentry 'Ubuntu, with Linux 5.13.0-
linux /boot/vmlinuz-
1>5 menuentry 'Ubuntu, with Linux 5.13.0-40-generic'
linux /boot/vmlinuz-
1>6 menuentry 'Ubuntu, with Linux 5.13.0-40-generic (recovery mode)'
linux /boot/vmlinuz-
1>7 menuentry 'Ubuntu, with Linux 4.19.240-rt108'
linux /boot/vmlinuz-
1>8 menuentry 'Ubuntu, with Linux 4.19.240-rt108 (recovery mode)'
linux /boot/vmlinuz-
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: