this post was submitted on 07 Mar 2024
60 points (88.5% liked)

Linux

48072 readers
1 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 6 years ago
MODERATORS
 

I got the T460 refurbished and I really didn't want to run Windows 10 on it. I last used Linux for any real length of time a good 20 years ago, so I'm pretty inexperienced with it at this point and I had to figure out how to install it myself.

They made it unreasonably difficult to first install an OS from a USB stick. I had to go into the BIOS, turn UEFI to legacy, turn off secure boot, reboot to boot from the USB stick, install Mint, then turn legacy back to UEFI to get it to boot from the hard drive. This took about 2 hours of trying to figure it out by doing a lot of forums reading.

I do not blame the Mint community or the Linux community as a whole. There is absolutely no reason that it should have been that hard to install Mint on that notebook.

I don't even think getting into the BIOS once time should be necessary, but changing a BIOS setting so you can install the OS and changing it back so you can run the OS off the internal drive is just ridiculous and I find it hard to believe Lenovo couldn't have just made it easier. I'm fairly convinced this was intentional on their part.

I'm not an IT professional or anything, but I know enough to figure this stuff out with effort, but it shouldn't have taken that effort. It should have been almost plug-and-play. This is 2024. The notebook isn't even 10 years old.

Is there actually a good reason for this or are they just kissing Microsoft's ass?

top 50 comments
sorted by: hot top controversial new old
[–] Aganim@lemmy.world 26 points 1 year ago* (last edited 1 year ago) (2 children)

This has nothing to do with Lenovo perse, this is the average experience for every laptop I've owned which had Secure Boot turned on.

You know what is fun? Having your Dell basically bricking because Fedora starts shipping a new version of shim-x64 which completely fails the UEFI handover to bootloader. Leaving you unable to boot at all, so no chance of reaching rescue mode. Then more fun times of booting a live environment from a usb stick after going through the same hoops you went through, finding out how to decrypt your BTRFS partitions, manually mounting and chrooting them so you can finally downgrade the offending package.

Linux and Secure Boot just isn't a great combination if you ask me.

[–] FlyingSquid@lemmy.world 7 points 1 year ago (1 children)

That sounds pretty awful, sorry that you went through that.

load more comments (1 replies)
[–] GolfNovemberUniform@lemmy.ml 16 points 1 year ago* (last edited 1 year ago) (4 children)

It's impossible to make the situation with BIOS easier. Incorrect boot order and secure boot are enabled by default for security and Windows compatibility reasons. Though I never heard that it's required to turn on legacy mode and change it back. Probably it's a highly model-specific thing. And btw secure boot is Mint's fault. It just doesn't support it yet

[–] fuckwit_mcbumcrumble@lemmy.world 13 points 1 year ago (2 children)

It’s not even machine specific. UEFI vs legacy bios boot mode is universally supported in all but the latest systems. If OP had to switch to legacy boot mode then they probably made the USB “incorrectly”. You’d run into the same issue on windows if you made the USB boot drive for legacy bios mode.

[–] FlyingSquid@lemmy.world 4 points 1 year ago

I'd love to know what I did wrong if you can tell me. I used Etcher like the instructions on Mint's website told me to.

[–] GolfNovemberUniform@lemmy.ml 4 points 1 year ago

Idk. I use Etcher and it never asks for any modes. Rufus is different though

[–] FlyingSquid@lemmy.world 2 points 1 year ago (1 children)

secure boot is Mint’s fault.

Well now I'm just surprised considering this is a 2016 notebook. They should be supporting a feature that old, shouldn't they?

[–] GolfNovemberUniform@lemmy.ml 5 points 1 year ago

Some distros support it but it's only like 4 or 6 of them. I guess it's really hard to support and maintain such feature

load more comments (2 replies)
[–] monsterpiece42@reddthat.com 14 points 1 year ago* (last edited 1 year ago)

This sounds like it was strictly the fault of the USB load. If you make a UEFI USB (you should use Ventoy, it's great btw) all you would need to do is shut off Secure Boot and install.

Most bootable drives don't support Secure Boot. You turn it off, do the install, and turn it back on if you want it. I personally just leave it off.

Outside of those caveats everything you described is industry-standard stuff. Nothing to do with Lenovo.

[–] avidamoeba@lemmy.ca 10 points 1 year ago* (last edited 1 year ago) (1 children)

Being unable to boot from a USB drive in UEFI mode sounds like a Mint problem. I just booted from an Ubuntu LTS USB on a similar machine, installed with all default BIOS. Haven't touched Secure Boot either. No trouble.

[–] FlyingSquid@lemmy.world 3 points 1 year ago (1 children)

Hm. Maybe I should have tried a different flavor of Linux in terms of ease of install. But Mint seemed like the best choice for me and now that it's actually up and running, it's fine.

[–] avidamoeba@lemmy.ca 12 points 1 year ago (1 children)

By all means, if it works already, don't fuck with it.

This community hates on Ubuntu but these are the kinds of corner cases that can make or break a new user's journey. Experienced users can resolve those with no emotion and we often discount the difficulty and importance of such issues to less experienced users. There's been a lot of work put in Ubuntu to tackle these kinds of issues - paper cuts. Recall the One Hundred Paper Cuts project. This is why I won't stop recommending Ubuntu LTS for new users.

[–] FlyingSquid@lemmy.world 5 points 1 year ago

It's good to know for the future if nothing else, so I appreciate it.

[–] Kory@lemmy.ml 9 points 1 year ago (1 children)

Wow what a ride. Congrats on making it work, I'm not sure if I wouldn't have given up at some point. Great job!

About kissing M$'s ass, don't get me started on updating the BIOS on a HP Laptop, they require you to do that in Windows cause it's the only way to get their downloader to run. So it's not only Lenovo's Laptops that don't play nice with Linux.

[–] FlyingSquid@lemmy.world 8 points 1 year ago (1 children)

I didn't even want to take a chance with an HP considering how fucked up their printers are.

[–] BCsven@lemmy.ca 2 points 1 year ago

I have HP Zbook, Linux works fine. There is a BIOS bug that linux boot acknowledges and moves forward with...just an annoying few intial mesaages during bootup

[–] bartolomeo@suppo.fi 7 points 1 year ago

Thanks for the update <thumbs_up>

[–] bjoern_tantau@swg-empire.de 7 points 1 year ago (1 children)

Well, you shouldn't have to turn UEFI off to boot from the USB stick. That one could actually be on Mint. Or on the way the stick was created. It's been a while since I messed with this stuff but by now a typical Linux installation medium should be able to boot with UEFI.

The secure boot is enabled by default so that only signed operating systems and not some malware can boot the computer. And I guess it's legitimate to not have the keys of all the Linux distributions under the sun in there.

[–] CrabAndBroom@lemmy.ml 7 points 1 year ago (1 children)

I'm not a secure boot expert, but it sounds like Mint should be supported anyway, according to Wikipedia:

Secure Boot is supported by Windows 8 and 8.1, Windows Server 2012 and 2012 R2, Windows 10, Windows Server 2016, 2019, and 2022, and Windows 11, VMware vSphere 6.5 and a number of Linux distributions including Fedora (since version 18), openSUSE (since version 12.3), RHEL (since version 7), CentOS (since version 7), Debian (since version 10), Ubuntu (since version 12.04.2) and Linux Mint (since version 21.3). As of January 2024, FreeBSD support is in a planning stage.

[–] bjoern_tantau@swg-empire.de 4 points 1 year ago

Support doesn't mean that their key is in there, though. It could also just mean that it has the ability to store its own key.

You should have been able to boot from USB and install fully in UEFI mode with Secure Boot enabled, but sometimes the method you use to make the bootable USB can screw that up. I've always had good luck with Ventoy.

[–] neytjs@lemmy.ml 6 points 1 year ago (1 children)

That sounds extremely infuriating! Regarding Lenovo and Linux Mint, I actually had a very good experience with them a little over a year ago. I bought a new IdeaCentre 5i pre-built desktop tower and had zero issues installing Mint on it. All I had to do was press F12 and select to boot from the bootable USB to install, no screwing with the BIOS or anything. But I've never tried installing Linux on a laptop. I only use desktops.

load more comments (1 replies)
[–] mom@nom.mom 5 points 1 year ago (1 children)

I don't feel like that's exclusive to Lenovo, fwiw. I have an Asus laptop, and it went like that for me installing Linux from a USB stick. It was a hassle and you're right that it seems harder than it needs to be.

I don't have any idea why it's like that, but it feels like it's a better option than someone being able to walk up to my PC/laptop/whatever and change my os just by using a thumb drive without any other hoops to go through. That's just where I stand on the issue, but you're right that it sucks for the owner/user.

[–] WallEx@feddit.de 2 points 1 year ago (1 children)

If you walk up with a Windows usb, what would Happen? Would you just be able to reinstall windows and even have it activated by the key in the TPM? I think so.

[–] mom@nom.mom 2 points 1 year ago (1 children)

I guess I don't know - I think you'd still have to go into BIOS and switch it to boot from USB? I don't know about the rest of it, but I'm pretty sure it wouldn't just start installation. Unless it's a thumb drive specifically tailored to take over someone's system?

So yes, you could reinstall Windows, but it would still require a reboot to BIOS to allow for it. Am I missing something? What's the big "gotcha" that I missed? I genuinely don't know, and since I am not an expert on installation of OSes, if you could enlighten me, that could be useful for me.

[–] WallEx@feddit.de 3 points 1 year ago (1 children)

I'm not very sure myself, thats why I phrased it that way ^^ wasn't supposed to be a gotcha.

Didn't try in a long time and maybe even tried without sacure boot, but all the times I put a windows USB in a windows machine and told it to boot from it (without entering bios, just a boot selection by hitting the right key) it just started so you could just reinstall windows, even with the old installation being moved to windows.old, so it could be searched.

Could be totally wrong here.

[–] mom@nom.mom 3 points 1 year ago* (last edited 1 year ago) (1 children)

Hell, I could be wrong too :-P I've never gone in that direction - only adding a Linux dual boot from USB stick. That sounds kinda scary, and would definitely make it easy.

Well, damn. Thanks for warning me about that possibility - looked like more steps that included BIOS last I checked, but as I said, I've never needed the process.
¯\_(ツ)_/¯

Edit: I should note that I have installed Windows from a USB stick recently, I've just never already had another OS installed and then going to Windows. Most of my experience is installing a Linux flavor for dual boot.

[–] WallEx@feddit.de 3 points 1 year ago (1 children)

Yeah, I'm probably going to put some research in, as I don't really like the thought ^^

Thanks for being critical and not just believing a random stranger on the internet

[–] mom@nom.mom 3 points 1 year ago

Haha - you too! I am also going to have to look into that, just in case 😅

[–] Titou@feddit.de 5 points 1 year ago* (last edited 1 year ago) (1 children)

That's surprising, Thinkpad x240 owner here. With all the os i installed on it i never had to do such overcomplicated manipulation, just bios entering + boot on usb.

load more comments (1 replies)
[–] Shareni@programming.dev 5 points 1 year ago (1 children)

I recently installed it on a t480 while distrohopping. I didn't need to turn off uefi, secure boot has been off since i got this laptop and i never turned it back on. My best guess is that you either did something wrong when making the live media, or during the installation. Next time try using ventoy, it's a really useful tool.

[–] FlyingSquid@lemmy.world 4 points 1 year ago (1 children)

I'll try Ventoy next time, thanks. I just followed the install instructions on Mint's website which says to use Etcher. Maybe that's the problem.

[–] Shareni@programming.dev 2 points 1 year ago (1 children)

Also, did you manually edit your partitions? It might be related to your bootloader being in /boot instead of /boot/efi. The first one's for legacy bios, and the second is for uefi.

[–] FlyingSquid@lemmy.world 2 points 1 year ago

Nope, I didn't do that either.

[–] possiblylinux127@lemmy.zip 3 points 1 year ago (1 children)

You probably should use uefi as it is better in a lot of ways.

[–] Bitrot@lemmy.sdf.org 3 points 1 year ago (1 children)

Edge ISO might have helped. It even supports secure boot.

[–] FlyingSquid@lemmy.world 2 points 1 year ago (1 children)

I'm not familiar with Edge ISOs because I am a total novice here, but Mint's website says, "If you cannot boot or install Linux Mint because your hardware is too recent and is not properly detected, you may get better results with the “Edge” ISO image." This is 2016 hardware, so would it have applied?

[–] MangoPenguin@lemmy.blahaj.zone 4 points 1 year ago* (last edited 1 year ago)

Probably, sometimes I feel like some of the linux community thinks stuff made in 2015 is 'recent hardware' lol

[–] om1k@sopuli.xyz 2 points 1 year ago (1 children)

I understand your perspective but the steps you mentioned are what you'd expect when installing an os. Even windows 11 would require you to turn on TPM which, for some, might be a super painful experience.

[–] FlyingSquid@lemmy.world 2 points 1 year ago (1 children)

I have never had to install an OS where I had to go into the BIOS multiple times to change settings back and forth.

[–] catloaf@lemm.ee 3 points 1 year ago* (last edited 1 year ago) (1 children)

Still beats setting IRQs. Or dip switches, if you're really old. Expect to have to fiddle if you want custom. You want fisher-price, buy a Mac.

[–] FlyingSquid@lemmy.world 3 points 1 year ago

I am that old and I admit, that is definitely true.

I'm not saying I want Fisher-Price here. I just don't think there should be this much of a challenge to install Linux on an old ThinkPad like this.

I have no problem with Linux not being a push here dummy OS overall, but not only having to change BIOS settings twice, but having to spend two hours surfing around trying to figure out that was the issue, especially when it was installed but wouldn't boot... that's ridiculous. From what people are saying, it sounds like it's a combination of Lenovo being dickish and Mint not supporting it well enough.

But whatever, it's installed now and works fine. I just needed a rant after going through that.

[–] LordPassionFruit@lemm.ee 2 points 1 year ago

As someone who also installed Mint on a Lenovo, I feel your pain. The only difference is that I was aware of the BIOS setting before I did the install because I'd read some forum posts preparing myself for the install.

load more comments
view more: next ›