this post was submitted on 22 Aug 2023
78 points (92.4% liked)

Linux

47976 readers
1194 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm looking to finally use Linux properly and I'm planning to dual boot my laptop. There's enough storage to go around, and while I'm comfortable messing around I'd rather not have to run and buy a new device before school while fixing my current one.

https://m.youtube.com/watch?v=VaIgbTOvAd0

This was the general guide I was planning to follow, just with KDE Plasma (or another KDE). I was going to keep windows the default, and boot into Linux as needed when I had time to learn and practice.

I assume it should be the near similar process for KDE Plasma?

I'm ok with things going wrong with the Linux install, but I'd like to keep the Windows install as safe as possible.

top 50 comments
sorted by: hot top controversial new old
[–] BCsven@lemmy.ca 32 points 1 year ago

Always install Windows first then Linux in dualboot, otherwise microsoft messes with your boot area. Have a separate boot partition for Linux and some distros have foreign OS probe and will auto setup your grub menu to chainload to windows. This stops Windiws messing with your Linux boot partition since it has no clue it exists

[–] cmnybo@discuss.tchncs.de 23 points 1 year ago (7 children)

If your laptop has room for a second drive, it's easiest to put Linux on its own drive.

load more comments (7 replies)
[–] Cralder@feddit.nu 18 points 1 year ago (1 children)

Windows and Linux keeps track of time differently. One stores the time in your current time zone. The other stores the GMT time and adds an offset. I forget which one does what but it results in your time being wrong each time you switch from Linux to Windows or vice versa. You can search for how to fix it, its not very hard, or you can just ignore it and reset your clock each time you switch OS.

[–] SpaceCadet@sopuli.xyz 9 points 1 year ago* (last edited 1 year ago) (1 children)

I don't think that's the case anymore.

I just checked, the time in the UEFI BIOS is in UTC, yet both Linux and Windows 10 display the local time correctly as an offset to UTC. I didn't have to do anything special for that.

[–] Tippon@lemmy.dbzer0.com 4 points 1 year ago (4 children)

It is with Windows 10 and Mint. I booted into Mint a few days ago, and when I switched back to Windows, the time was wrong.

Apparently it's easy to fix, but I keep forgetting while I'm in Mint >.<

[–] SpaceCadet@sopuli.xyz 4 points 1 year ago (1 children)
load more comments (1 replies)
[–] putoelquelolea@lemmy.ml 3 points 1 year ago (1 children)

You can also fix it by running the following command on your Linux machine:

timedatectl set-local-rtc 1 --adjust-system-clock

load more comments (1 replies)
load more comments (2 replies)
[–] Weslee@lemmy.world 16 points 1 year ago* (last edited 1 year ago) (3 children)

Just incase you're unaware, if you're looking to learn Linux but keep the windows until you're familiar enough with Linux, there is a way to install Linux in windows as a container, it's called WSL 2.0

Might be easier for you to learn with, and if you brick it then you can just wipe the container and start again, takes minutes to do

[–] SaveComengs@lemmy.federa.net 14 points 1 year ago (3 children)

I don't recommend wsl because it bodges the worst part of windows (windows terminal) onto linux. Also, it's much nicer to learn in a vm where you are learning actual linux, instead of MS' interpretation of linux.

It's like playing with clay in a bag, versus playing with clay with your bare hands.

[–] Ineocla@lemmy.ml 5 points 1 year ago (1 children)

First the powershell is a very good terminal and some even consider it better than bash. And if you're talking about the actual terminal emulator it also became really good with the new windows terminal(which is also open source) it bas many good features and customization options. Also wsl2 IS a VM running on hyper-v. It simply uses a custom kernel optimised for it and the cherry on top of the sunday : you can run gui apps natively (windows 11) with WSLg which uses wayland/xwayland

load more comments (1 replies)
load more comments (2 replies)
[–] undrwater@lemmy.world 6 points 1 year ago (1 children)

This is probably better than dual booting. You're learning the command line, which is the happiness foundation needed to enjoy linux.*

load more comments (1 replies)
[–] otter@lemmy.ca 4 points 1 year ago

WSL 2.0

I appreciate this, I've had WSL for a little while now. It did take some getting used to and I think I'm ready to give it a try for real now

[–] Pantherina@feddit.de 15 points 1 year ago (2 children)

I would now say never on the same disk. A shame because many laptops only have one slot. But Windows 11 may do anything and you never know what happens after a "Windows update"

[–] otter@lemmy.ca 4 points 1 year ago (2 children)

I've seen people talk about Windows messing up the Linux install. Have there been cases where the windows install itself was messed up after an update (or is it straight up "you never know" and anything can happen)

I only have one slot, and I'd prefer to not have to carry around a USB or external drive if I can avoid it. I'm ok with having to redo the Linux install/setup, and it might be nice practice anyway. But I definitely need to have windows running and stable for schoolwork.

[–] Ludrol@szmer.info 6 points 1 year ago

When I was using windows 10 + linux mint for over the 2 years I never got a boot problem from windows update. You just need a separate EFI partition for linux boot loader.

My Partitions: Windows boot C: D: Windows recovery or some other crap Linux EFI for grub / (Root directory) Swap

I don't bother with separate /home because I never know how much I will fill up my disk

load more comments (1 replies)
[–] UnPassive@lemmy.world 3 points 1 year ago

Twice after a windows update I lost my bootloader menu and my laptop would boot straight into Windows. After the second time I just removed Windows. Some investigation revealed that "Windows does not support dual booting" which I believe translates to "we will ocationally cause issues that a beginner would struggle to fix in the hopes of them staying on Windows." Just a theory. Separate drives for sure if you can. No idea if they still do this as it's been years since I dual booted

[–] luthis@lemmy.nz 13 points 1 year ago (1 children)

I did this, and now I would say 'is it really worth it?'

After a while of dual booting I realised I was never using Windows, I was only using it originally for playing Oblivion.

It's probably good experience though, and you will learn a bit about GRUB.

I would argue instead, identify which applications you need Windows for, and then determine what is required to run those on Linux or find alternatives. And then just make the switch.

Linux is kinda simple. Everything is a file.

[–] nottheengineer@feddit.de 3 points 1 year ago

I went about it the other way around. I switched to linux because I was tired of windows and found alternatives to the software I was used to along the way.

[–] BigTrout75@beehaw.org 13 points 1 year ago (2 children)

Boot with a live USB image first. Check and see if everything is working. Don't be married to the first Linux distro you try.

[–] otter@lemmy.ca 4 points 1 year ago (1 children)

That's fair, I'll take some time to explore them :)

[–] moreeni@lemm.ee 5 points 1 year ago

On the other hand, try not to get into distro hopping hell

[–] PuppyOSAndCoffee@lemmy.ml 2 points 1 year ago

This is really the best advice. Dual boot via USB. Once something clicks, then look at dual booting.

USB boot is the second most fun way to learn Linux. Esp with high speed 40Gbs flash, there isn’t a ton of reason not to.

However backing up then trashing your windows environment will really teach one — it is a commitment!! But the learning will defn happen, there is no turning back after the windows partition gets scratched and GRUB enters the scene.

“Monitor scan line cfg don’t fail me now!”

“Interesting, mobo WiFi is MIA. Where did that 20’ Ethernet cable go?”

“Audio device not found. Okkkkkl”

[–] gamey@feddit.rocks 11 points 1 year ago (4 children)

Windows likes to fuck with your Linux boot loader after every feature update!

load more comments (4 replies)
[–] Shady_Shiroe@lemm.ee 10 points 1 year ago (3 children)

The simplest and the most windows like in looks distro would be Linux mint, it's probably better than trying Ubuntu or other distros for your first experience with Linux.

If you want a challenge then go for it but just letting you know it's better start off with a few wins under your belt then getting freaked out by complex systems like fedora made for advanced users.

load more comments (3 replies)
[–] nottheengineer@feddit.de 10 points 1 year ago (1 children)

The video missed one small, but very important thing: You need to disable fast boot in windows before mounting your windows partition in linux, otherwise it will get corrupted.

The reason for that is that windows doesn't actually shut down if you tell it to by default and it leaves the drive in a dirty state. Windows itself can pick that back up and boot off of it, but linux won't detect it. If you leave fast boot on, windows will run chkdsk on the next boot after using linux.

I found that out the hard way and got to not use my computer while it ran chkdsk on my 4TB HDD. It took 15 hours.

[–] lemba@discuss.tchncs.de 2 points 1 year ago

This is the best advice!

[–] Presi300@lemmy.world 9 points 1 year ago* (last edited 1 year ago)

Install windows 1st, Linux 2nd. Generally speaking Linux installers won't mess up a windows install, however most of the time the windows installer WILL mess up a Linux install.

Don't think of Linux the same way as windows, think of it as desktop android. Do not download applications from the browser, unless they're not available literally anywhere else, use the app center instead. Use a popular distro (Ubuntu/Ubuntu variant, fedora, etc...).

Use Wayland.

[–] GreatAlbatross@feddit.uk 7 points 1 year ago (1 children)

Have a think about how you want to arrange your data. While you can access windows partitions and files under Linux (and vise versa), it's better not to be constantly be mounting your windows C drive from another OS. Plus, if you're mid-update, or had to restart suddenly, windows will happily mark your drive as read-only.

I use 4 partitions for a dual boot. Sizes are based on a 1TB drive.

  • Windows C (100GB or so, OS drive). Only mounted by Linux if I have a big problem.
  • Windows D (NTFS formatted, my main storage partition. Mounted all the time by Linux. 700GB or so)
  • Linux root (50GB or so, EX4 formatted)
  • Linux storage (remaining space, EX4 formatted used for big programs, games, home folder)

This way, Windows OS is separate, main storage is accessible to both without tripping over permissions, linux root drive is separate from storage so reinstalling isn't so painful if something goes very wrong.

load more comments (1 replies)
[–] eah@kbin.social 7 points 1 year ago (1 children)

Some day you may find your machine booting into linux without displaying a grub menu. You were promised a menu giving you boot options. Where is it? The problem may be your grub timeout is 0. Set the timeout in /etc/default/grub and then run update-grub. See section 6.1 of the info grub manual.

load more comments (1 replies)
[–] Dotdev@programming.dev 6 points 1 year ago* (last edited 1 year ago) (5 children)

Turn off secure boot and just check if anyone has ever run your device with linux before. And kde plasma is a de not a distro.

load more comments (5 replies)
[–] PipedLinkBot@feddit.rocks 5 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/watch?v=VaIgbTOvAd0

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[–] kilgore@feddit.de 5 points 1 year ago

Whatever you do, don't cross the streams!

[–] deadcatbounce@reddthat.com 5 points 1 year ago

That you eventually delete the Windows partition.

[–] 9tr6gyp3@lemmy.world 5 points 1 year ago (8 children)

You can leave on secure boot nowadays if you install and configure the sbctl package. It can use the Windows secure boot method, and you'll have a successful dual boot deployment.

load more comments (8 replies)
[–] slowbyrne@beehaw.org 4 points 1 year ago

Backup all your personal data on windows prior to attempting anything. On a separate disk and cloud if possible. For cloud backups, just pick the important stuff. No need to backup steam libraries since steam servers are the backup in this case.

Like others have said, if you can use a separate disk, do that. If you can't do that and you just want to try out Linux, use a USB live disk to test hardware compatibility and the user experience, or if you have an old laptop or desktop that isn't being used, load Linux on that first.

Pick a popular distro for better community support. If you have a recently released laptop (less than a year old) might want to pick a distro with newer kernel for better hardware support. My personal recommendations are Pop!_OS, Fedora (both gnome and KDE versions). Both work well on newer hardware. Others you might want to try are Linux Mint and Ubuntu.

After getting Linux installed, try and keep your home partition backed up, especially if Windows is on the same disk.

Try and use Flatpak for all your apps, flathub is the web "store" for Flatpak apps.

Be open to trying the Linux alternative to apps since the windows version might not be available.

This is a new OS so expecting things to work a certain way isn't realistic.

Most of the time a GUI is available for what you need to do, but learning the terminal is super helpful and a lot of people prefer it once they make the switch.

When searching online, try to include your distro and its version. It will help narrow down results.

If you're gaming, check ProtonDB for game compatibility, and be willing to tinker a bit.

If you do have Nvidia graphics, Pop!_OS and other distros that bake the drivers into the disk image or install process are better for beginners.

Opinion portion: Firefox is a better holistic choice over chromium based browsers (see Google's web environment integrity aka DRM for the web). KDE is a great desktop for people who like the Windows workflow, but I prefer Gnome. Nvidia graphics are much less problematic these days, but I still prefer amd and Intel hardware.

Life is hard; everyone is doing their best; be hard on problems and soft on people.

Good luck ;)

Keep your Linux partition backed up! Windows update deleted my EXT4 partition and all Linux data on my laptop. (No, it wasn't a Grub problem, the partition was gone.) There are reports this Microsoft BS going back years.

[–] Jmr@lemmy.world 3 points 1 year ago

Install windows as usual. And then install your Linux distro. Quite alot of them give you the option to easily install alongside windows

[–] AphoticDev@lemmy.dbzer0.com 2 points 1 year ago (2 children)

Unless you have a reason to keep Windows, for example some software you depend on that doesn't run under Linux, just get rid of windows. There's no real reason to keep it around if you don't need it for a particular reason.

[–] otter@lemmy.ca 3 points 1 year ago

It's hard to predict when a course will require some software that's windows only. Either that or support (from TAs and profs) will be specific to Mac & Windows.

Thought a good compromise might be to keep it

[–] olafurp@lemmy.world 2 points 1 year ago

Since he's asking he probably has a reason.

load more comments
view more: next ›