Wiped my son's windows installation today!

My 15-years old son has a PC which he hadn’t booted for years. It is a weak machine without a GPU. He mainly played Minecraft few years ago. I had installed Ubuntu to it as dual boot with windows. Well today I booted to Ubuntu (kernel 4.something), last login was on 2021 IIRC. So I asked him how to proceed and we agreed that he’ll start learning Linux.

At the moment I’m installing Debian 12 as a base. The goal is to install Batocera. I will assist him but let him do it. Let’s see if I can persuade him off from windows!

He uses win laptop for school and has never tried Linux.

10 Likes

I am 16 and I also started using linux since 12!
Have learnt a lot!

I’m sure he’ll enjoy it!

7 Likes

Wiped my son’s windows…

Can you come and do ours next, windows are always a task to do, too big and always a mark and i miss it double glazing can be a pain … hahaha … closest i want to be to windows now

7 Likes

I will do it for you if you get the flights from and to Helsinki :joy:

5 Likes

Do you have windows of glass or just iceblocks ?

4 Likes

LOL! Not too cold at the moment here.

3 Likes

Great choice! :wink:

Let’s hope the best!

It’s as easy as dd if=/dev/zero of=/dev/sdX bs=64k status=progress
where /dev/sdX refers to the drive storing the installed Windows instance :smiley:

4 Likes

Glad my students never learned that, closest they got was KILL -9

3 Likes

I needed to dd if=/dev/zero of=[my_usb today]. It was not enough to use gparted to format it before I dd’et the debian net install .iso into it.

We made some progress, it now has Enlightenment DE and Steam installed. A 55gb game is downloading at the moment. All done in terminal :partying_face:

5 Likes

Well done, not at that level myself and dont trust enough to get to it, prefer cheating and using gui

3 Likes

I think it’s just that I’m more used to cli. I prefer cli over GUI. For me it’s easier to write the command than go thru settings → something → something with mouse.

6 Likes

And you can script what you have done.
I always script things like updates. It has saved me many times.

5 Likes

I usually just use history
and ‘!’ the command no. I used to have a lot of aliases but not any more.

4 Likes

This is the first time I hear about this.
Just tried, and confirm, it’s awesome! :smiley:
Thanks!

4 Likes

If you type a command without sudo and get permission error and need to add sudo in front of it just write ‘sudo !!’ It will be sudo 'last command ’

6 Likes

Sometimes you need the output as well as the command. Especially updates.

I use ‘!nn’ a lot … also ‘!v’ to rerun the last vi … it means rerun the last command beginning with ‘v’ ,
and ‘!!’ for last command.

4 Likes

Please can you explain more on the ! Symbol what it does and why, where would you use it. Not found it in my linux book

Same with NO

2 Likes

Its all about a shorthand way of accesing the command history in a terminal.
It is available in the sh and bash and tcsh shells… not sure about others, but it should be there… it is a very basic idea present since the original Unix from AT&T.

When people sat at teletypes, they could not scroll back and copy commands… they needed this to access previous commands. It is still useful and efficient.

7 Likes

Great article. I have only used !! and !nn.

One thing I sometimes do is that I use ‘su’ instead of sudo. The ‘su’ history is different than the normal user’s history and usually there’s only few commands. I use it if I’m doing something special which needs sudo/admin rights and if something goes wrong it’s easier to troubleshoot su’s history than try to find the commands from normal user’s history. I hope you get the point. Less commands when using su instead of normal user in history, easier to troubleshoot what’s wrong.

3 Likes

I never ever use sudo… always su.
Apart from , as you say, a briefer history, I inevitably want to do more than one thing as root, and typing sudo all the time is a pain.
My safety precaution is to make the root window small and always place it on the bottom left of the screen.
Some distros make a red coloured prompt when you are root… I like that idea.

5 Likes