Moving to Another Hard Drive
I have a fairly old HDD in my system and want to replace it with a newer, larger one. But I'm not sure, what's the best way to move from my old drive to the new one. Currently on the old drive is a NTFS partition which I use to share files between Linux and a dual booted Windows 8. Additionally the...
In your /etc/fstab do you use the "device paths" (eg. /dev/sda1) to specify, where to mount which partition? Because that path is not fixed and depends on, which of your drives is discovered first during boot time. This can lead to an error like this, when sometimes the "faster" drive is discovered first, essentially swapping /dev/sdb and /dev/sda as you usually have it set up.
You can change the fstab to use UUIDs (an unique identifier for each partition) or even disk labels (if you have them set up, it's a name you can give your partitions).
I always thought, this is due to the colored output on the poweroff screen. When using colored output in a terminal, you use escaped color-sequences, which aren't displayed as a character but are printed to the console. So the cursor doesn't "know" the right position it's on anymore. Experienced similar behavior when customizing my PS1 Prefix in bash. But I neither know, how to prove this nor how to fix the issue. Just ignore it, it's fine.
After a lockup you can run
journalctl -b -1this will show the log files of the last boot. If you add the -r flag, I think, it will display messages from beginning from the last before the lockup.Perhaps you can find something in those logfiles?
In our school you could charge your account with money to use the schools printers via a web-interface.
Well, an alternative way to print was opening the windows explorer and let it search the local network for other devices. It would list you all of the school's printers, PC's and routers. And what's even better: You could select a printer in the explorer and tell windows to print something using this printer. Saved about 10ct per paper + there wasn't a notice that you shouldn't do this.
Some teacher found one of our sheets in a printer, figured out it wasn't printed by another teacher (the printer was in one of the teacher's break rooms) and went straight to the police with it, because some cyber-guy must have hacked the school.
Luckily they didn't found out, who printed this document. But they didn't change a thing either. About 3 years later you can still use this "hack" to print on every printer in the whole school. And this is only one of the many security issues we found at our old school..
If I recall correctly, mpd maintains a database of your music. If you have mpc installed, you should be able to run
mpc updateto update this database. This should add the new entries and remove the deleted ones. Alternatively you can try to find the option to update this database in your client.