Yeah, this way you shouldn't have to worry about errors while copying/resizing/cloning the data.
You can copy the files using rsync. The EFI partition should be easy to clone. If you didn't customize the bootloader, the simplest thing would be to just reinstall the bootloader to the new EFI partition.
Root and home can easily be copied afterwards (using rsync again)
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).
If I recall correctly, mpd maintains a database of your music. If you have mpc installed, you should be able to run mpc update to 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.
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.
Couldn't you just link the uppercase ~/Downloads to the lowercase ~/downloads ?
The uppercase would still appear, but you'd have all files in the lowercase directory.
There's a Website called "Advent of code". It's basically a programming challenge for every day in December until Christmas with a sweet little backstory.
You can do all older puzzles (because it's not Christmas today). They are saved on the website. Even the ones from the last year's. I'd encourage you to start with the first year (I believe it was 2015) and just start.
There's even a subreddit r/adventofcode if you have questions to a puzzle. If you have questions for your programming language, you could try there too, but I think you'll be better of in a specialized forum or sub.
Lastly there are plenty of good tutorials online. Just Google "<programming language> tutorial" and read through them. It should explain everything. But whatever you do, to get started. The best way to learn programming is to actually code. It's mostly experience what makes you a programmer.
I use fluxbox as my window manager and I'm pretty happy with it. I don't know if it's the lightest, but it's pretty light.
My system uses less than 200MB RAM in idle including stuff like a locker, indicators, idesk, etc.
Normally fluxbox is controlled via keyboard shortcuts, but there is a package to add desktop icons if you feel the need to: idesk (I remember it being an AUR package)
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..
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.
I had similar issues on Windows with my laptop. For me it was a driver issue.
Soo.. I guess you could try to install another graphics card driver (proprietary perhaps)
It is not entirely clear to me, what exactly your issue is.
Is it the not-aligned text that's the issue here? Or is it the running job, that is stopped?
Yeah, this way you shouldn't have to worry about errors while copying/resizing/cloning the data.
You can copy the files using rsync. The EFI partition should be easy to clone. If you didn't customize the bootloader, the simplest thing would be to just reinstall the bootloader to the new EFI partition. Root and home can easily be copied afterwards (using rsync again)
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).
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.Hey guys! Thank you very much for your help!
I moved to the new drive and everything works flawless. I'd like to share what I finally did:
sfdisklike so:sfdisk -d /dev/old | sfdisk /dev/newntfsclone --overwrite /dev/new1 /dev/old1rsync -axHAWXS --numeric-ids --info=progress2 /mnt/old /mnt/new
I really appreciate all your input and help! Thank you very, very much!
You're right! I could simply use both tools. Well, I didn't think of that.
Thank you very much!
So you would recommend copying the files using rsync?
I'm a bit scared, if it messes up the NTFS files permissions. Even if you're just mounting an NTFS partition, Linux has problems with those.
I never used Clonezilla before. It looks pretty complex from my first impression. But it actually seems like I could get it to work.
Thank you very much for your recommendation!
Thank you for your recommendation!
Sadly it looks like it just clones the device. This seems to be equivalent to what I could do with dd. But I'll look into this option.
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?
Couldn't you just link the uppercase ~/Downloads to the lowercase ~/downloads ? The uppercase would still appear, but you'd have all files in the lowercase directory.
There's a Website called "Advent of code". It's basically a programming challenge for every day in December until Christmas with a sweet little backstory. You can do all older puzzles (because it's not Christmas today). They are saved on the website. Even the ones from the last year's. I'd encourage you to start with the first year (I believe it was 2015) and just start.
There's even a subreddit r/adventofcode if you have questions to a puzzle. If you have questions for your programming language, you could try there too, but I think you'll be better of in a specialized forum or sub.
Lastly there are plenty of good tutorials online. Just Google "<programming language> tutorial" and read through them. It should explain everything. But whatever you do, to get started. The best way to learn programming is to actually code. It's mostly experience what makes you a programmer.
With that said. Happy coding!
I recommend looking at
powertopit's a command line tool, that shows you the power consumption of all your hardware components and software running.I use fluxbox as my window manager and I'm pretty happy with it. I don't know if it's the lightest, but it's pretty light. My system uses less than 200MB RAM in idle including stuff like a locker, indicators, idesk, etc.
The default fluxbox experience is pretty windows-xp-ish but there are some good themes over at r/unixporn (This is the one I use: https://www.reddit.com/r/unixporn/comments/674xiz/fluxbox_daftp_2/ )
Normally fluxbox is controlled via keyboard shortcuts, but there is a package to add desktop icons if you feel the need to:
idesk(I remember it being an AUR package)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..
Yeah, I feel you.. Something like "Plymouth" just for the poweroff screen would be perfect.
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.
I had similar issues on Windows with my laptop. For me it was a driver issue. Soo.. I guess you could try to install another graphics card driver (proprietary perhaps)
End of this list.
Back to top