... | ... | @@ -53,6 +53,8 @@ Select the newly installed `rtcds` kernel module. |
|
|
|
|
|
![Screenshot_from_2021-12-16_17-29-22](uploads/9ced037daef09a39f2f04d3d3f8791ea/Screenshot_from_2021-12-16_17-29-22.png)
|
|
|
|
|
|
[If the kernel is not there](https://git.ligo.org/cds/advligorts/-/wikis/cymac/debugging#manual-configuration-grub-to-boot-with-the-real-time-kernel)
|
|
|
|
|
|
### Once you have booted, verify you are running the correct kernel
|
|
|
|
|
|
```plaintext
|
... | ... | @@ -60,47 +62,6 @@ root@x2boot0:/root$ uname -r |
|
|
4.19.0-6-rtcds-amd64
|
|
|
```
|
|
|
|
|
|
### Configure GRUB to Boot with the Real-Time Kernel
|
|
|
|
|
|
**NOTE: this should only be necessary if for some reason the RTS kernel is not showing up in the boot menu.**
|
|
|
|
|
|
#### View /boot/grub/grub.cfg
|
|
|
|
|
|
You will need to copy some strings exactly from /boot/grub/grub.cfg.
|
|
|
|
|
|
Scroll through /boot/grub/grub.cfg until you find the menu entry for the new kernel. Note exactly the name of this menu entry. A typical name is
|
|
|
|
|
|
`Debian GNU/Linux, with Linux 4.19.0-6-rtcds-amd64`
|
|
|
|
|
|
Then, scroll up until you find the name of the menu the menu entry is in. Most likely it is in an 'advanced' menu. If the item is in a sub menu of another menu (it shouldn't be), then you'll need to copy out the names of all parent menus in order from the top most.
|
|
|
|
|
|
There will most likely be a only a single menu named
|
|
|
|
|
|
`Advanced options for Debian GNU/Linux`
|
|
|
|
|
|
#### Edit /etc/default/grub
|
|
|
|
|
|
Change the value of GRUB_DEFAULT to be
|
|
|
|
|
|
`"Top Menu>Sub Menu 1>Sub Menu 2>Menu Item".`
|
|
|
|
|
|
Note the angle brackets separating the menus and menu items.
|
|
|
|
|
|
A typical line for the new kernel is:
|
|
|
|
|
|
```plaintext
|
|
|
GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 4.19.0-6-rtcds-amd64"
|
|
|
```
|
|
|
|
|
|
Where the top menu is
|
|
|
|
|
|
`Advanced options for Debian GNU/Linux`
|
|
|
|
|
|
And the menu item is
|
|
|
|
|
|
`Debian GNU/Linux, with Linux 4.19.0-6-rtcds-amd64`
|
|
|
|
|
|
|
|
|
|
|
|
# Installing Control Room Tools.
|
|
|
|
... | ... | |