4 ms·
Installing Debian on Modern Hardware
- ahepp 6y agoIt seems to me there are plenty of distros that cater to new Linux users. Freedom is such a core part of Debian's principles. Maybe obsession with user conversion or retention (over other Linux alternatives) is something from the commercial world we don't need to import into every Linux distribution. If I were convinced that there were substantial numbers new Linux users trying Debian, running into firmware issues, and then never touching Linux again, my opinion might change. But if you're just trying Linux for the first time, wouldn't you usually stumble across Ubuntu first?
- monetus 6y agoRaspberry pies usually run a debian flavor, so there is that vector.
- Caligatio 6y agoI feel like distributing the non-free firmware on the installation media but only installing it with user confirmation (they can even have a short pop-up disclaimer about non-free software) is an easy compromise. The open source purists still end up with an install free of non-free software and those that need non-free software can successfully use Debian. Giving people the freedom of (easy) choice to install non-free software does not infringe on others' desire for a completely FOSS OS. I wouldn't frame this as an "obsession" with user conversion or retention; this is literally just making a product usable by a majority (I think?) of laptop users.
- ahepp 6y agoUbuntu already has that option though, doesn't it? If someone has strong feelings about using Debian over Ubuntu, I would be surprised if it were a big hassle to find the install media they need. It just seems like a moot point to me.
- Caligatio 6y agoUbuntu has a checkbox to install non-free codecs, I'm forgetting if that also includes non-free firmware. With all the hate directed at Ubuntu 20.04 (mostly about Snaps), I don't know why saying "just use Ubuntu if you use wifi" would be an acceptable stance. Given Debian does release unofficial non-free DVD/CD images[1] (i.e. the dirty deed has already been done) and someone proposed a patch to make them more prominent, any resistance to the patch really just seems anti-user rather than pro-FOSS principles. [1] http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/ http://cdimage.debian.org/cdimage/unofficial/non-free/cd-inc...
- cycloptic 6y agoI don't get the hate directed at snaps. Yeah they're not great, just don't use them. Ubuntu is just Debian, you can just grab packages from the usual Debian repos and use your .debs as normal. The issue with further publicizing those images is that Debian cannot reasonably offer community support for those nonfree bits. Only the vendor can, or some other company that signed a deal with the vendor. (Canonical happens to be one of those companies)
- Caligatio 6y agoI agree with you 100% about Snaps. I only brought them up because one of the common complaints is that the Snap server is not open source. This is why it's weird to me that FOSS supporters would push potential Debian users to Ubuntu where there is even a higher dependency on non-free software. Regarding non-free support, assuming the firmware is in Debian's non-free repository, Debian already provides support. From their policy[1], distributed non-free software "must not be so buggy that we refuse to support them." That sounds to me like they already offer support (whatever that means for a volunteer-driven project). So they already release unofficial installers with non-free binaries included, already have a repository that contains non-free binaries, and seemingly offer limited technical support for non-free binaries. Yet they have opted to not readily present these options easily to a potential user. [1] https://www.debian.org/doc/debian-policy/ch-archive#s-non-free https://www.debian.org/doc/debian-policy/ch-archive#s-non-fr...
- kitsunesoba 6y agoSome of the issues described in the article have existed for as long as I've toyed with Linux distributions, spanning almost two decades now. This can all be neatly dodged by buying hardware that's known to be supported OOB with FOSS drivers, but more often than not, the machines that I need or want to run Linux on aren't hand-picked to run Linux. They're almost always prebuilts that had originally ran Windows or macOS, and there's often some amount of urgency attached — I need that Linux install now, not in a week when that replacement wifi/bluetooth card from eBay shows up. It's lead to some ridiculous hijinks to get things working. On more than one occasion, I ended up using a rocky tethered connection to my iPhone, retrying several times due to dropouts, to get Broadcom wifi drivers installed because figuring out the exact package I needed to put on a thumb drive to install offline was nigh impossible.
- caf 6y agoFor future reference, keeping a USB Ethernet adaptor handy seems to work well in those situations (well, as long as there's an ethernet port to plug into I suppose!).
- nobodywasishere 6y ago> On more than one occasion, I ended up using a rocky tethered connection to my iPhone, retrying several times due to dropouts, to get Broadcom wifi drivers installed Funny enough going off of this, I really like how with Android, it's really easy to share a Wi-Fi connection over USB to a computer, instead of having to use data. On more than one occasion myself, I've simply left an old android phone (that has no SIM card or data plan) attached to a computer to give it internet for months instead of buying a wifi card.
- cycloptic 6y agoIMO, if you plan to install nonfree drivers anyway and don't know or care which ones you need, just use ubuntu.
- slim 6y agoyou can't say that. ubuntu is not anymore an uncompromised experience of free software. someone who's coming from non-free software is looking for security, he does not want to still have that feeling that a company is trying to screw him with dark patterns when he's using his computer.
- atum47 6y agoI'm using ubuntu on my new notebook because I was struggling to install debian. I got a slim notebook that doesn't have lan and as the article says the wifi is proprietary (also the nvidia gpu). I spent like 3 hours trying to work around before I gave up and installed ubuntu (it boots out of the box - pendrive). I got the non-free firmware and burned them in the pendrive I create with the debian installation, but with no success. Back in college I had a lot of free time to fiddle with this stuff, not anymore unfortunately.
- nine_k 6y agoIt's more about installing Debian on hardware where networking requires a nonfree driver. These are sort of available, but not on the official installation media. This is a hard problem for Debian which explicitly stays away from proprietary software as much as it can. I always solved it by having only supported hardware, but it's a serious limitation.
- CameronNemo 6y agoSeriously there is one WiFi chip family that has open source firmware (ath9k_htc). It does not do ac/ax -- only b/g/n. Not particularly common in the wild. Most Intel, Realtek, Qualcomm, Mediatek, et cetera WiFi chipsets require non-free firmware. It makes the official installation boot media useless for consumer laptops. I guess that is not their market if they have left it like this so long.
- pabs3 6y agoThere are a couple of other open WiFi firmware projects, but they are for even older hardware. https://wiki.debian.org/Firmware/Open https://wiki.debian.org/Firmware/Open There are other ways than WiFi to get networking on these devices though, for eg Ethernet or mobile tethering over USB.
- 3np 6y agoCorrect me if I'm wrong, but for a normal-case install on a laptop, you won't need firmware, only drivers, no? Not to say that open-source firmware is undesirable, but they won't need to be part of an OS installation necessarily. Good Intel Wireless drivers are in the Linux kernel. Mediatek it depends on the chipset, and Realtek only has a crappy free one that will have issues with newer devices. Qualcomm I don't have much experience with. Sounds like you know this already, but I think many people are confused about drivers vs firmware - I know I was way back, at least.
- Gaelan 6y agoAt least with Broadcom, you definitely need firmware. As I understand it, the chips don't have any data storage of their own, so they need to provide the firmware to the chip on each boot.
- etaioinshrdlu 6y agoWhy does anyone really care about non-free firmware blobs? If the alternative is the firmware is just built into the device somehow, the firmware is still just as non-free, despite that you can make a fully open driver. If anything, letting the driver upload its own firmware is more open. Edit: replies are misunderstanding what I'm saying: you can have a 100% free and open driver without binary blobs if the blob was instead embedded in the target device -- but I'm arguing this is not any more open than allowing a mostly free driver to upload a blob.
- tenebrisalietum 6y agoWhy do people NOT care about closed source firmware with potential backdoors and vulnerabilities (like the Intel ME, for example) that all communication in and out of your system goes through? Everyone should care, it's sad that no one does and we simply accept that we don't truly know what devices are doing. If Debian doesn't take any kind of stand here, who will?
- geofft 6y agoThe claim the parent comment is making is not that you shouldn't care about closed source firmware, but that you shouldn't care where you get it from. If you have a device with the Intel ME, you've already got some closed-source component running on your machine. Is getting an updated closed-source firmware from Debian worse than using whatever closed-source firmware was shipped with the device? Obviously it would be delightful if you could avoid using the closed-source firmware at all. But the question is, if you can't - if you have a laptop with closed-source firmware pre-flashed onto the EEPROMs, and also Windows shipped from the factory pre-installed onto the disk - what should you do? If Debian takes the stand of saying "No, we're not going to run on that laptop, keep using Windows," is that the stand you want them to take?
- zrm 6y agoThe effect of not including non-free firmware is that the user is inconvenienced when using that hardware, but not hardware with free firmware. It also causes the user to be aware of whether the hardware they bought has non-free firmware. One way to resolve the inconvenience is to install the firmware. Another is to buy different hardware. The latter puts pressure on vendors to provide free firmware. The Linux desktop market is not a huge percentage of the PC market but it's still millions of people.
- bombcar 6y agoIt seems that an error message at the appropriate time - perhaps triggered by not finding any network or by an lspci database - indicating the likely problem and suggesting solutions could be useful.
- hlieberman 6y agoMy good friend fiendish has The Answer for which Debian ISO you want: https://fiendish.github.io/The-Debian-Gotham-Needs https://fiendish.github.io/The-Debian-Gotham-Needs
- gautamcgoel 6y agoI've never had the issues with drivers that many Linux users complain about. I suspect that this is due to the fact that I only run Linux on desktop machines, and don't use wifi.
- antegamisou 6y agoEspecially Broadcom drivers, what a damn nightmare.
- bluedino 6y agoDrivers have been an issue in Linux as long as I can remember. Integrated graphics cards, Ethernet chipsets, WinModems, the list goes on. It was fun building drivers and inserting modules but were fortunate that a lot of work has been put in, and most popular hardware (at least for business machines) “just works”
- 3np 6y agoEven if you do want only free components, discoverability of Debian images are really bad. They have so much stuff that is just very difficult to find. The other day I seriously spent >1h to find a live image for testing (live as in not only installer - needed to do some recovery). I only persisted that long because I knew I had downloaded it before. Here there's only stable: https://www.debian.org/CD/live/ https://www.debian.org/CD/live/ This is not very useful: https://wiki.debian.org/LiveCD https://wiki.debian.org/LiveCD I don't even remember how I eventually found it, but you can find most from here: https://cdimage.debian.org/cdimage/ https://cdimage.debian.org/cdimage/
- rektide 6y agofairly off topic grumble, but ahh, i just wish the boot situation were better on modern hardware: 1. i could mount my efi partition on /boot , but debian wants something that has symlink support (efi is fat, which doesn't have symlinks). debian could be much easier to administer on modern uefi hardware. 2. some support for systemd-boot when installing kernels. heavens it is just so so so much easier to administer than grub, holy moly. for a while i ran extlinux & isolinux to avoid grub. grub is a nightmare, requires multiple layers of complex tooling to operate. i can, from memory, build a loader/entries/debian.conf file in under a minute, and it will work. uefi takes care of so much. grub is self-flagellation. alas, if you install a kernel, there doesn't seem to be any support machinery to keep systemd-boot up to date. debian could be so much easier to install on modern hardware. debian still seems firmly planted with the same decisions it'd made 20 years ago, when it comes to booting systems. i've found systemd-boot to be so good, so much better, installs much easier, but there doesn't seem to be any support from the os, other than downloading the bootctl binary that can do the stuff. i hope i'm missing something.
- dschuetz 6y agoPerhaps many do not remember, 10 years ago Linux support on mobile devices was actually abysmal. It was an exception rather than the rule. I am more concerned about distros dropping legacy stuff altogether instead of creating archive repos for that. I have a ton of legacy hardware lying around and it's more and more difficult to find a distro (Debian!) that still has some 10y old repo online. Including the drivers!
- bluedino 6y agoSomewhere around Redhat 7 (the first version back in 2001/02), I had a Dell laptop that worked great. I did buy a specific PC Card Ethernet adapter that had support, but everything else worked.
- jancsika 6y ago> Right now, we're doing that for you but not for the users who don't care whether firmware is non-free. Even the Debian dev in OP's corner can't help but give OP a left-handed compliment. Perhaps OP really does care about free firmware. Perhaps OP is in the not-so-uncommon position of installing Debian on a laptop that doesn't come with the one lonely wifi chipset in the last decade that has FOSS firmware. And to replace a godammned Windows 10 install! Debian + non-free is a vast improvement over Windows 10-- am I wrong about that, my dear Debian devs? Is it a requirement for installing Debian to first go dumpster diving for laptop parts? If no, it is some sadistic shit to post a netinstall image that is guaranteed to be broken for 99.99% of laptop users out there.
- ncmncm 6y agoI have long since given up on trying to help people find a Debian image that will install successfully. I, personally have never succeeded in figuring out how to install drivers separately. I doubt there actually is a way; or if there is, that anybody can figure it out just from what is published. Why they are asked to try is an enduring mystery. Instead, I tell them to install the Debian flavor of Mint, which publishes installers that, y'know, install. Once Debian-flavor Mint installation is finished, you have a Debian system that works. Most people don't ask me, and install Ubuntu instead, which they always seem to think works, although it always works badly, for me. Driving people away to Ubuntu does neither them nor Debian any good.
- tempfs 6y agoDebian is not the best distro to start with if you are you brand new to Linux anyway. It tends to assume that you have some understanding of Linux in general I think. You won't find app stores or wizards everywhere trying to shepherd you along for basic tasks. Ubuntu/Mint will do just fine for those users. They have all of that stuff and online forums to field questions. Once folks have adjusted and decide to use Linux for the long-haul they will start trying various distros on their own and land wherever they like.
- neilv 6y agoThe reason we have this problem at all might be due to a situation somewhat like the Prisoner's Dilemma. A couple decades ago, Linux started to get a lot of leverage -- partly due to a compatibility-unburdening created by the Web, partly due to all the libre or open source angle, partly due to technical merits, partly due to lots of people being thrilled to flee Microsoft, and partly due to Microsoft wanting an anti-antitrust alternative to point to. At this point, many in Linux and related spheres could wield this leverage, to get, say, technology partners to meet them on the kind of terms that had freed everyone from the tyrrany of Microsoft, and showed promise for doing even more. And if everyone in Linux did their part, Linux would have a stronger position. However, some parties, for whatever reason (e.g., philosphical differences, personal enrichment, desperation, not knowing history), decided to compromise, and make it easy to combine closed blobs/drivers/etc. with Linux -- frittering away the leverage Linux had. Bonus for compromising: the parties who remain committed to the principles that got Linux that far are at a disadvantage to you. (Disclosure: At one point, I was one of the people who compromised, in that I made a specialized Debian Live-based distro that included closed blobs. In that particular case, it was just a pragmatic decision, since I needed an emergency USB stick that would work in whatever PC was handy, but no commercial motivation. But even that obscure distro arguably contributed to discarding leverage, at least in principle. And a couple years ago I compromised on drivers for GPU computing, but maybe I wouldn't have had to, had some before me wielded leverage better.)
- crististm 6y agoLast time I checked, which was more than 5 years ago, non-corporation contributions to Linux amounted to less than 20% (with Greg H. pointing out that they needed to make life easier for those not-payed contributors). This means among others that Linux is a Corporate based project and caters to those corporations with a leverage of at least 4/1 for closed binaries with GPL and contributors' voice compensating for the other side. In the end this is what we have for better or worse.
- lovelyviking 6y agoTo think In this noisy world for a new user it is more important to know what Debian is , what it stands for and how it is different from other distros. If Debian would not stand for own values it could be easily lost among other distros and this is much more dangerous for distro then certain inconveniences. For user that values freedom it is much more important to have a trust to a distro because nothing is more comfortable then that. Once user have a trust , user can make informed choices about what to install. If Debian community believes in a freedom of choice such choice should be provided for user if some hw would not run without non-free parts but such parts should be provided with big warnings and confirmations about consequences . And it is better to be very specific about those consequences for each non-free part. This is actually can be seen as opportunity to educate users about dangers of non-free software . For many new users this could be a first step in learning about free software values. Non-free packages should be at least named ‘non-free’ to inform the user when they are provided.
- holri 6y agoJust plug in an Ethernet cable for installation. Most eth drivers are free.