Yes, you are on the correct path with that solution.

You can boot from the installer and manually mount /dev/sda1, then copy
over a correct configuration.

You might also mount /dev/sda2 in order to bring a clean kernel over and
make sure all the files are correct. From the live disk:
Mount the relevant partitions....
$ mkdir /mnt/boot
$ mkdir /mnt/rootfs
$ mount /dev/sda1 /mnt/boot
$ mount /dev/sda2 /mnt/rootfs

Mounted, now we cp the Linux kernel:
$ cp /mnt/rootfs/boot/vmlinuz-huge /mnt/boot/EFI/Slackware/vmlinuz

Now, make sure your elilo.conf is correct, use the cat command and confirm
that it outputs the following text...

$ cat /mnt/boot/EFI/Slackware/elilo.conf
chooser=simple
delay=1
timeout=1
#
image=vmlinuz
        label=vmlinuz
        read-only
        append="root=/dev/sda2 vga=normal ro"


If it says ANYTHING else, stop, and paste the output here.




On Thu, Dec 27, 2018 at 9:49 AM Dick Steffens <[email protected]> wrote:

> On 12/27/18 8:21 AM, Ben Koenig wrote:
> > Running lilo and installing a bootloader to your MBR will not impact UEFI
> > booting *unless* the BIOS has been set to prefer Legacy booting. MBR
> > bootloaders (like GRUB and Lilo) do not touch the EFI boot partition and
> > will be ignored if you configure the BIOS to ignore them.
> >
> > Dick, do you have your BIOS set to UEFI, Legacy, or Both?
> >
> > That is a very important question for installing an OS across ALL
> platforms.
> >
>
> I'm not sure where to look for that, so I'll provide probably more than
> is needed.
>
>
> -----------------------------------------------------------------------------------------------------------
>
> ASUS UEFI BIOS Utility - EZ Mode
>
> SATA Information
> SATAG_1:WDC WD10EZEX-00WN4A0 (1000.2GB)
> SATAG_2:ASUS  DRW-24F1ST c ATPI
> SATAG_3:N/A
> SATAG_4:N/A
>
>
> Boot Priority
>
> (Icon that looks like a disk platter with a head) Slackware (SATAG_1:WDC
> WD10EZEX-00WN4A0)
>
> (Icon that looks like a disk platter with a head) SATAG_1:WDC
> WD10EZEX-00WN4A0 (953869MB)
>
> (Icon that looks like a DVD) SATAG_2:ASUS  DRW24F1ST
>
> (Icon that looks like a disk platter with a head) ubuntu (SATAG_1:WDC
> WD10EZEX-00WN4A0)
>
>
> Boot Menu(F8)
>
> SATAG_1:WDC WD10EZEX-00WN4A0 (953869MB)
> ubuntu (SATAG_1:WDC WD10EZEX-00WN4A0)
> Slackware (SATAG_1:WDC WD10EZEX-00WN4A0)
> SATAG_2:ASUS  DRW24F1ST
>
>
> -----------------------------------------------------------------------------------------------------------
>
> So, even though Slackware is first in the Boot Priority list, ubuntu
> shows up ahead of it in the Boot Menu. It doesn't appear that I can move
> anything in the Boot Menu. I tried moving ubuntu in the Boot Priority
> list, and the machine hung. When I powered off and back on, the DVD
> drive was gone.
>
> After exit, there is a long pause, and then I get the GRUB prompt again.
>
> > do you have your BIOS set to UEFI, Legacy, or Both?
>
> I don't know if I've found what you're asking, but in Advanced Mode
> there is a Boot menu. In there is CSM (Compatibility Support Module).
> Here's what it has:
>
>
> -----------------------------------------------------------------------------------------------------------
>
> Launch CSM                    Enabled
>
> Boot Device Control        UEFI and Legacy OPROM
>      Other options are             Legacy OPROM only
>                                               UEFI only
>
> Boot from Network Devices             Legacy only
>      Other options are                              Ignore
>                                                                UEFI
> driver first
>
> Boot from Storage Devices             Legacy only
>      Other options are                              Ignore
>                                                                UEFI
> driver first
>
> Boot from PCI-E Expansion Devices             Legacy only
>      Other options are                                      Ignore
>    UEFI driver first
>
>
> -----------------------------------------------------------------------------------------------------------
>
> When I hit EXIT, the screen went blank, followed by a few flashes, one
> of which showed ELILO, but it disappeared, and I'm back to the GRUB prompt.
>
> I'm guessing that my original mistake was that I didn't format /dev/sda1
> before beginning the install. I just reused the partitions that were
> there for Ubuntu 16. I did format /dev/sda2 before the install. I did
> not format /dev/sda3.
>
> Device          Start        End    Sectors   Size Type
> /dev/sda1        2048    1050623    1048576   512M EFI System
> /dev/sda2     1050624 1936863231 1935812608 923.1G Linux filesystem
> /dev/sda3  1936863232 1953523711   16660480     8G Linux swap
>
> Assuming that my guess is true, can I boot from the USB stick I made
> after installing on the laptop, and run some script to clean out what's
> in /dev/sda1 and replace it with what should be there? Or am I guessing
> wrong about what's wrong?
>
> Thanks for the help.
>
> --
> Regards,
>
> Dick Steffens
>
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to