• CubitOom@infosec.pub
    link
    fedilink
    English
    arrow-up
    110
    arrow-down
    5
    ·
    1 month ago

    “Linux supported hardware” is an outdated phrase only used in windows propaganda today.

    • Zenorbi@lemmy.world
      link
      fedilink
      arrow-up
      23
      ·
      edit-2
      1 month ago

      For desktop? Probably. For laptop, linux support can be awful, because manufacturers keep introducing hardware that don’t support standard drivers. Webcam? How about an IPU6 that needs kernel modules just to be detected and then special calibration files just so the image is not a stripey corrupted mess… How about no on-board sound because screw you I guess. How about a non standard USB controller so that you cannot even communicate over your USB ethernet dongle when the wifi is once again some special sauce non standard shit…

      These are Dell and Lenovo Yoga machines at the University I work at. Some are absolute garbage where the USB is always powered and will drain the battery when the computer is turned off and no BIOS setting will disable this.

      We are now looking into Tuxedo and Framework…

      PS.: even windows has issues with these, where you have no touchpad and no USB anything (mouse, keyboard) until you somehow install a driver…

    • uuj8za@piefed.social
      link
      fedilink
      English
      arrow-up
      17
      ·
      1 month ago

      Psht. I wish! This is wrong and will set people up for failure. There is absolutely hardware that will work well with Linux and hardware that will not.

      I tend to run into problems with brand new laptops. Microphones don’t work, web cams don’t work, fingerprint readers don’t work.

      I have a Dell Dell Pro next to me with a web cam that doesn’t work. Arch, btw.

      I also have a Lenovo T14 where everything does work.

      The point is you have to RESEARCH before you buy. Otherwise, you’re gonna get mad a Linux for not supporting your hardware, instead of being mad at yourself for not researching first.

      Hardware that’s too old is problematic and hardware that’s too new can be problematic.

        • Kratzkopf@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          No, the point is not to nuke it. One point is to have control over your own hardware and (in principle) be able to make sure the software/OS is not using your devices to spy on you.

    • funkajunk 🇨🇦@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      1 month ago

      Unfortunately this is not true. If manufacturers do not support Linux, then it is up to dedicated community members to reverse engineer drivers. Much love to these amazing people ❤️

      Things have gotten much better in recent years because now Linux is seen as a legitimate operating system and not just a platform for hobbyists.

      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        except when the manufacturer puts effort into locking out reverse engineers through cryptography.

        fuck you, nvidia!

    • fuckwit_mcbumcrumble@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 month ago

      There’s still tons of devices where Linux doesn’t work properly with them.

      My Intel wireless cards cannot maintain a 6ghz wireless connection for shit despite some of them being over 5 years old. And Intel. Latest stuff, older kernels, none work well. Oddly whatever version of Fedora I had worked the best. My wifi wasn’t unusable when 6ghz was an option. It only dropped to 5/2.4ghz once a minute instead of every 5-20 seconds.

      • funkajunk 🇨🇦@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 month ago

        For me any Wi-Fi drops were solved by disabling power saving in NetworkManager

        Create a conf file:
        sudo nano /etc/NetworkManager/conf.d/wifi-powersave.conf

        Add this into the config file:

        [connection]
        wifi.powersave = 2
        

        Then restart NetworkManager or reboot your system

        • fuckwit_mcbumcrumble@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          I tried this but it didn’t seem to help. Mostly because it only wants to use 5ghz. I think I tried doing a bunch of “fixes” so maybe I should just start fresh. This is on my testing machine that I don’t use regularly so only god knows what I’ve done to it.

          Also did you do this on a laptop with S0 standby? How does that affect sleep?

      • CubitOom@infosec.pub
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        1 month ago

        My guess is that you are noticing the difference between new and old kernels

          • CubitOom@infosec.pub
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 month ago

            If the old (or LTS) version of the kernel doesn’t support something newer, and the new version of the kernel does, that would not be a regression.

            I learned this when Skylake first came out. Ubuntu LTS didn’t work on it because it was an old kernel and this was new hardware. If you have new hardware, use a new kernel.

    • Ptsf@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      System 76, Tuxedo Linux, Mint, and several other Linux developing OEMs I can think of exist?..

  • bulwark@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    ·
    edit-2
    1 month ago

    2 separate bootloader partitions. Grub launches the windows bootloader on a different partition so it isn’t aware of anything other than itself. Then the 2nd bootloader actually launches windows. Don’t try to share one partition or else windows will inevitably wind up clobbering the Linux loader.

    • jason@discuss.online
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      This is the way. I just discovered this, but the lazy way. If I want windows, I mash f8 on startup to get the manual boot selection. I never start windows through grub (systemd-boot in my case). It has its own EFI partition.

    • Ooops@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 month ago

      Then Windows will fuck up the EFI entry itself. Easy to fix of course but a pain in the ass when you are just starting with Linux and have barely any idea other than reinstalling for the 10th time in a few weeks.

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      1 month ago

      Kirk : I use a computer with an AI assistant and 1 gb of free ram. How about you?

      Homer : I have a normal computer that lets me do what I want with my hardware.

    • ozymandias117@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 month ago

      I’d had a dedicated windows drive for a little while… Maybe a bug and not malice, but the forced Windows 8 -> 10 upgrade deleted everything on my second drive that windows wasn’t installed on

    • lightnsfw@reddthat.com
      link
      fedilink
      arrow-up
      7
      ·
      1 month ago

      I had two disks and windows still fucked my secure boot keys somehow in a way that I wasn’t able to fix so I had to reinstall the linux side. I turned secure boot off afterwards so should be fine now but it was a thing that happened.

  • AwesomeLowlander@sh.itjust.works
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    edit-2
    1 month ago

    My bootloader has survived just fine despite being dual boot for the past 2 years. It may have something to do with me only having booted windows once in all that time (to fix a borked NTFS drive) 😁

    • MentalEdge@sopuli.xyz
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      1 month ago

      That certainly helps.

      In my case the solution is two EFI partitions.

      Windows finds the first and doesn’t bother looking for a second one, which happens to contain grub and my efistubs.

      Windows will go ahead and clear the UEFI menu sometimes, but manually booting an efi file and then re-adding the grub and stub boot entries is small compared to having my stuff actually deleted.

  • hexagonwin@lemmy.today
    link
    fedilink
    arrow-up
    10
    ·
    1 month ago

    i’ve quadbooted a lot before (linux/freebsd/osx/windows), it works pretty well these days with uefi. was pretty hard to handle with legacy bios though

  • LittleBorat3@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 month ago

    Windows does stupid things with boot because it’s apparently alone in the world.

    Like this NTFS lock up thing because it’s not really shutting down anymore but going into hibernate.

    I had to change that setting but other than that dual boot works. Just realized that’s still win 10 on this machine. When that runs out time for fresh Linux only install.

  • NM_Gringo@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 month ago

    The reason I just overwrote the Windows partition, instead of futzing with fixing dual boot was GDID. MSFTs global ID that tracks, literally, everything you do.

    • heartSagan5@lemmy.zip
      link
      fedilink
      arrow-up
      3
      ·
      1 month ago

      If you bought a store laptop, I’d bet those configuration signatures were recorded when it got imaged… for the police of course.

  • rndm@lemmy.zip
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    1 month ago

    I love Linux, but damn unless you use Amd video cards. It’s a hard sell, especially if you’re a gamer. Not to mention, how often games break because they’re designed for windows. So dual boot is reasonable, in my opinion.

    • Korhaka@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 month ago

      Why? I have an nvidia card and haven’t noticed any major issues. It hasn’t even bricked the system on a driver update in years now.

      • rndm@lemmy.zip
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        1 month ago

        I wasn’t talking about bricked systems, just the games themselves have issues and glitches. Especially with Nvidia. Not all games mind you. Plus the performance tax on Nvidia with Linux.

        • Johanno@feddit.org
          link
          fedilink
          arrow-up
          6
          ·
          1 month ago

          When running the games through Proton I never had issues because of Nvidia.

          I have issues because of Nvidia, but none are related to gaming.

          If you have the newest propertary drivers it should work just fine.

        • terrrmus@beehaw.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 month ago

          I’ve been on Nobara for a year or so now with my nvidia 4090. I can’t think of a game that I couldn’t get running that wasn’t related to the anti-cheat or VR. I had a hankering for Mass Effect 3 multiplayer. Getting the EA play app going through Lutris worked but was not consistently great at launching. ProtonDB said it ran fine through Steam so I ended up buying it last sale for $5 and it does run fine that way. Helldivers 2 has a single pixel white boarder around the window but otherwise it runs fine. Heck even Ultima Online works (and Outlands!) I’ve been gaming on Windows PCs for 30 years. It’s pretty close if not the same performance to me.

          • rndm@lemmy.zip
            link
            fedilink
            arrow-up
            1
            ·
            1 month ago

            For the most part it’s fine for me too. But just recently ran into some major issues with Blizzard games. So I definitely like to keep a dual boot for that reason. As well as compatibility and troubleshooting issues.

    • vanillama@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      1 month ago

      It used to be much, much worse. While some people still struggle a little with Nvidia on Linux, it seems perfectly usable in most distros and games by now.

      • rndm@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        I agree it has improved, but I still have enough issues to where for me anyways. To justify dual boot, that is until I get an AMD video card. Believe me if I didint have to constantly find Nvidia workarounds, for performance and bugs. I would be on Linux 100 percent of the time.

      • Impractical_Island@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        Unfortunately, I’m needed everywhere.

        drops badge

        Ah shit, now the battle is lost! Well, you guys in the van can pack it up. I’m not good at this cop thing I tell you, but by your response I bet you don’t realize Epstein was a cop too. Still alive for that reason. Same reason Trump’s in office; it’s a sting that he’s helping investigators with, which totally was not what I was doing. Because I’m not a cop, obviously. I’d be real bad at it, talking about cop shit, amirite? Yea, no, I’m just some crackhead on the internet. All I am.

  • Artwork@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    edit-2
    1 month ago

    Wonderful day!

    It’s apparently the third day (in a week!) I see people share their negative view on the booting being damaged by Windows…
    Frankly, it’s quite odd to see so many people having the issue when Windows or any other OS rewrites the bootloader…
    It’s sure possible to have it safe, so that even Windows won’t rewrite during its update.

    Though, I’ve been into Linux for more than 20 years now, I do have a machine that has Windows 10 installed alongside Linux, even if it’s more frequent to boot Windows in a virtual machine nowadays.

    The idea is to not share the location for the EFI files (in UEFI mode), but let the systems have their own keeping them fairly isolated, where Grub v2+ or another bootloader you prefer, load them all respectively, being located on a safer partition.

    For example:

    1. We have two storages (e.g., SSD): /dev/sda and /dev/sdb.

    2. Install Windows on /dev/sdb (so it creates its own ESP);

    3. Install Linux on /dev/sda (so it creates its own ESP), with a normal/manual partitioning:
      - /boot/ (for Kernels I have 4 GiB+);
      - /boot/efi/ (commonly, from 128 to 512 MiB is enough);
      - Here I normally also have a swap partition, and separate: /home/, /var/;
      - Select Grub to be installed on the /dev/sda;

    4. Boot the Grub in /dev/sda;

    5. Update Grub within Linux, so it finds the Windows EFI on another drive via its os-prober.

    Here, I believe efibootmgr should show the existing EFI, or you could check it manually in /boot/efi after.

    Windows should operate on its own ESP it created on its own storage, and don’t overwrite the Grub.

    At voila!


    To additionally clarify, in my personal experience for many years on Linux, I usually tend to see (and are fond of, personally) having separate mounts for contextually different data, where one of the most adequate in frequent circles and duties is to separate the responsibility as, for example:

    1. Main system (root) - /;
    2. Kernel (~4GiB) - /boot/;
    3. EFI (~128-512MiB) - /boot/efi/;
    4. User personal - /home/;
    5. Variable - /var/;
    6. Swap;
    7. (Optional) System configuration - /etc/;
    8. (Optional) Temporary - /tmp/;

    It’s also frequent to see the Logical Volume Manager (LVM) active, that may support a more fluent organization of hardware and logical devices. In this case, we might have all the above mounts, except 2 and 3, practically encrypted, too.

    One of my current main machines have the following partitions (though no dual-boot on it):

    sda                                             8:16   0 953.9G  0 disk
    ├─sda1                                          8:17   0   512M  0 part  /boot/efi
    ├─sda2                                          8:18   0     4G  0 part  /boot
    ├─sda3                                          8:19   0    32G  0 part  [SWAP]
    └─sda4                                          8:20   0 917.4G  0 part
      └─luks-12341234-1234-1234-1234-123412341234 252:0    0 917.4G  0 crypt
        ├─vg_system-lv_var                        252:1    0   400G  0 lvm   /var
        ├─vg_system-lv_home                       252:2    0   400G  0 lvm   /home
        └─vg_system-lv_root                       252:3    0 117.4G  0 lvm   /
    

    If interested, please check the following:
    - file-hierarchy (File system hierarchy overview… - Linux manual page…)
    - Encrypting an entire system;


    On Windows, if I am not mistaken (please correct me if wrong), the most frequent is to have at least two explicit partitions, in addition to the implicit primary 4 ones:

    1. EFI Boot Partition we mentioned above;
    2. Recovery Partition;
    3. Microsoft Reserved;
    4. Primary Windows.

    For example:

    - C:\ - System and automatically organized User personal files (desktop, documents, variable as AppData/ProgramData);
    - D:\ - Manually installed programs and manually organized User personal files;

    You can include a separate data partition to enable easier maintenance for situations where either the primary operating system is likely to be replaced, or when multiple operating systems exist on the same device, such as Windows 10 and Windows 7. When a device has multiple hard drives, a data partition may be stored on another drive.

    For typical single-drive configurations, it’s best that you not use a separate data partition. There are two main reasons:

    - The partition may not automatically protect data that is stored outside the user profile folders. For example, a guest user might have access to files in an unprotected data partition.
    - If you change the default location of the user profile folders to any volume other than the system volume, you cannot service your image, and the computer may not apply updates or fixes to the installation.

    Source (Hard drives and partitions - Windows Documentation…)


    Oh! I would recommend KDE Partition Manger if you prefer GUI for partitioning.

    It’s likely worth to mention that KDE Partition Manger (project source) is likely one of the best out there I found (tried at least 11 a few years ago) for convenient GUI Luks2 and LVM support, if required.

    Even if compared to some of the popular, where Gnome’s, GParted, and QtParted resulted in either unsupported logic for Luks2 and LVM or did not complete the task successfully. These tools are still awesome for other tasks, I believe!

    Though, perhaps likely as you I do prefer shell or TUI, being dived mostly in terminals/servers, and a script is always an option, of course. Not to mention that even with the GUI above, manual commands are normally eminent/imminent.

    Related: https://wiki.t2linux.org/guides/windows#separate-the-efi-partition-after-linux-is-installed

    • Ooops@feddit.org
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      1 month ago

      For example:

      We have two storages (e.g., SSD): /dev/sda and /dev/sdb.
      
      Install Windows on /dev/sdb (so it creates its own ESP);
      
      Install Linux on /dev/sda (so it creates its own ESP), with a normal/manual partitioning:
      - /boot/ (for Kernels I have 4 GiB+);
      - /boot/efi/ (commonly, from 128 to 512 MiB is enough);
      - Here I normally also have a swap partition, and separate: /home/, /var/;
      - Select Grub to be installed on the /dev/sda;
      
      Boot the Grub in /dev/sda;
      
      Update Grub within Linux, so it finds the Windows EFI on another drive via its os-prober.
      

      Here, I believe efibootmgr should show the existing EFI, or you could check it manually in /boot/efi after.

      Windows should operate on its own ESP it created on its own storage, and don’t overwrite the Grub.

      At voila!

      Then Windows will fuck up your EFI entries. Which is not a big deal if you know what you are doing but a completely different story for the audience you are explicitly addressing here when you even explain how to check those entries in the first place.

      Also you did not actually mention that fastboot needs to be disabled in Windows, thus a clueless person will not understand the random hardware errors on Linux caused by not properly initialized devices and will blame Linux.

      (And let’s not even talk about some of the really insane stuff like pre-installed Microsoft SecureBoot keys that brick you whole system when removed because idiotic OEMs signed their own hardware’s EFI drivers with the keys already pre-installed just because they can…)

      So no, it’s not “quite odd to see so many people having the issue when Windows”. That’s what Windows is causing, often intentionally so. Is most of this easily fixable? Sure… But it’s a very effective deterrent for many people, so they never reach the point where they understand and be able to fix that stuff.

      • Artwork@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        2
        ·
        edit-2
        1 month ago

        Windows never touched the main EFI entry in my cases, even at updating it from 10 to 11, and I clarified it 3 times.

        With a few Google queries we may find it mentioned, yet I’ve just found a weak one at this moment:

        If you are booting with Windows, you should simply be aware of the problem, because you can easily overcome it by temporarily changing the type code of the non-Windows ESP(s) if you run into problems. Note that Windows will boot just fine on a disk with multiple ESPs; it’s just the installer that chokes on such disks.

        Source

        Some documentations found mentioned relatively similar:

        The only Microsoft supported workaround for booting multiple installations of Windows in a uEFI environment is to use a dual boot configuration. This will make use of a single ESP and one MSR while still allowing the user to choose to boot to an installation on disk 1 or disk 2.

        Source

        • Ooops@feddit.org
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 month ago

          Note that Windows will boot just fine on a disk with multiple ESPs

          Nice for Windows to support this theoretically but the UEFI standard does not require support for multiple ESPs on a disk, so you will easily find hardware that in fact will simply discover the first ESP then stop. Because actual implementations matter and a lot of them are bad.

          Speaking of bad implementations. We got several manufacturers a few years ago where their UEFI implementation broke and bricked the whole device after editing the EFI entries via efibootmgr exactly as defined by standard. Oh, you wanted to install Linux? Your device is now done because no one ever tested them without anything but the Windows pre-installs.

          Yet two other cases of totally coincidental “This should work but doesn’t, must be a Linux issue” artificially created by Microsoft (who after all were one of the driving forces behind UEFI development, also the reason we are still stuck with FAT32 ESPs - the only file system ESPs are required to support by the standard with everything else optional).

          Windows never touched the main EFI entry in my cases

          In the end positive anecdotal experiences don’t matter much. If a relevant fraction of users has issues that should not exist when installing Linux (and that obviously don’t exist with Windows because here OEMs actually do proper testing here… or it’s Windows/Microsoft itself causing the issues (pre-installed key, fast boot shenanigans, hardware that should be supported but randomly isn’t etc.)) that’s helping to prevent a lot of people from trying it in the first place. And that’s by design.

          • Artwork@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            Thank you, heartfelt, for a more experienced, informative, and great response, with more details to learn from!