Skip to content

u/Lyno_

In this archive from Jul 2018 to Mar 2020

1
posts
17
comments
0
media
95
score

Top posts

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...

7 points13 comments
Open on Reddit

Top comments

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).

48 points

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.

12 points

After a lockup you can run journalctl -b -1 this 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?

9 points

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..

6 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.