Recently the secondary hdd broke. I had installed some programs to it.
Now I can`t reinstall certain programs because the msi installer throws an error because the program still counts as installed. Trying to remove it results in the system trying to launch the uninstaller from the non existing hdd.
Btw the installer errors I first got are as bad as you'd expect from windows.
The hibernation thing is badly solved in most distros, as a fedora user I agree. But it can, depending on your laptop model work without hibernation. I had to dig really deep to find out how to configure it corectly for my machine.
As it turnes out my laptop supports deep-sleep, but fedora just used s3 sleep, which drained like 5% of battery every hour. Found out that you can enable deep-sleep but that requires you to update your grub config. Once configured its like 5% a day maybe, which is fine for me.
I had to use Powershell for work recently and it wasn't great.
There are great concepts there for sure, but it really lacks some functionalities which are common on UNIX systems.
Cmdlets are neat, but they are named in a verb-noun way, which results in long names to type like Get-Help which is painfull imo.
As I brought up get-help, you need to update it on first usage to get decent help pages... It errored on some of them when I ran the update on a fresh install of win10.
It has no usable pager built in. Only ones who dont support scrolling back up and have no search, which makes reading help on the terminal a really bad experience. Oh and it won't display the desciption of command flags and options without specifing -detail or -full which makes you type even more.
Had to use some system internals which even on the command line hat windows typical bad error messages.
Had one cmdlet which required a file path to be given which I had an error in, guess what, the error wasn't about the wrong file path.
As a developer I had problems with Ubuntu in the past.
Even tough everyone writes instructions for Ubuntu, I found that it does things in some ways which are really hard to work around if problems occur.
One example is the policy to ship most of the stuff as snap package rather than a normal apt package.
I settled with Fedora because of the clean uncluttered feel and the good stability (sometimes stuff breaks on major updates, but its rare).
fyi: It actually was the btrfs partition which was causing the trouble here. I rememgered I had a Ubuntu on a usbdrive for incidents like these and dug around. After removing the entry from fstab the system boots fine again.
Maybe the drive got damaged while shifting the PC around.
I will check it and probably have to buy a new one.
Interestingly one of the drives in my homeservers raid failed only a few days ago, only coincidence or causality?
Edit: The drive actually doesn't show up at all.
But connectors seem fine and drive spins. Will investigate further tomorrow, need to get some sleep.
In result to the timeout I get a Dependency fail for a btrfs partition on a secondary disk, but I don't see how thats linked to linux switching to emergency mode, since it has no system relevant data on it.
Your infill is to sparse, Prusa Slicer won't adjust that automatically. But I belive theres an option which makes it denser towards interfaces.
You can of course change the overall density of the print if thats an option for you.
Jep, but you can get it to work in many cases.
And that's pretty awesome if you ask me, as most of the Games were never written to be run on Linux in the first place.
If more Games were Published with native Linux support, the situation might be different. Games with Linux support run pretty good as far as I experienced. Probably things will change for the good in the future, since GPU support got way better and NVIDIA and AMD actively supporting Linux.
The same goes for many other Applications where the Companies won't build Linux versions. (Mostly due to not wanting to build open source and not wanting the extra effort for a minority of users)
The modern desktop environments eat up a lot of ram, that's the main problem on such machines.
When you are comfortable with that, I suggest using a lightweight window manager like sway.
If using Ubuntu without the standard desktop environment is a good idea, I don't know, but it might be worth giving it a try ¯\_(ツ)_/¯
PS. Use a SSD on that laptop, it gives such slow machines a real boost compared to regular HDDs
Of course you'll need some (preferably fast) storage medium from which you can boot.
I have something like a portable m.2 ssd in mind which you'll plug into some usb3 port.
But maybe someone has a better idea how to accomplish that task.
If I understood your question right, yes that's possible when some criteria are met.
Most important is that you are using the same CPU architecture on both machines, but I assume that's the case.
Other than that as far as I know, there should be very little problems when switching the hardware.
First of all, most of your questions don't have a simple straight forward answer.
Things you want to do are absolutely possible, but there isn't a universal answer and most things depend on your usecase, personal preferences and knowledge.
Regarding hacking: There is a special Linux distribution, named Kali, which comes with almost any tool a hacker can imagine.
But to really have success hacking you probably won't be off learning only hacking. There are plenty tutorials online which teach you standard techniques but you will need a in depth understanding of operating systems and software to do more than "script kiddy" things.
Adding up to the other tips, you may want to learn some general basics about computer internals.This knowlege helps me a lot to figure out what problems had to be solved to create a operating system. Otherwise I often found myself understanding what some software-component does but not why.
The knowledge required doesn't need to be really in depht, more like know the components and how the general communication between them works.
Experienced same on Fedora.
Can't say anything Arch specific.
On Fedora they removed hibernation and you'd have to manually patch it in if wanted.
Also suspend is only set to s2idle by default (rather then deep sleep) which consumes way to much energy when the laptop won't go to hibernate after some time.
I really don't understand these decisions.
There should be a command to list all installed packages (something like apt list --installed).
When you pipe that list in a file (maybe some formatting has to be done, the apt command may also have something for that), you can later reinstall all these with apt install < yourprogramms.txt .
Since I'm only working infrequently with Ubuntu, this method may not work exactly the way described above.
I have a similar problem on my Laptop with Fedora installed.
When pressing the "suspend" key on my keyboard I see the expected behavior (doing "suspend" as configured in logind.conf).But when closing the Lid, the screen only flickers but stays on and nothing happens.
I configured logind.conf to HandleLidSwitch=suspend and I also get a entry in my jounal when opening/closing the lid (e.g. systemd-logind[1084]: Lid closed.). But beside that I dont see anything in the logs.
I also fiddled with various settings in logind.conf and sleep.conf and also tried to exclude problems coming from gnome-shell e.g. , but nothing helped till now.
Edit:
Seems that this was caused from a script which gnome-tweaks had in its autostart for the lid options gnome-tweaks has, and that was falsely activated.
Furthermore the LidSwitchIgnoreInhibited=yes option in logind.conf didn't change anything regarding the gnome-tweaks inhibitor.
Also have a win10 for gaming.
Recently the secondary hdd broke. I had installed some programs to it.
Now I can`t reinstall certain programs because the msi installer throws an error because the program still counts as installed. Trying to remove it results in the system trying to launch the uninstaller from the non existing hdd.
Btw the installer errors I first got are as bad as you'd expect from windows.
The hibernation thing is badly solved in most distros, as a fedora user I agree. But it can, depending on your laptop model work without hibernation. I had to dig really deep to find out how to configure it corectly for my machine.
As it turnes out my laptop supports deep-sleep, but fedora just used s3 sleep, which drained like 5% of battery every hour. Found out that you can enable deep-sleep but that requires you to update your grub config. Once configured its like 5% a day maybe, which is fine for me.
I had to use Powershell for work recently and it wasn't great.
There are great concepts there for sure, but it really lacks some functionalities which are common on UNIX systems.
Cmdlets are neat, but they are named in a verb-noun way, which results in long names to type like
Get-Helpwhich is painfull imo.As I brought up get-help, you need to update it on first usage to get decent help pages... It errored on some of them when I ran the update on a fresh install of win10. It has no usable pager built in. Only ones who dont support scrolling back up and have no search, which makes reading help on the terminal a really bad experience. Oh and it won't display the desciption of command flags and options without specifing
-detailor-fullwhich makes you type even more.Had to use some system internals which even on the command line hat windows typical bad error messages. Had one cmdlet which required a file path to be given which I had an error in, guess what, the error wasn't about the wrong file path.
As a developer I had problems with Ubuntu in the past.
Even tough everyone writes instructions for Ubuntu, I found that it does things in some ways which are really hard to work around if problems occur. One example is the policy to ship most of the stuff as snap package rather than a normal apt package.
I settled with Fedora because of the clean uncluttered feel and the good stability (sometimes stuff breaks on major updates, but its rare).
Solved it...
fyi: It actually was the btrfs partition which was causing the trouble here. I rememgered I had a Ubuntu on a usbdrive for incidents like these and dug around. After removing the entry from fstab the system boots fine again.
Maybe the drive got damaged while shifting the PC around. I will check it and probably have to buy a new one.
Interestingly one of the drives in my homeservers raid failed only a few days ago, only coincidence or causality?
Edit: The drive actually doesn't show up at all. But connectors seem fine and drive spins. Will investigate further tomorrow, need to get some sleep.
In result to the timeout I get a Dependency fail for a btrfs partition on a secondary disk, but I don't see how thats linked to linux switching to emergency mode, since it has no system relevant data on it.
Layer shifts can have various causes.
Here are the most common:
Your infill is to sparse, Prusa Slicer won't adjust that automatically. But I belive theres an option which makes it denser towards interfaces. You can of course change the overall density of the print if thats an option for you.
In addition to the others, resin is really messy if its not handled carefully. And thats definitively going to happen in a school enviroment.
Something like a Bambulab X1 or a Prusa are the type of printers you are looking for.
Jep, but you can get it to work in many cases.
And that's pretty awesome if you ask me, as most of the Games were never written to be run on Linux in the first place.
If more Games were Published with native Linux support, the situation might be different. Games with Linux support run pretty good as far as I experienced. Probably things will change for the good in the future, since GPU support got way better and NVIDIA and AMD actively supporting Linux.
The same goes for many other Applications where the Companies won't build Linux versions. (Mostly due to not wanting to build open source and not wanting the extra effort for a minority of users)
The modern desktop environments eat up a lot of ram, that's the main problem on such machines. When you are comfortable with that, I suggest using a lightweight window manager like sway. If using Ubuntu without the standard desktop environment is a good idea, I don't know, but it might be worth giving it a try ¯\_(ツ)_/¯
PS. Use a SSD on that laptop, it gives such slow machines a real boost compared to regular HDDs
This might be a bit to easy, but has the file the executable bit set? (run ~# chmod +x yourfile.sh to change it via terminal)
Of course you'll need some (preferably fast) storage medium from which you can boot. I have something like a portable m.2 ssd in mind which you'll plug into some usb3 port. But maybe someone has a better idea how to accomplish that task.
If I understood your question right, yes that's possible when some criteria are met. Most important is that you are using the same CPU architecture on both machines, but I assume that's the case. Other than that as far as I know, there should be very little problems when switching the hardware.
First of all, most of your questions don't have a simple straight forward answer.
Things you want to do are absolutely possible, but there isn't a universal answer and most things depend on your usecase, personal preferences and knowledge.
Regarding hacking: There is a special Linux distribution, named Kali, which comes with almost any tool a hacker can imagine. But to really have success hacking you probably won't be off learning only hacking. There are plenty tutorials online which teach you standard techniques but you will need a in depth understanding of operating systems and software to do more than "script kiddy" things.
Adding up to the other tips, you may want to learn some general basics about computer internals.This knowlege helps me a lot to figure out what problems had to be solved to create a operating system. Otherwise I often found myself understanding what some software-component does but not why.
The knowledge required doesn't need to be really in depht, more like know the components and how the general communication between them works.
I figured out that you need to escape the curly braces. "/^\d\{3}$/gm" should do the trick.
Experienced same on Fedora. Can't say anything Arch specific.
On Fedora they removed hibernation and you'd have to manually patch it in if wanted. Also suspend is only set to s2idle by default (rather then deep sleep) which consumes way to much energy when the laptop won't go to hibernate after some time. I really don't understand these decisions.
Installing software from repositories in no time without worrying about install settings, adware, ...
That's definitely a thing you want to do in bash, as simple that there isn't even need to write a script.
Also I would somehow test or verify if it works the expected way before fiddling with your system.
There should be a command to list all installed packages (something like apt list --installed). When you pipe that list in a file (maybe some formatting has to be done, the apt command may also have something for that), you can later reinstall all these with apt install < yourprogramms.txt .
Since I'm only working infrequently with Ubuntu, this method may not work exactly the way described above.
Maybe switching to another distro, which has has more of a focus on providing the latest releases in their repos, would be a good option for you.
I personally use fedora for desktop machines and am really happy with the package versions they provide.
Could it be that you just need to
systemd enable foobeforesystemd start foo?I have a similar problem on my Laptop with Fedora installed.
When pressing the "suspend" key on my keyboard I see the expected behavior (doing "suspend" as configured in
logind.conf).But when closing the Lid, the screen only flickers but stays on and nothing happens.I configured
logind.conftoHandleLidSwitch=suspendand I also get a entry in my jounal when opening/closing the lid (e.g.systemd-logind[1084]: Lid closed.). But beside that I dont see anything in the logs.I also fiddled with various settings in
logind.confandsleep.confand also tried to exclude problems coming from gnome-shell e.g. , but nothing helped till now.Edit:
Seems that this was caused from a script which gnome-tweaks had in its autostart for the lid options gnome-tweaks has, and that was falsely activated.
Furthermore the
LidSwitchIgnoreInhibited=yesoption inlogind.confdidn't change anything regarding the gnome-tweaks inhibitor.End of this list.
Back to top