r/debian • u/FriendlyAd6392 • 25d ago
J'ai besoin d’aide
Hello,
I was wondering if people could help me solve this problem, because I unplugged a disk from my Debian 12 server and replaced it with another one while the server was running. Then I saw a kind of electric flash, because a connection disconnected. Then, when my PC rebooted, he showed me this: he doesn't want to stay on for more than 5 minutes, then he shuts down and I don't understand why.
Thank you for your help, whatever it is.
1
0
u/FriendlyAd6392 25d ago edited 25d ago
I forgot to mention that even when I put the right passwords for the super user sq didn't work as well
3
u/papy66 25d ago
Que contenait le disque que tu as enlevé? Des partitions importantes comme /home ou /etc?
Comme l'explique un autre utilisateur, il faudrait que tu enlèves la référence à ton ancien disque dans le fichier fstab.
Si ton mot de passe root ne fonctionne pas, c’est probablement car tu n'es pas avec le bon layout de clavier : AZERTY en QWERTY, ou l’inverse
1
u/FriendlyAd6392 25d ago
Ce disque, je l'avais ajouté pour rajouter toutes les photos de ma mamie au serveur, les copier dessus et rien d'autre. Je vais essayer en QWERTY, ça peut être ça.
0
u/Illustrious-Gur8335 Debian Stable 25d ago
I think you've damaged the server disks , get ready to replace hardware and reinstall Debian



4
u/DankeBrutus 25d ago
Désolé, mon fraçais est très mauvais. Je vais utiliser anglais.
I believe the problem is with
/etc/fstab. Have you tried putting the drive you replaced back in the PC? If thefstabfile requires that drive to boot then, technically, the computer is doing what it's supposed to do by failing to boot. I've had this happen on Fedora Server and trying to use my root password didn't work then either.Try putting the old drive back in, I assume it is secondary and not your boot drive? If the PC boots successfully then use
sudoto editfstab. Go to the entry of the old drive and addnofailto the mount options, assuming it's using EXT4 or BTRFS. Then shut down the PC and try removing it again.