LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 11-18-2023, 02:39 PM   #1
johnreeves
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Rep: Reputation: 0
problem booting Slackware 15 for first time


I have installed Slackware64 15.0 on a new build, successfully completing the setup script but on the reboot, returns to efi screen. I did change the boot priority to hard drive.
I downloaded the iso image from one of the mirrors, burned it to a dvd.

I use a usb dvd drive on the new build. I turned off safe boot, then booted using the usb dvd. I used cgdisk to set up both drives, m.2 and the rotating drives. I have tried putting the efi partition on the m.2, but the install would not boot up, I then wiped both drives and put the efi partition on the rotating drive, also would not boot up.

I got a "live" dvd to boot up so the motherboard options may be correct.
The new build uses a MSI PRO B760M-P DDR4 board, Samsung 980 nvme m.2 500GB and Seagate Baracuda 4TB hard drive.

What do I need to look for?

Thanks in advance

John R
 
Old 11-18-2023, 02:57 PM   #2
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 664
Blog Entries: 1

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
is efi (ef00) partition in first place? FAT32 with boot flag ?
you can check/fix it with gdisk
 
Old 11-18-2023, 04:12 PM   #3
johnreeves
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Original Poster
Rep: Reputation: 0
the efi partition is ef00 and format is fat32
 
Old 11-18-2023, 04:31 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
Are you using elilo or grub?
 
Old 11-18-2023, 05:05 PM   #5
johnreeves
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Original Poster
Rep: Reputation: 0
using elilo
 
Old 11-18-2023, 05:58 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
Make an EFI/BOOT directory on the efi partition on the m.2 drive, copy all the files from EFI/BOOT/Slackware to the EFI/BOOT directory, rename EFI/BOOT/elilo.efi to EFI/BOOT/Bootx64.efi. If that doesn't work try it on the spinning drives. If it still doesn't boot change over to the grub bootloader.

Last edited by colorpurple21859; 11-18-2023 at 06:00 PM.
 
Old 11-18-2023, 09:24 PM   #7
johnreeves
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Original Poster
Rep: Reputation: 0
I made the /EFI/BOOT directory, copied the files from /EFI/Slackware to /EFI/BOOT, renamed elilo.efi to Bootx64.efi.

now the boot starts ...

ELILO V3.16 for EFT/x86_64
.
Loading kernel vmlinuz... done
Loading file initrd.gz... done
(hangs) but it does respond to <ctl><alt><del> boot preference is still dvd, but goes directly to elilo, loads kernel and initrd.gz and hangs

If I can break into EFI and force a boot from dvd or usb stick then I'll wipe it and try again.

Slackware used to install flawlessly before UEFI!
 
Old 11-18-2023, 09:55 PM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
Esc, or one of the f-keys at first turn on should get you to the bios/firmware boot menu. This menu is different from the settings menu on. You may have to use the grub boot loader as elilo dosen’t work on some systems.
Another thought may be a video resolution problem, maybe adding “video=1024x768” or something similar as a kernel option will help

Last edited by colorpurple21859; 11-18-2023 at 10:02 PM.
 
Old 11-18-2023, 10:55 PM   #9
johnreeves
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Original Poster
Rep: Reputation: 0
already tried a few times, may need to take a few more tries, the default is "fast boot", I didn't think to disable it!
 
Old 11-19-2023, 12:44 AM   #10
quickbreakfast
Member
 
Registered: Oct 2015
Location: northern territory
Distribution: slackware 15
Posts: 336

Rep: Reputation: Disabled
Quote:
Originally Posted by johnreeves View Post
Loading kernel vmlinuz... done
Loading file initrd.gz... done
(hangs) but it does respond to <ctl><alt><del> boot preference is still dvd, but goes directly to elilo, loads kernel and initrd.gz and hangs
I am wondering whether you have told the elilo.conf where your root is?

Quote:
Slackware used to install flawlessly before UEFI!
I had a bit of trouble getting use to elilo, but once I got it booting there has been no problem.

I have asked that the configuring your system page be updated to include elilo information.

Incase it might help, here is my elilo.conf file. It's in /boot/efi/EFI/Slackware

Code:
chooser=simple
prompt
timeout=50
default=flop
#
image=vmlinuz-generic-5.15.117
        label=ops
        initrd=initrd.gz
        read-only
        append="root=/dev/sda2"  
 
image=vmlinuz-huge-5.15.117
        label=flop
        initrd=initrd.gz
        read-only
        append="root=/dev/sda2 vga=normal ro"
Other posters/members might say it is wrong. But while ever it works, I'll not be bothered to fix it.
 
Old 11-19-2023, 09:10 AM   #11
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
Yes disable fast boot
 
Old 11-20-2023, 08:44 PM   #12
johnreeves
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Original Poster
Rep: Reputation: 0
I managed to get it to boot from the iso, wiped all partitions and re-installed.
I put the efi partition on the nvme drive, after the setup script, I made the "BOOT" directory and copied the files from the Slackware directory, renamed the elilo.efi to Bootx64.efi. Verified the root and vga normal. then entered reboot.

still stuck after loading vmlinuz and initrd.gz

What else is there to check?
 
Old 11-20-2023, 09:12 PM   #13
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
It may be an elilo problem, install grub bootloader:
Boot the iso and manually mount root partition to /mnt, mount boot partition if it exist to /mnt/boot and any other needed partitions, mount efi partition to /mnt/boot/efi
mount --bind /dev /proc /run /sys to /mnt/{dev proc run sys} respectively
chroot /mnt
grub-install
grub-mkconfig -o /boot/grub/grub.cfg
cp /boot/efi/EFI/slackware-15.0/grubx64.efi /boot/efi/EFI/BOOT/Bootx64.efi.
exit
reboot

Last edited by colorpurple21859; 11-20-2023 at 09:15 PM.
 
Old 11-23-2023, 12:21 PM   #14
johnreeves
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Original Poster
Rep: Reputation: 0
as a test. I installed Debian 12 successfully, just to confirm there is no hardware problem.
then did a clean, full install of slackware 15.

no luck with the grub-install, something about 'source not specified'
 
Old 11-23-2023, 05:21 PM   #15
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
To install grub during slackware installation, at the lilo/elilo configuration prompt open a second console:
Code:
chroot /mnt
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
mkdir /boot/efi/EFI/BOOT
cp /boot/efi/EFI/slackware-15.0/grubx64.efi /boot/efi/EFI/BOOT/Bootx64.efi.
exit
continue with configuring the system skip/cancel installing lilo/elilo

Last edited by colorpurple21859; 11-23-2023 at 05:37 PM.
 
  


Reply

Tags
slackware 15.0



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel panic after booting Slackware 14.2 for first time - Dell Inspiron banjoecommando Linux - Laptop and Netbook 3 11-01-2018 08:22 AM
What I really liked about slackware after booting for the first time... clifford227 Slackware 7 09-10-2012 03:15 PM
how to understand user time, sys time, wait time, idle time of CPU guixingyi Linux - Server 1 08-24-2010 10:10 AM
problem in booting lfs even for the very first time sureka Linux From Scratch 3 05-21-2008 01:42 PM
G'day Eh, First time Linux first time forum tiger_513 LinuxQuestions.org Member Intro 2 01-16-2006 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration