this post was submitted on 06 Aug 2023
172 points (97.3% liked)

linuxmemes

20484 readers
955 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

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.
[โ€“] [email protected] 1 points 1 year ago* (last edited 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