this post was submitted on 22 Aug 2024
798 points (98.9% liked)
Technology
60052 readers
3172 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Finished migrating to Linux right on time
Is there anything you'd recommend as a migration tutorial from someone who's used windows their whole life?
I have a really basic one. Some caveats - I've also used Windows my whole life (up until about 2 weeks ago), but I'm comfortable getting into a command prompt and/or powershell to tweak stuff. Also, I had a spare SSD lying around and extra space on my installed HDD.
Step 0 (arguably the hardest): pick your distro.
I went with Arch - but if you want something Arch-based but a little less barebones, you might do fine with Manjaro or EndeavourOS. This is totally up to you though (I'm in the process of migrating my wife to openSUSE). "But Gaspar, you crazy old man," you may ask, "what all is out there?" Well.. there's a lot. Over 600 active distros, if you believe this random-ass tech blog, and countless other hundreds (or thousands) that are old, outdated, no longer supported, or were cooked up by one dude specifically for their own system and will never be uploaded. There are a couple of tools that can help narrow this down, but you're really just going to have to poke around and see what appeals to you.
Step 1: Test in a virtual machine first.
This is optional, but it may help you make up your mind: pick a few different distros and install them in virtual machines, using VirtualBox or something. You can poke around in there and see how things "feel" before you make up your mind, without worrying about messing something up.
Step 2: Load up a USB stick.
Ventoy. You don't HAVE to use this, strictly speaking. You can just get Etcher or Rufus or something, use them to write your chosen distro's ISO to a USB stick, and install that way. But Ventoy sets up a separate partition on your USB stick where you can grab a bunch of different ISOs and drag-and-drop in there, and load up whichever one you want. Pretty handy.
Step 3: Go into Disk Management and free up a partition for your chosen distro.
This is up to your taste (I just installed it into its own whole SSD) but I'd set aside at least 256GB for the OS and the packages you'll want to install once you get in there. Again, though, YMMV.
Step 4: Install that sucker!
OK, now boot into your ISO through the USB stick you prepared earlier and install the sucker on your new partition. Most distros will have you set up a root password and give you the option to create a user. YOU WANT TO DO THIS. You do not want to always access your system as root - that way lies madness (and it's wildly insecure). You may also get a choice of desktop environments. This is up to your taste but I went with KDE Plasma because I have a Steam Deck (which also runs on a variant of Arch) and I was already used to the interface.
Step 5: Migration start
After you've gotten set up and a little comfortable poking around (maybe you already figured out how you want to start setting up when you were testing VMs in Step 1 earlier), it's time to start partitioning. There are a few GUI partition managers you can use - I used KDE Partition Manager, but there's also Gparted and a few others.
Once you're in whichever program you've chosen to set up your partitions, you'll want to proceed in this basic order:
Step 6: Wait what?
Well, maybe your Windows drive is full, or there isn't enough space on the new partition to copy everything over. This is why I mentioned the spare SSD. You can plug that in, if you have one, and use it as a placeholder to copy your files to while you reformat your drive and then copy everything back.
Also - filesystem of your choice? Well, Linux has a few options for partition types: ext4, btrfs, zfs, and a bunch of others. You'll have to check them out and see which makes the most sense for you. I personally just reformatted everything as btrfs. It may not have been the most efficient choice, but it's worked out for me so far. The main issue here is the standard Windows NTFS file system. Now - you CAN keep a lot of your data on an NTFS partition, especially if you want to dual boot Windows for a while and get used to things while still having that familiar lifeline (or, like me, if you have some games that still just don't play well with Linux yet). Here's the thing, though: thanks to a driver you can download, you can fairly easily get Windows to mount your btrfs partitions (I did it and even still have my drive letter associations). Plus, if you are a heavy Steam gamer, while you CAN get Steam on Linux to read your NTFS partitions.. it's a huge headache, and it isn't worth it IMO (and, in my experience, I couldn't get my NTFS partitions to STAY mounted as read/write). Better to just bite the bullet.
If you are planning on dual-booting, of course your Windows partition will still need to be NTFS. But if you have the disk storage to copy everything over, you can have everything else converted to whatever combination of Linux partitions you want in a few days (took me about 3, but I also had 10-ish TB to copy over and I had to do half of that twice).
Final Thoughts
Depending on whichever flavor of Linux you opted for, you may boot into GRUB, which is a bootloader that gives you some pretty neat configuration options - one of those options is the ability to boot into all your existing OS installs, including your Windows installation. Once you get a bit more familiar with Linux you may wish to make your Linux partition the default, secure in the knowledge that whenever you want, you can just hit down a couple of times, then Enter, and boom - you're in Windows. Just be careful, because Windows recently pushed an update that may have broken this currently. I think it's a nice touch, though.
I have rambled on long enough at this point and I'm sure someone else can point out several hundred things I missed - again, I am still a Linux newbie. But the best way to learn this stuff is just to do it, and depending on your comfort level and familiarity with Windows it shouldn't take you long to get up to speed. Good luck!
Step 0 really doesn't need to be hard. Most Linux distros have largely the same compatibility with software, so pick something popular so you can get good community support. For that, I recommend Mint. Pick the flavor that looks pretty to you, and go for it, and if you can't decide, get the Debian edition (LMDE).
You're probably going to decide to use something else after getting to know Linux, and that's 100% fine, but you want something stable and popular to start with so you don't need to learn everything at once. After that, branch out to try something else until you find what works for you. I started with Ubuntu (all I knew about), then Fedora (what school used in CS labs), then Arch (rec from coworker), and now I'm on openSUSE Tumbleweed. For a new user, the differences honestly don't matter much, but once you get familiar with the basics, you'll start to develop opinions and want to try things out.
So keep it simple, install Mint and you'll probably have a good experience. Or if that doesn't look good for whatever reason, pick Debian or pretty much any Debian derivative (Ubuntu, Pop!_OS, etc). Those are really popular in the community, and you should have no problem getting help.
This is extremely helpful, thank you!
I'm taking a dual-boot route, it does have it's issues. Unfortunately due to work related and gaming reasons I can't let go of it just yet.
I went with Linux Mint and I've been happy as Larry since I got used to it. But distro hop until you find your fit I'd say, I had spare hardware I was distro-hopping with and Mint just fit me best I think.
You're spot on with Ventoy, it's a huge boon. I only recently became aware of it, absolutely love it already. I highly recommend giving it a go.
Awesome writeup, I'll likely refer to it in future.
I love the other guys response, but seriously I've heard enough recommendations and plan to try Mint after Windows. Sounds easiest for people that aren't Linux snobs.
@Gaspan made a good list. I would like to add a few more points.
Also, get into a mindset of learning. I know you are used to Windows for decades now, but now you are switching to a new OS. It will be bumpy at first but you will get used to it; do not fear it! Imagine switching from a car to a bike. You have to invest a little time in learning. Once you get used to it, it's smooth riding all the way. Best of luck!!
Source: Windows user of 2 decades converted to Linux.
Really helpful!! Thank you so much!! :)
Thank you so much!!
My tip is don't obsess too much about if you'll find replacement for this software or that software, the moment you'll need it you'll try and you will definitively find alternatives BUT it will take time to get used to it and it's the way it is.
The more you stay on the new system the easier it will be. I switched my desktop recently and I had the temptation of going back but I stuck to it and now I don't have the temptation, but I need windows for stupid whatsapp videocalls though (there are alternatives but the other person isn't tech savvy and I want to make things easier)
Most important part would be talking about it as often as possible, a la CrossFit or veganism.
I’m currently dual booting and still uses Windows for gaming since I tried gaming on Linux and I basically got around half the FPS that I usually got on Windows (I have Nvidia GPU). I think I’ll fully migrate when I upgrade to an AMD GPU sometime in the future.
How'd that Windows update go? Did it break your grub?
Luckily on my system it didn't break.
Didn’t break mine, I’m dual booting Debian 12
I’m dual booting Debian and Windows, is there an easy way to fully remove the windows partition and add it to Debian to fully be rid of windows?
You could use GUI partitioning tools to just remove the windows partition and expand your debian installation. Did you install an extra bootloader for linux?
Be careful expanding the Linux partition, depending on how you've set things up, you may need to reinstall the bootloader after doing it. So keep a live USB around in case things don't boot so you can do that.
Yes i installed and changed the boot order to do Debian first, disabled secure and fast boot also. I heard that could cause som issues
It can, but that's not what I meant. When booting linux, do you see the blue windows menu where you can decide between debian and windows or does linux just start? If it just starts, you can just delete the windows partition (make sure to check that all important data has been copied to linux or you will loose it!). If unsure which partition it is, it's the one with ntfs as the file system.
It’s not a blue window, it says Debian and lets me choose between Debian as the first option and windows as like the third one
Good, but as pointed out by another user, you might need to reconfigure grub after deleting the windows partition. Or save your files on an external media and reinstall debian over the entire disk if you don't want to mess around.