New install multiple times, UEFI/EFI system, only boots from USB bootstick
I have a newer MSI MAG Tomahawk motherboard with 2 M2 drives (One Samsung, One Western Digital. Both 2TB) with DDR4 32GB Ram, external video is ASUS GeForce RTX 3060 8GB, older CD/DVD ROM.
I have installed Slackware64-current from an iso I burnt to disk with windows back in June. The DVD boots into UEFI mode with no issues, I get to partitioning my disks also with no issues. I partition the disks as follows: Quote:
Is there a way I can fix this so it boots from the hard drive. Above where I mention I don't think it formats the EFI drive is because when ELILO didnt boot the system from the hard drive I tried to install both grub and and refind both which didn't work but still on the /boot/efi/EFI. If i run efibootmgr it looks like this: Quote:
On the stick the directory and files look like this (one that woorks) Quote:
Quote:
|
Are you running any software that depends on UEFI? If not then I suggest that you turn off UEFI in the BIOS. Then you could probably run the install treating the EFI area on the hard drive as ordinary drive space.
|
Copy the following around the internal drive efi parition: EFI/Slackware/elilo.efi to EFI/BOOT/Bootx64.efi, copy the rest of the contents of EFI/Slackware/ to EFI/Boot/
|
I tried copying contents of EFI/Slackware to EFI/BOOT and rebooted, this didn't work. I went into my BIOS and changed UEFI to CSM in advanced. Changed UEFI to Legacy+UEFI in boot and changed boot devices to USB Key,CD/DVD ROM,Hard Disk. Removed the USB boot stick, booted with DVD in and re-installed removed all the partitions on the first hard drive and used fdisk /dev/nvme0n1 (instead of cfdisk /dev/nvme0n1, read lilo has problem with cfdisk) finished the install rebooted and when it came up I was presented with the LILO menu (used advanced instead of simple) and booted fine without boot stick. I don't use software that requires this, and the drives I have which are brand new are not over 2TB if I upgrade the drives to over 2TB i will need to switch I just can't see it for the upgrade I just did was to prevent me from over paying for parts which I had to order on line and take long periods of time to arrive for it was a motherboard with the LGA1151 which was from the 2017 era.
|
How is the 500 MB partition formatted (EFI)? It must be FAT (theoretically it could be either 16 or 32, but I'd go with FAT 32) and flagged ESP and BOOT. The install procedure does not automatically format the EFI partition, so I suspect yours is not properly formatted.
I'd try to preliminarily format with a bootable disk such as Parted Live or System rescue CD the EFI partition and then you install Slackware as per instructions. Having a properly EFI formatted partition the install should find it and put automatically the ELILO and register the entry with efibootmgr. This is what I do for new installations. The mkfs.vfat after disk partitioning never worked for me... Hope this helps Ciao |
All times are GMT -5. The time now is 06:22 PM. |