Welcome to the Linux Foundation Forum!

LFS207 LABS1Exercise 34.2

Posts: 10
edited September 2024 in LFS207 Class Forum

Hi -I have a question - how do I corrupt the GRUB config on Centos9/Ubuntu24?
I have VMs installed on a MAC OS PC

If I change the /etc/grub2/grub.cfg as per lab instructions the file is re-generated by a script when rebooting using templates from /etc/grub.d and settings from /etc/default/grub

Comments

  • Posts: 10
    edited September 2024

    I was able to blast the whole grub file by renaming it

  • Hi @arina01,

    If I change the /etc/grub2/grub.cfg as per lab instructions the file is re-generated by a script when >rebooting using templates from /etc/grub.d and settings from /etc/default/grub

    I haven't seen that behavior.

    I was able to blast the whole grub file by renaming it

    Yes, that's another way to do it. You also could delete it, but it would be a bit difficult to restore, as you would need to take a backup first.

    Regards,
    Luis.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training