• Water1053@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    Something that works fairly well for me:

    • Make a copy of the file you’re working sudo copy /etc/fstab /etc/fstab.bak
    • Ask a particular question to ChatGPT How do I mount a samba share in Ubuntu Server 22.04?
    • Read through the commands and try them out. ChatGPT is great for stuff like this, especially with follow-up questions, and giving you detailed info on error messages.
    • If you fubar, then simply restore your backup file and try again.
    • StarDreamer@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago
      1. ChatGPT gives bad command, system fails to boot
      2. Drops into emergency shell
      3. Ask ChatGPT how to fix fstab from emergency shell
      4. Goto 1), rinse and repeat

      You can also replace ChatGPT with Devin and achieve the same results*

      *Your mileage may vary depending on the quality of your Devin