10 ms·
UEFI & Linux mostly 'just works' nowadays. It is not a problem nor a barrier anymore, except for exotic situations maybe.
by roywashere 6y ago
UEFI & Linux mostly 'just works' nowadays. It is not a problem nor a barrier anymore, except for exotic situations maybe.
- rzzzt 6y agoReplace "UEFI setttings" with "boot menu" in parent's comment -- they are talking about the very first steps required to install an alternative/second operating system to the machine, which definitely is a barrier to new users.
- skohan 6y agoCan you install Linux on a Windows PC without leaving Windows nowadays? I think the maximum you can expect from a casual user is to click a link to download an installer, and then to go through a wizard. But I would wager to guess even a lot of users over 30 would need a friend or relative who is "good with computers" to attempt even this.
- donatzsky 6y agoDon't know if there's any Linux distribution doing it, but it seems to me that it should be possible. You'll just need to have a bootloader that's capable of reading NTFS partitions, that can launch the installation after reboot.
- input_sh 6y agoYou can burn an image to a USB and you can restart your computer into BIOS/UEFI. You'd manually have to select the USB device to boot from to continue, which would lead you to the wizard of whatever Linux distro you chose (Ubuntu based ones have "install X alongside Windows" option in there). You could theoretically also shrink a disk partition for a Linux install from a Windows system, but Windows doesn't recognise Linux filesystems (like ext4) natively. As a result, you can't go any further with installing Linux, and I don't know if you can mess around the bootloader to point it to GRUB. That's talking about dual boot of course, because I'm pretty sure you can't completely replace a Windows install from a running Windows system.
- skohan 6y agoYeah I think the processes you describe would be perceived as extremely technical to 99% of computer users.
- Okawari 6y agoIf you could make the bootloader point to grub you could potentially just make an automated install partition, make the computer restart and boot into that. Then from there install Linux from there without requiring user input. Technically not installing it from windows. But the install action would be initiated from windows. Would probably end up super janky in the end tho.
- rzzzt 6y agoUbuntu had a Windows installer, WUBI [1], which placed a large image file to the C: drive IIRC, but nowadays the suggestion seems to be to enable WSL and work from there. The USB installer still offers to resize existing partitions and install Ubuntu alongside Windows. [1] https://en.wikipedia.org/wiki/Wubi_(software) https://en.wikipedia.org/wiki/Wubi_(software)
- skohan 6y ago> enable WSL and work from there What do you mean? You can set up a bootable Linux install from Windows, or just use WSL instead of booting Linux?
- sjy 6y agoYou can tell them to go to the Microsoft Store, search for Ubuntu, and click Install. I have used this to coach non-technical Windows users over the phone to run software packaged in Ubuntu.
- skohan 6y agoIn other words run Ubuntu inside Windows? This is completely antithetical to the goal of escaping Windows
- bloqs 6y agoThis sort of nerdy "sweeping under the carpet" is part of the problem. This is totally dishonest. It doesnt "just work". You have no idea how think of it from a non technical users point of view. "I have to press the what to get to the what? When do i press it? Format drive?"
- idiot900 6y agoThis is true of Windows as well. What is your reference point for ease of use?
- PeterisP 6y agoThe reference point for ease of use is either (a) having the OS preinstalled, or (b) clicking 'next' a few times and waiting some time after a download or inserting media. That's how most people have obtained their OS, they never ever touch boot settings. It must either come preinstalled by the manufacturer, or be installable from a GUI launched from their existing OS, which is what they have done if they have installed a newer version of windows than they had originally.
- fuzzfactor 6y agotl;dr --first sentence & footnote only Multibooting is definitely the way to go, it could be seen 20 years ago when drive space began to outpace size needs of Windows' C: volume under typical user conditions. Every Windows PC eventually was going to have enough drive space for more than one OS, in the long run (now) room for many more. And the hardware was going to boot so fast, there was going to be no reason not to just quickly and simply reboot to Linux for the internet, or Windows for office work or gaming. But you have to be able to teach multibooting, and for that you have to practice it yourself reliably. Well, I'm here to say there are advanced geeks who are still just as bad at multibooting as below-average Windows users are at Linux. So Linux is still not flying off the shelf even though it's free, and can be added to Windows PC's without Windows users losing anything. For years now. The hardware was made for this since the beginning (using multiple floppies, then later multiple HDDs) but it could be considered a manual operation. Later DOS versions supported the IBM concept of partitioning a single HDD into a maximum of 4 primary partitions, analogous to a 4-drawer filing cabinet being replaced by a digital alternative. A folder(s) containing an OS can safely be stored in any drawer no differently than any other folder. Windows iconized DOS directories as folders as time went on. The BIOS (later a biosmenu) chooses which HDD to boot to in the original way, then further boot (menu) sectors/files on the HDD choose a partition having a folder containing an OS, then any OS treats each partition equivalently to a separate _drive_ of its own. This part of the process wasn't even that slow when PC's were 1/10 the speed. And Windows responded by salvos of bloat with each revision, sometimes in separate inter-revision events where much larger amounts of downloaded material was retained by huge leaps over what the originally issued OS started out doing, as drive space made excellent leaps in affordable space for users, the excellence was nullified. In my estimation a most Ballmerish occurrence. Also the original NT6 Vista & Windows 7 versions started out with the BOOT folder right there in the C: volume where the default bootmenu it contains could conceivably be edited easier (easier than it was later when hidden in a separate unexpected partition). Except for the NT6 boot files which became more arcane by orders of magnitude, this is by design. You need sufficient BCDEDIT skillz at the administrative command line to modify your default NT6 bootmenu, but you only needed a text editor for the human-readable BOOT.INI of NT3-5 or CONFIG.SYS in W9x. And with NT5 (or NT6 using BIOS/MBR) you could still boot (multiple) Linux(s) from the regular Windows bootmenu, but no Linux for you with NT6 bootmenu in UEFI, this is by design. No overcoming Windows SecureBoot obstacles in UEFI for Linux either until earlier this year in 2020, this only set Linux back 6 years when it comes to brand-new PC's. And all you have to do is learn how to multiboot well enough so you only have to teach people how to use a boot menu(s) in the way that everyone should have already been using now for decades.[0] Now in a FAT32 ESP with UEFI/GPT, Linux installers put their boot files alongside Microsoft's in the generic shared EFI folder, while the Linux OS itself can be completely directed to a single unused partition, /home /var /usr everything on a single type 83 EXTx volume. Without touching Windows on its established NTFS partition. It works so well, it's the closest thing to Linux on a Windows partition. Windows can make the partition and Linux can do the rest. Then you have two completely different formatted partitions each containing their native OS, and the original common FAT32 ESP containing the key EFI folder now having both OS's boot files in their own subfolders. And the proper Linux install just leaves your mainboard with a new UEFI top-priority firmware bootentry pointing to the new Linux bootfiles in their EFI subfolder, pushing the established firmware bootentry for Windows down the list in the mainboard UEFI. This is after the Linux setup process autofinds and autoadds the Windows install already present on its NTFS volume to the new grub menu so you can choose original Windows or new Linux while the UEFI is set to select the new Linux subfolder within /EFI. You can always set the mainboard UEFI back to boot to the unchanged established Microsoft UEFI bootentry instead of the new Linux UEFI bootentry, and the PC will act like Linux is not there at all, the new grub bootmenu will not appear and Windows will not normally be able to see or access the Linux partition. You could also use a built-in mainboard firmware bootmenu to manually choose between Windows or Linux during bootup, not much differently than if they were on separate HDDs, without needing any grub access to Windows, but not every UEFI mainboard even has a built-in bootmenu any more like BIOS did (BIOS could only choose from different HDDs, not the individual OS's on the HDDs like UEFI sometimes can do in addition), and they are all different but can be useful when there. ______________ [0] If a real programmer is interested, what is still missing is a new standard open-source UEFI bootmenu firmware executable. User-configurable to allow flexibly selecting which mainboard UEFI entries appear on its own menu when called, and their boot priority. And as simple as possible, to be unchanged afterward, we already have overly complex grub & Windows OS bootloaders downstream on the HDD, as moving targets. We just need a new hypervisory bootmenu upstream, to run under UEFI before booting an OS or its particular bootfiles, so there will be a standard way to select from firmware bootentries themselves. Without having to properly access the (otherwise confusing but potentially simple) UEFI boot choices manually while booting, using increasingly divergent mainboard Setup routines as more years go by. In the form of a small .efi executable to be placed on the ESP volume, which can be called from the startup.nsh batch textfile (also store startup.nsh on the ESP volume). While still being able to eventually obtain Microsoft SecureBoot signatures to any extent needed for such a useful bootmenu.efi & startup.nsh to come into simple routine use. Which if present, a startup.nsh file is already the thing addressed by UEFI before the mainboard ratchets down to booting the top-priority bootentry in its own UEFI list instead, and startup.nsh is a userfile so we would best start using it. But nobody's using startup.nsh yet, it's still not significantly underway for over 6 years now. It's just another obstacle where the resulting UEFI mainboard boot-performance landscape is ridiculously unstandard (and getting worse) by comparison to the previous BIOS approach which was never a formally published standard at all, and BIOS got better over the years. That's damage from a big UEFI foisting salvo by design, fully forseen. And Microsoft SecureBoot still looms large as a related obstacle from 2014 since they have not yet signed an open-source UEFI Shell for SecureBoot operation either. Shouldn't be essential for developing a .efi executable bootmenu program anyway, but still a bad lingering deficiency in simple UEFI utilities, and confirms Ballmer's ghost still haunts regardless of WSL or what anyone says otherwise.
- watt 6y agoThis is not even remotely the case. I just recently installed Ubuntu 20.04 on a newly bought PC (Asus motherboard). It was really tough - the installer would not recognize the USB stick for the longest time until I found the USB 2.0 slot that worked.
- deleted 6y ago[deleted]
- shock 6y agoDid a USB stick with Windows work in the slot the installer wouldn't recognize?
- watt 6y agoIt did. I did not rewrite the stick. There seems to be weird problem how USB3 is treated at boot time. This was a problem 3 years ago and it's still a problem: https://askubuntu.com/questions/1030234/installing-with-usb-3-0-on-17-10-or-18-04-gives-initramfs-unable-to-find-a-med#:~:text=If%20the%20USB%203.0%20USB,the%20link%20to%20USB%202.0 https://askubuntu.com/questions/1030234/installing-with-usb-...
- shock 6y agoThank you for the link, I was not aware of that problem. I suspected something UEFI related.
- trinix912 6y agoMany UEFI systems ship with Secure Boot enabled by default, which already causes some trouble for non-technical users who just follow the instructions, insert a Linux USB and expect it to boot properly.
- pietrovismara 6y agoWeeks ago I installed Mint 20 on a new thinkpad x1 8th gen and I didn't have to disable secure boot or anything. It just worked without any intervention or decision from me, except when it asks if you want to install it along windows or to overwrite it. I was amazed.
- varispeed 6y agoI would be wary of saying "just works" - you still have to dig into config files now and then and the potential to completely mess up your installation if you don't know what you are doing is real. I still cannot get my laptop's NVidia GPU working on Ubuntu.
- disgruntledphd2 6y ago20.04 seems to just work now, for the first time ever, I didn't need to spend any time getting it to work.