---
# System prepended metadata

title: configure bootloader with IPMI for np04 DAQ servers
tags: [DAQ, sysadmin, protoDUNE]

---

# configure bootloader with IPMI for np04 DAQ servers

###### tags: `DAQ` `protoDUNE` `sysadmin`

## Manual configuration on np04-srv-014

1. make a backup of the current file `cp /etc/default/grub /etc/default/grub-backup`
2. edit the file with the following change:
```sh
5,6c5,7
< GRUB_TERMINAL_OUTPUT="console"
< GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=sysvg/root rd.lvm.lv=sysvg/swap rhgb quiet"
---
> GRUB_TERMINAL_OUTPUT="serial"
> GRUB_SERIAL_COMMAND="serial --speed=115200"
> GRUB_CMDLINE_LINUX="console=ttyS0,115200 console=tty0 crashkernel=auto rd.lvm.lv=sysvg/root rd.lvm.lv=sysvg/swap"
```
3. make a copy of `/boot/grub2/grub.cfg`
4. run `grub2-mkconfig -o /boot/grub2/grub.cfg`
5. review the generated grub file and reboot the system.
6. disbale serial-getty servivce

## Manual configuration on np04-srv-015


<https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sec-making_persistent_changes_to_a_grub_2_menu_using_the_grubby_tool>

`grubby --remove-args="rhgb quiet" --args=console=ttyS0,115200 --update-kernel=ALL`
