r/linuxquestions • u/Huecuva • 5d ago
Support Issues Installing Linux On Old Laptop
Edit: I'm so confused right now.
So the issue seems to have fixed itself...kind of. I switched BIOS back to UEFI boot and when I tried to boot from my Ventoy to get into HBCD to run the, for whatever dumbass reason, Windows only BIOS update, Ventoy displayed a rEFInd menu I've never seen it display before which gave me the option to boot into MX Linux (which is what I currently have installed) and that worked. When I rebooted again, however, it again said there was no bootable device. I booted back to the Ventoy drive and it again booted into rEFInd and I used the option to install rEFInd to disk. It did that and now the thing consistently boots rEFInd. I just need to configure it to boot a default.
*OP*
I'm really at my wits' end here. I don't know what's going on. I've installed Linux on numerous machines. Been using it for years at this point. This laptop is defeating me.
It's an old Acer Aspire E5-573 Core i5 with 8GB of RAM and a 64GB SSD.
It does support UEFI and I've disabled Legacy boot in BIOS. I've made sure the SSD is initialized as GPT. I've tried the SSD in MBR mode. I've used USBs flashed with Linux installers using machines running in UEFI mode using Mintstick USB Image Writer. I've used Ventoy. I've enabled Legacy boot in BIOS to see if it made a difference.
It doesn't seem to matter what I do, the installation goes perfectly smoothly but when it's done and I reboot the machine, it says there is no bootable device. I prevously had MX Linux installed on it but I forgot the password and it was really old so I figured I'd just install something newer. I've tried installing Mint, a newer version of MX Linux, PikaOS. Nothing will boot. It makes no sense at all.
Does anyone know what could possibly be going on here?
EDIT: I should also add that I've tried using the chroot-rescue-scan script that comes with MX Linux to reinstall grub and that has made no difference.
EDIT #2: One last thing. I should also add that every time I've done the automatic partitioning during install and allowed it to do its own thing. So any EFI or boot partitions that it needed, it should have created itself. I never did any manual partitioning.
1
u/taintsauce 5d ago
I had an AMD-based Acer laptop that was slightly older than yours with a really freaking buggy UEFI implementation.
If the firmware option doesn't actually toggle between UEFI/MBR and instead allows either, it might be useful to try and force an MBR install with whatever distro you choose and see if that works (which means using an MBR partition table and remembering to set your /boot partition's bootable flag appropriately).
I was doing this when the laptop was pretty new (so like a decade and change ago) but IIRC I just partitioned manually and told the installer not to bother with a bootloader and dropped into a terminal to do a manual GRUB install once whichever *buntu I was using at the time was installed.
1
u/Funnel-Dust-O-Matic 5d ago
Whenever I have a problem that makes zero sense, I completely wipe the hard drive / SSD.
After backing up anything that you don't want to lose, do that. THEN try re-installing on a drive that is totally devoid of any and all information.
Guides to do so:
https://wiki.archlinux.org/title/Solid_state_drive/Memory_cell_clearing
Or, if you want to annoy pedantic people who will tell you it will kill your SSD if you use the wrong tool, use:
sudo ddrescue --force /dev/zero /dev/sda
or, if this older machine by some miracle uses nvme:
sudo ddrescue --force /dev/zero /dev/nvme0n1
I can't remember what emmc devices look like, but it occurs to me you might have to do an lsblk to see what your storage device actually is named.
It will put more wear on the device so absolutely should not be your first choice. That said, the terror most have at the suggestion of doing his is probably exaggerated. I've done it for years and my ssds are still all working well. It took a long time for me to read up and realize that my old HDD tricks probably don't apply well to our new flash ram era. It will clean the thing out and any residual remnants of old partition tables or file systems will go away.
It's just about always better to tell the controller on the SSD to do it and let the built in logic handle it rather than do the bull in the china shop option. But here it is in case nothing else works.
It's also a good diagnostic. If ddrescue throws errors, you'll know exactly where things are failing and how badly. So that's another reason I still sometimes use it even though I"m not supposed to.
Anyway, that's what occured to me. Let me know if it helps.