I tried dual-booting Manjaro from my Ubuntu install, since VMs were slow on my machine at the time and I wanted to give Manjaro a try.
Manjaro wouldn’t boot (X11 sessions crashes on boot), and then when I returned to Ubuntu, I got dropped straight to the GRUB rescue shell because I had shrunk the partition from the Manjaro installer, and it had fucked up the Ubuntu install :/ so instead of two OSes I had none
I feel like I have done that too, but long time ago. I always got confused with dual booting. I get weird trying to calculate how much to space to give each partition.
dd’ed an ISO onto the system drive instead of a USB stick. Luckily, the first partition was the Windows one, so not too important; and the rest I recovered from the GPT backup table.
Think of the opportunity Linux creates in a place like India. If you have some smarts and a good work ethic, Linux and a machine from 2010 allows you to run the very latest software used by tech giants all over the world.
You can self-teach a huge number of skills on Linux and become deeply familiar with the REAL software that professionals are using—even in the West. One you know your stuff, you can leverage that into a job that pays fantastic money by local standards.
If you want to be a developer, you can build a GitHub portfolio or participate in Open Source projects.
If you are more entrepreneurial, you can post videos showing others how to use the skills you have acquired. These not only make a fantastic resume but they can generate advertising income. What may seem like a poor return on time in richer countries can provide important income in poorer ones.
If you have not tried it, you may be amazed that you can run up-to-the minute current versions of Docker, Kubernetes, databases, dev in any language ( even .NET ), and almost any other in-demand technology on really old Linux hardware.
Beyond hard technology skills, a Linux computer is just a fabulous productivity tool. You can get hardware and software to help manage your business that you perhaps could never afford otherwise. If you are a creative professional, you have access to amazing tools. If you are a photographer, you have pro level tools. If you are an architect or engineer, same thing. Again, we can say that some of these are not “professional” but I bet they do the job in markets where few can afford expensive software.
About the only things that push the hardware envelope these days are video editing, AI, and gaming. Even these work better than you may think though. It will take you longer but you can do pretty good video editing on 2010 HW for example.
If you have any expectation of privacy, you shouldn’t use chromium based browsers. Their purpose is not privacy, and google actively makes sure it will never be.
What @StarkZarn said is correct. Just one more thing: Did you reload/restart the sshd service after changing the configuration? If so you should be good.
A person in this thread already recommended having different colors for different conditions like ssh and running as root, I havent seen anyone mention this specifically but you can determine if the current working directory is writable with something like [ -w “$(pwd)” ] and set the color to red or print a symbol if it doesnt return true.
Also I recommend putting all the code and logic for your shell prompt in a shell function, and using a substitution shell to put it into the PS1 variable like this:
<span style="color:#323232;">__shellprompt ()
</span><span style="color:#323232;">{
</span><span style="color:#323232;"> if [ "$(id -u)" = 0 ]; then
</span><span style="color:#323232;"> local PROMPT_EMBLEM='#'
</span><span style="color:#323232;"> else
</span><span style="color:#323232;"> local PROMPT_EMBLEM='$'
</span><span style="color:#323232;"> fi
</span><span style="color:#323232;"> printf "%s" "$(whoami)@$(uname -n):$(pwd)"
</span><span style="color:#323232;"> printf "n%c " "$PROMPT_EMBLEM"
</span><span style="color:#323232;">}
</span><span style="color:#323232;">PS1='$(__shellprompt)'
</span>
Now this is just a really barebones example, there is a whole lot more you can do like passing in the last exit code through the argv of your shellprompt function like this PS1=‘$(__shellprompt $?)’ and like print it out if its non-zero so you wont have to like echo $? to see if the last command failed, but you should be able to still do this. In my testing, running the shell prompt function in the subsitiution shell didnt effect the $? variable.
In my first comment on another thread about shell prompts, I posted my full shellprompt, it is slightly outdated (I just changed hostname to uname -n), if you cant find it feel free to send a message or just ask, and I will send you the code.
This example is very enlightening. I was kind of aware that one could run shell functions and even use a GIT function in my prompt, but I never thought it through and your example brings the point home.
I’ll waste most probably a few hours to find my perfect prompt function!
Something that should be noted when adding colors to your shell prompt function is adding the non printable characters that keep the terminal from buggin out, this caused me a massive headache until I figured it out. When putting it in the PS1 variable directly you will put [ to begin a color sequence and ] to end one, but printf will print a literal [ and ] so instead you will have to use `
I use SpiralLinux on my old Inspiron but it’s basically just Debian with some user-friendly tweaks. I guess you could try Tiny Core or Porteus or something really small like that.
The whole mechanism of working of Clonezilla is about the least intuitive I have ever found. So many chances for errors/mistakes, especially if you’re trying to do a network backup. Rescuezilla invokes clonezilla as a backup mechanism, but it saves you all the trouble with a way more intuitive UI. It’s been a revelation to me since I found about it, and refuse to use clonezilla alone.
It’s not open source but I absolutely love Veeam Agent, it will backup an online system with encryption, very easy to use, and they provide a bootable recovery image to restore from.
I used to use Inter Semibold as my main UI font but recently moved over to SF Pro Text Semibold. I've been consistently using the Nerd Fonts version of Fira Code for terminal/IDE
linux
Top
This magazine is from a federated server and may be incomplete. Browse more on the original instance.