this post was submitted on 21 Aug 2024
627 points (99.2% liked)

Linux

48363 readers
1490 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
 

Last Tuesday, loads of Linux users—many running packages released as early as this year—started reporting their devices were failing to boot. Instead, they received a cryptic error message that included the phrase: “Something has gone seriously wrong.”

The cause: an update Microsoft issued as part of its monthly patch release. It was intended to close a 2-year-old vulnerability in GRUB, an open source boot loader used to start up many Linux devices. The vulnerability, with a severity rating of 8.6 out of 10, made it possible for hackers to bypass secure boot, the industry standard for ensuring that devices running Windows or other operating systems don’t load malicious firmware or software during the bootup process. CVE-2022-2601 was discovered in 2022, but for unclear reasons, Microsoft patched it only last Tuesday.

...

The reports indicate that multiple distributions, including Debian, Ubuntu, Linux Mint, Zorin OS, Puppy Linux, are all affected. Microsoft has yet to acknowledge the error publicly, explain how it wasn’t detected during testing, or provide technical guidance to those affected. Company representatives didn’t respond to an email seeking answers.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 28 points 3 months ago (11 children)

Y'all, help a dummy out. I dual boot windows and Fedora. I only keep windows around for a very few college classes that require for screenwriting software. I have not booted into windows in months. I have a screenwriting class coming up in a week.

How worried should I be? I am not great with computers, I run fedora mostly because I support the philosophy of Linux, less for the techy stuff. Please advice, Linux people. I'm scurred.

[–] nehal3m 19 points 3 months ago (2 children)

Does that screenwriting software require a lot of performance? You might opt to install Windows into a virtual machine, as described here: https://www.windowscentral.com/how-setup-windows-10-virtual-machine-linux

Essentially you're using some software to emulate a computer inside your computer that can run any operating system you want. It doesn't need to touch your actual operating system installation, you can treat it as just another program. For your use case that sounds appropriate; you occasionally need to run specific software that has low system requirements. This way you can do that without risking Microsoft borking your Linux machine any time it feels like it.

[–] [email protected] 9 points 3 months ago (1 children)

I'd imagine it requires about as much as a word processor, since that's basically what it is. A word processor with a specialized template and some nifty autofill options. Again, dummy here. If I'm running a virtual machine, can I create a file in it that is saved to my actual machine, or would I need to, like, email it to myself using the virtual windows os?

[–] nehal3m 9 points 3 months ago* (last edited 3 months ago)

The latter thing you mentioned would work, but you can set up some shared storage between the VM and your machine. Here is some more info: https://www.makeuseof.com/how-to-create-virtualbox-shared-folder-access/

This describes a Windows host and a Linux VM, I'm sure you'll be able to figure out the other way around. :)

[–] [email protected] 2 points 3 months ago (1 children)

Don't use Virtualbox as it is a Hype 2 hypervisor not a hype 1. You want actually KVM via Libvirt. Libvirt also has the advantage of not requiring any proprietary software. (Just make sure to install the virtual drivers)

[–] nehal3m 3 points 3 months ago* (last edited 3 months ago) (1 children)

That's all fine and dandy but OP said they're not very technical. Conceptually Virtualbox is a lot simpler to deal with. There's a lot of advantages (philosophical and practical) to be had with a KVM or QEMU setup for sure, but if you want a simple to understand click-it-together setup then Virtualbox is better. If OP wants to graduate to a better setup then I hope they go for a good FOSS solution eventually but going straight for the deep end is rarely a good idea if you want people to understand what they're doing.

[–] [email protected] 1 points 3 months ago

Virtual manager is pretty straight forward. You click on create and follow the wizard. You can even have VMs running in the background

[–] [email protected] 12 points 3 months ago

Sorry idk specifically how to avoid the update, but the linked ArsTechnica article has some advice

Someone here advised & I’d agree: use a Windows VM, for things you haven’t found the Linux version of yet.

Windows’s plan to screenshot everything will include your private artistic work too, so you’ll be doing yourself a favor

[–] [email protected] 11 points 3 months ago (2 children)

When I was still dual-booting Windows and Linux, I found that "raw disk" mode virtual machines worked wonders. I used VirtualBox, so you'd want a guide somewhat like this: https://superuser.com/questions/495025/use-physical-harddisk-in-virtual-box - other VM solutions are available, which don't require you to accept an agreement with Oracle.

Essentially, rather than setting aside a file on disk as your VM's disk, you can set aside a whole existing disk. That can be a disk that already has Windows installed on it, it doesn't erase what you have. Then you can start Windows in a VM and let it do its updates - since it can't see the bootloader from within the VM, it can't fuck it up. You can run any software that doesn't have particularly high graphics requirement, too.

I was also able to just "restart in Windows" if I wanted full performance for a game or something like that, but since Linux has gotten very good indeed at running games, that became less and less necessary until one day I just erased my Windows partition to recover the space.

[–] [email protected] 3 points 3 months ago

And probably disable quick boot as I'm guessing the kernel is going to get pissed when you suddenly switch between virtualization and native

[–] [email protected] 2 points 3 months ago (1 children)

I've never run a virtual machine, because I've always had, frankly, really shitty laptops. Like... Cheapest of the cheap without being a Chromebook. Only decent computer I've ever bought got broken within a month. :(

Can I run VMs on really low end specs? The screenwriting software is the only thing I need it for, and I'm assuming it's pretty much the same as running a word processor.

[–] nehal3m 3 points 3 months ago (1 children)

Provided your CPU has virtualization features (described here) then the performance overhead for virtualization is negligible. So very probably you'll be fine.

[–] [email protected] 3 points 3 months ago (1 children)

The memory requirements for virtualization is not negligible.

[–] nehal3m 1 points 3 months ago (1 children)

That depends, if you're going to run a barebones W10 install with what amounts to a word processor I think 2GB should be enough. If you can run Chrome you can run a VM. 4GB if you're feeling generous, that's a fair compromise as compared to the disadvantages of dual booting.

[–] [email protected] 1 points 3 months ago

I remember trying to push the limits with a Windows 10 VM, and 2GB was the bare minimum;
however, Windows loves to abuse virtual memory (basically using the main storage drive instead of RAM) and if that drive is a HDD the PC is little more than an IoT space heater.

A relative of mine has a Windows 10 PC with 4GB of memory and it takes ~ 5 minutes to start Chrome after booting it up; it does have a lot of miscellaneous bloatware on it, though.

[–] [email protected] 6 points 3 months ago (1 children)

Does your device have 16gb of ram? If so install Windows in Virtual manager with the guest addons. It will allow copy and paste along with lots of other features while keeping Windows in its own area.

[–] [email protected] 1 points 3 months ago (1 children)

It was 8 gigs. Someone else suggested boxes over a VM, would 8 gigs be enough for either of those?

[–] [email protected] 2 points 3 months ago

No, 8 GB is not enough for virtualization of Windows guests

[–] [email protected] 4 points 3 months ago

If you have trouble make a rEFInd USB stick and boot that

[–] [email protected] 4 points 3 months ago (1 children)

Do you know which bootloader you have? There are two popular ones in use currently, one called systemd boot, the other is called grub. From reading this post only grub seems to be affected. I don't really know which one fedora defaults to at the moment, and it likely depends on what happened during the installation process as well.

[–] [email protected] 2 points 3 months ago

If they're using Fedora, then it is highly likely that they are using GRUB as you have to very much go out of your way to utilize systemd-boot on Fedora the last time I checked.

[–] [email protected] 3 points 3 months ago (1 children)

What do you use? Maybe there is a Linux alternative to that so you don't have to bother with a VM.

[–] [email protected] 4 points 3 months ago (1 children)

They require a program called Final Draft. I looked around but couldn't find an alternative

[–] [email protected] 6 points 3 months ago* (last edited 3 months ago) (2 children)

Try running it in Bottles. A lot of programs work there without many issues.

Use Bottles Flatpak

Bottles uses WINE which is way more performant than a VM.

[–] [email protected] 1 points 3 months ago (2 children)

Technically it uses Soda + Proton but same diff

[–] [email protected] 2 points 3 months ago (1 children)
[–] [email protected] 1 points 3 months ago (1 children)

Proton works better and is generally more performant

[–] [email protected] 1 points 3 months ago

Yes Proton is different from Soda, but how is "technically Soda" actually what Bottles runs? I thought bottles runs WINE, which runs Soda as the runtime

[–] [email protected] 1 points 3 months ago (1 children)

Which are both custom versions of Wine with extra patches? They aren't something like Luxortorpeda where it replaces the Windows game engine with a Linux one.

[–] [email protected] 1 points 3 months ago (2 children)

Soda is the default Runtime, Proton (and outside of steam you should use Proton-GE) is the Steam one with way more compatibility for Games

load more comments (2 replies)
[–] [email protected] 1 points 3 months ago

Thank you for the advise! YouTube tutorials, here I come!

[–] [email protected] 3 points 3 months ago (1 children)

Out of curiosity, have you tried Fade In?

[–] [email protected] 1 points 3 months ago (1 children)

I looked into it, but I can't afford it out of pocket. The school pays for final draft, but won't cover anything else :/ If I could, that would definitely be my go-to

[–] [email protected] 3 points 3 months ago (1 children)

It's free tho? Except for some minor limitations:

"The free downloadable demonstration version of Fade In includes all key functionality except for online realtime collaboration, and will place a watermark on any printed/PDF output."

And there are ways around those

[–] [email protected] 2 points 3 months ago (1 children)

Oh shit, this I did not know. I just Googled the price and I guess it only showed the paid version. Sweet! Thank you! If this works, I can officially uninstall Windows! That's literally the last thing holding me to it. :D

[–] [email protected] 2 points 3 months ago (1 children)

My pleasure. I will mention, that unless the author changed the program since last I used it, it also has a small popup every ten minutes or so, asking if you'd like to buy it. Remarkably, I didn't find this terribly annoying, and forgot all about it until writing this comment - so don't let that be a hindrance!

[–] [email protected] 1 points 3 months ago (1 children)

So I just emailed my professor, and he says that I can use fade in if the formatting is the same as final draft, and I buy the license so there's no watermark. Which sucks, but fuggit it it lets me keep using Linux. Do you know if the formatting is the same? This is only my second ever screenwriting class.

[–] [email protected] 2 points 3 months ago (1 children)

The watermark is only applied if something is printed directly from Fade In: export and print somewhere else and there should be no watermark. As for the formatting, I don't recall - but I do know, that everything is configurable; so you can make the formatting the same, if it differs

[–] [email protected] 2 points 3 months ago

Thank you for replying so quickly! I'll email him back and let him know I should be able to get the formatting the same. I really appreciate your advice!

[–] [email protected] 2 points 3 months ago (1 children)

Which screenwriting software? Have you tried running it under WINE?

And do you HAVE to use that one in particular? Or can you use something like Trelby, Manuskript, or Scrite?

[–] [email protected] 3 points 3 months ago (1 children)

The school pays for final draft, and I am poor. But someone else just showed me fade in was free and works with Linux, so I'm gonna try that out!

[–] [email protected] 2 points 3 months ago

Ah. I did love final draft when my school paid for it. I've never used fade in, but the three I mentioned are all free, too. I'm not sure what version of final draft you're using, but it doesn't really matter for this, as its support under WINE is pretty lacking. Good luck!!

[–] [email protected] 2 points 3 months ago

It looks like some GRUB versions are fixed, e.g. possibly in Ubuntu from 22.10. Dunno if Fedora has the fixed version. I'm facing the same with my Mint/Windows dual boot; considering not booting windows till I'm ready to upgrade Mint to 22.

If you do get problems, it also looks like you can get around it by turning off secure boot until things are sorted.

If you're not an experienced Linux meddler I wouldn't recommend changing your bootloader from the default given by your distribution, but I guess if this is widespread most distros will upgrade their bootlodladers soon to deal with it.

[–] [email protected] 1 points 3 months ago (1 children)

Can you install windows in a VM instead? VirtualBox is easy to set up.

[–] [email protected] 4 points 3 months ago (1 children)

Don't use Virtualbox as native libvirt will be faster and doesn't involve any licensing.

[–] [email protected] 3 points 3 months ago (1 children)

Depends if you care more about performance or ease of use. Based on the fact that OP hadn't considered VM as a solution, I assume they aren't super familiar with hypervisors.

[–] [email protected] 1 points 3 months ago (1 children)

Virtualbox is a pain. Virtual manager is much easier and natively supported. You just click new and then follow the wizard

[–] [email protected] 3 points 3 months ago (1 children)

That's not at all the case in my experience. Sure virtual box modules can be harder to install, but libvirt has so many issues that the average user has no idea about. I've had networking issues, display issues, and so on. At one point it read the display scaling information and scaled down the VM display instead of scaling it up. Furthermore RedHat don't even support virt manager anymore. They want you to use Cockpit. Honestly the all around best virtualization solution is probably VMWare or something like Gnome boxes or QuickEmu.

[–] [email protected] 1 points 3 months ago (1 children)

I would of agreed with you historically but these days I say libvirtd all the way.

load more comments (1 replies)