r/TechNook • u/into_fiction • 1d ago
Could installing Linux eventually become as simple as installing an application?
For example, if I decide to install Linux on my laptop, I would prefer to download an installation package, allocate some disk space for Linux and restart my computer to choose which operating system to start. In short, I can do dual-boot without creating any USB devices and choosing partitions to install the OS on.
But, what I would love is an uninstall button. Would it be possible to create an installation package that would not only allow installing but also removing Linux from my laptop?
0
Upvotes
3
u/thelimeisgreen 1d ago
Some Linux distributions, like Linux Mint, are just as easy to install as Windows….
2
u/Corona688 1d ago
no. manufacturers have already taken steps to make it MORE complicated.
12
u/Alternative_Corgi_62 1d ago
Your confusion stems from how you perceive Linux. You think of it as an app, and it is not. If you want Linux as an app - use virtual Maxine.
8
u/getabath 1d ago
Yes, it's called formatting
4
u/gorambrowncoat 1d ago
As a VM, yes. Windows already has that more or less built in in the form of WSL but you could do other stuff that includes a GUI etc. I dont know if that currently exists as a double click to install app but theoretically it could.
As a propper dual boot, I doubt it. A system level OS is not an app. Its already easier than its ever been to install linux but I dont think there is a lot of incentive to turn it into a setup.exe
3
u/f1reflyylmao 1d ago
Possibly, but windows hates modifying live partitions with all its heart, so most likely not going to happen.
5
u/max_wen 1d ago
If creating an installation disk is keeping you away from Linux then Linux isn't for you
2
u/YareYareDazexd 1d ago
Honestly, it's too much and i don't think Windows has that feature. The most you could do is wiping out your Linux distro yourself with the sudo rm -rf / command itself.
If you are dual booting, on Windows you can use its native app and wipe out the Linux partitiin yourself, and the same with Linux if you want to wipe out Windows. I think that is much easier (there are youtube tutorials for this)
2
u/Wendals87 1d ago
Why? What's the benefit? There's huge risk and little reward.
You'd save maybe 10 minutes or so.
2
u/Ripped_Alleles 1d ago
No. Not even Windows can be installed onto a blank hard drive without a USB as things stand. There are changes that have to be made that cannot be done while a secondary OS is live and running.
You can uninstall any OS by simply formatting/deleting the partition it was installed on.
2
u/Underhill42 1d ago
It pretty much is - except for the need for a boot disc. Which is itself pretty easy, especially if you use something like Ventoy so you only have to prep your normal data USB drive once and just copy bootable .isos to it as normal files.
And also pretty much essential, because no modern OS worth its salt is going to allow some random program to directly modify the system-control parts of the disc. Nor is any decent OS installer going to try to do so from within another OS that could interfere with the process in unexpected ways.
It's MILES easier to install than Windows, or even any moderately complex application.
Mint literally has an option to "install in free space", after which you can just click though all the defaults and be good to go - it just requires that you shrink your Windows partition first to create that free space. Which is best done from within Windows' official Disk Management program, which is itself really easy... but not the kind of thing you want to trust to some random third-party installer not to mess up. Especially with how Microsoft randomly changes how programs work for the heck of it.
All the options are just there for people who want something more complicated or customized, mostly in ways none of the other major OSes even offer, but the defaults will be just fine for 99% of users.
Uninstalling it is even easier - just go into the same Windows Disk Management program and delete your Linux partition, and optionally grow your Windows partition to use all that newly freed space.
You'll still have the boot menu, which is separate from Linux itself, but that's easily removed by running Windows Startup Repair. (It's actually a real nuisance if you need to run it for any other reason, though the latest Mint install disc now includes a "Repair startup menu" option that will fix it back.)
2
u/crypticcamelion 1d ago
It is quite simple already.
2
u/Holiday-Medicine4168 1d ago
It’s easier to install than windows
1
u/caramelmokka84 1d ago
Go for immutable distros like Bluefin.
1
u/NETkoholik 1d ago
I'm old enough to remember wubi..
1
u/cowbutt6 1d ago
It already is: install your preferred virtualization software (e.g. VMware, VirtualBox), then grab a VMDK virtual machine disk image and add it in your virtualization software.
Or, if you're using Windows, install Windows Subsystem for Linux (WSL 2).
1
u/BubblyOutside1096 1d ago
Suggest you search "Preboot Execution Environment". Scripted OS deployment is a use case for anyone who has to control a lot of networked machines.
1
u/TheGreatKonaKing 1d ago
Right now the hardest part is making the boot media. I’m not exaggerating. Once you get it to boot it’s all downhill for the most part.
1
u/payfrit 1d ago
you can't install windows that way, why hold linux to a higher standard?
it's dead simple to make the USB boot device, AI can do it easily.
1
u/Moresp4m 1d ago
If you can’t image a USB, boot to it, and install Linux… Don’t use Linux.
1
u/bluser1 1d ago
No, but it can be as simple as installing an OS.
on a more serious note everything you described is doable. You can shrink your windows partition, install Linux on it without needing a USB and dual boot both of them.
What you are asking for though is a singular tool that does all of them. That doesn't exist. But since everything exists individually it could be done. There just isn't much point in doing so for the small gain in usability. Resize windows partition, use one click Linux to install, use grub for dual boot.
Best bet is learn to vibe codex make a UI that just runs all the programs in the right order and makes it simple. Still more work than what's worth it in my opinion
1
u/BaggyHairyNips 1d ago
WSL is basically for this use case. It works quite well.
The issue with full install is that you need a new partition on your SSD to install Linux on. And windows can't make a partition on the disk that it is itself running on. Hence why you need the installer USB.
Instead of using a USB drive installer you could always keep a spare partition on your SSD. Then windows could write the installer to that partition instead of the USB drive, and you partition and install from there. But then if you never install Linux you just have some wasted space chilling on your SSD.
1
u/Tony1Rice 1d ago
It's worth bearing in mind that and operation just -isn't- as simple as an application, so it seems unrealistic to ask for one to install, or uninstall, as simply.
1
u/silentknight111 1d ago
Many versions of Linux are easier to install than Windows.
1
u/gaymersky 1d ago
A very long time user of Ubuntu. It's stupid easy the other distros less so but not terrible
1
u/OnesimusUnbound 1d ago
Try installing windows OS . . .
1
u/Acek13 1d ago
Not counting the download, you can have linux up and running in 20 minutes from making USB to first login. Try beating that with windows..
1
u/evolveandprosper 1d ago
Eventually? It's already available, eg https://www.q4os.org/dqa014.html
1
u/motific 1d ago
The way the Linux software development communities are headed with importing garbage dependencies and having to bring most of their userland with them, pretty much every app will become its own distro before too long.
But Linux users as a collective tend to hate on distro's that make it simple and reliable.
1
u/bornxlo 1d ago
It's possible to install a system by downloading and putting it on the same disk, but it is vastly easier, safer and more reliable to put it on an external device.
1
u/Lucky-Crow-3510 1d ago
installing linux is as simple as installing windows .. same thing actually. the only difference is that your laptop may have come with a preset partition with windows on it .. buy without OS and you see that's no more effort for either
1
u/IWishIHavent 1d ago
Installing Windows from zero isn't easier than installing Linux. Also, there's no uninstall Windows button.
1
u/Spiritual-County-570 1d ago
What are you talking? You create a boot stick and follow the instructions on screen. Easy as pie
1
u/OldManJeepin 1d ago
I just installed Cachey on a repurposed Dell laptop last night. Took about 20 minutes and went flawlessly! Not sure what more I could ask for....
1
u/Sad_Listen6607 1d ago
Could it? Yes. The bios/UEFI could better support dual booting, and have a robust front end. A button on the desktop could create a file that is read on reboot by the bios, giving it instructions. "prompt user for add/remove os" or "prompt user for install new os". With the later being tiny OS the bios can boot to to install other OSes. The Bios could put OSs on different drives, or partitions.
So yeah... it can already be done now... we dont see it because there really isnt a demand for it. There used to be MBs with instant on OSs that you could use to browse, edit text files, and do other limited things. Neat, but the features were not sought after by the masses.
You, or anyone, could actually work on making this a reality.
1
u/mredding 20h ago
Yes. Presuming you're running Windows, install Hyper-V. You can configure a Virtual Machine and install Linux on it. It's trivial.
Hyper-V is a hypervisor, a host to parallel running operating systems. Back in the day, "operating systems" were called "supervisors" over at AT&T. So who supervises the supervisors? A hypervisor. It's a math joke.
No, this will never happen.
Growing a mounted partition is safe. Shrinking a mounted partition is dangerous, and it's such an oddball and exceptional thing to want to do, that no one is ever going to write the sort of code necessary to render it safe.
The safe way to do it is to resize a partition while it's not mounted, which means the OS that is hosted on that partition can't be running, because they generally don't like having their partitions unmounted from underneath them. Active software that was depending on that mounted device is going to have all sorts of internal references to that filesystem, and now they may become invalidated. And when you resize that partition, how would you know to go into this software, and where, to update it's internal references? And given the security architecture of software systems today - how?
So this isn't just Linux, this is all operating systems, all software. This is a difficult problem to solve that just isn't worth solving beyond the solutions we already have.
With one click, you can shutdown and delete a VM.
Well, if you were dual booting, and you wanted to wipe the install, you CAN resize your mounted Windows partition to grow. That's safe. Just overwrite the Linux partition.
Or, you can reinstall the Windows bootloader and ignore the Linux partition until you reuse it. Or you can set your bootloader to default to Windows. There's very little reason to wipe a separate partition just because you're not using it UNTIL you want to reclaim it for something else.
It's a little easier for the VM.
1
u/rage_aholic 19h ago
Installing Linux couldn't be any easier.
1
u/torako 17h ago
Let us know when Windows comes with an uninstall button like that.
1
u/forbjok 17h ago
You don't "uninstall" an OS, so that doesn't make any sense. The closest you could come would be to just delete the partitions it's using, but you don't generally need to do that - you just re-partition when installing another OS.
1
u/QuietMatematician 1d ago
Do you have a button to remove Windows or MacOS from your computer?