Slackware 14.2 fresh install doesn't run LILO nor ELILO at boot
2
votes
1
answer
2810
views
This is my third Slackware 14.2 64-bit installation.
I'm installing it now on a laptop with GPT partitions.
I will describe as best as possible the path I had to do with this installation.
Initially I had to overcome the issue that using
and
.
Neither is perfectly clear; look at either one, or both, or neither,
as you prefer.
How can I start Slackware 14.2 with GRUB commands?
I may be missing something as I am new to GRUB commands.
The best solution I would be looking for is that
dd
to create the USB stick for installation was not booting from the pendrive.
I had to use the usbimg2disk.sh
script.
Once I was able to boot from the USB I had to mount the pendrive manually as the USB was not detected when I was asked for source media. i.e., I did:
mkdir /os
mount /dev/sda1 /os
And then I selected "install from premounted directory" and used /os/cdrom0/slackware64
All the installation went fine, but then I faced another issue, which I couldn't resolve yet. I tried with lilo
and elilo
options, but the boot is still showing the grub2
, which was there from the Ubuntu 14.04 installed previously,
with no options but the grub
command line instead.
I may mention that from BIOS setup I see as UEFI Hard Drive BBS Priorities Boot Option #1 which is [ubuntu], but not sure that should be an issue,
as I have overridden the Ubuntu partition already.
However, I'm not sure why the ubuntu tag is there
and I don't see any way to change that.
The partitions I selected within the installation were:
/dev/mmcblk0p3 / ext4
/dev/mmcblk0p4 /home ext4
As I had only GRUB available, I decided to learn some GRUB commands
and was able to start the Slackware kernel with the below commands:
grub> set root=(hd0,gpt3)
grub> linux /boot/vmlinuz root=/dev/mmcblk0p3
grub> initrd /boot/vmlinuz
grub> boot
I thought it was going to be a successful start, but instead I got the following kernel panic error:
RAMDISK: Couln't find valid RAM disk image starting at 0.
VFS: Cannot open root device "mmcblk0p3" or unknown-block(0,0): error
Here are two photographs of the screen during the boot: 

lilo
or elilo
show at startup in order to start Slackware automatically.
What can I do for lilo
to show as boot loader?
Asked by Cedric Zoppolo
(121 rep)
Nov 18, 2017, 12:21 AM
Last activity: Feb 11, 2023, 03:04 PM
Last activity: Feb 11, 2023, 03:04 PM