yala

joined 1 year ago
[–] yala@discuss.online -2 points 1 year ago

ChatGPT gave the following. Follow at your own risk. Most important is to check if the file locations are compatible with Fedora.

To automate running the update-grub command after each kernel update, you can create a script and set it up to run automatically. Here's a more direct approach:

  1. Open a text editor and create a new script file. For example, you can name it "update_grub.sh".

  2. In the script file, add the following lines:

    #!/bin/bash
    /usr/sbin/update-grub
    
  3. Save the script file in a location where it can be easily accessed, such as your home directory.

  4. Make the script executable by running the following command in the terminal:

    chmod +x /path/to/update_grub.sh
    
  5. Next, you can set up a cron job to run this script automatically. Open your crontab file by running:

    crontab -e
    
  6. Add a new line at the end of the crontab file to schedule the script to run after each kernel update. For example:

    @reboot /path/to/update_grub.sh
    
  7. Save and exit the crontab file.

With these steps, the update-grub command will be executed automatically after each kernel update, ensuring that the new kernel version boots successfully.

[–] yala@discuss.online 1 points 1 year ago

Support for coreboot can't come soon enough. My fingers are already tingling in excitement for that day.

[–] yala@discuss.online 1 points 1 year ago* (last edited 1 year ago)

Excellent contribution. Even if I'm not OP, I really appreciate this. Thank you!

[–] yala@discuss.online 0 points 1 year ago (1 children)

Consider making another post after everything has been done in which you note down your expectations, experiences etc.

[–] yala@discuss.online 0 points 1 year ago (3 children)

Excellent choice! I'm sure you'll manage 😉 (right after you've found yourself a USB drive).

[–] yala@discuss.online 0 points 1 year ago (5 children)

So..., what will it be 😜?