LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-26-2024, 10:28 PM   #16
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590

boot the installation media to a terminal:
mount the root partition:
Code:
mount /dev/sda2 /mnt
mount bind to dev proc sys run to /mnt{dev proc sys run}
Code:
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount -o bind /run /mnt/run
chroot into the system:
Code:
chroot /mnt
run mkinitrd-generator to output suggested command:
Code:
sh /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 5.15.19
run the code generator by mkinitrd_command_generator
if usb drivers are not included add them after the -m option the command should look something like this with usb drivers included:
Code:
mkinitrd -c -k 5.15.19 -f ext4 -r /dev/sda2 -m usb-storage:xhci-hcd:xhci-pci:ohci-pci:ehci-pci:ehci-hcd:usbhid:ohci-hcd:mbcache:jbd2:ext4 -u -o /boot/initrd.gz
exit out of chroot
Code:
exit
reboot an cross your fingers.
 
1 members found this post helpful.
Old 02-27-2024, 06:57 AM   #17
MAYBL8
Member
 
Registered: Dec 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
Thanks for all of those instructions. I typed it in exactly as shown. It ran without errors.
I rebooted but no luck. It looks like it loaded the usb drivers from what I can see.
See attached screen shots.
It won't let me add the screen shots. Something about security.
I'll try later to upload the screen shots.
 
Old 02-27-2024, 07:28 PM   #18
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
At the grub menu press e for edit, add rootdelay=5 to the end of the line that starts with linux, ctrl-x or f10 to boot
 
Old 02-27-2024, 07:54 PM   #19
MAYBL8
Member
 
Registered: Dec 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
That didn't work either.
I appreciate you trying to get this to work.
Do you think it time to give up?
https://i.postimg.cc/26Tp024R/IMG-2366.jpg
https://i.postimg.cc/SNn0GLR3/IMG-2367.jpgscreen capture software
 
Old 02-27-2024, 08:01 PM   #20
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
I think you are still missing modules in the initrd. Chroot back into the system from the installation iso. run lsmod to see if you can spot any modules that may need to be included into the initrd.
 
Old 02-28-2024, 08:03 AM   #21
MAYBL8
Member
 
Registered: Dec 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
Here is what it shows.
Do you see anything in this list i need? I don't know what all this stuff is.
https://i.postimg.cc/yYXbD0Rw/IMG-2378.jpg
 
Old 02-28-2024, 08:19 AM   #22
MAYBL8
Member
 
Registered: Dec 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
Searching the internet for anything that might help I stumbled upon this post in a Manjaro forum.
Don't know if it applies here but it said this:

Quote:
Exec format error

The kernel version you’re running and the kernel version you built your module against do not match.
You need to build the module against the same kernel version you’re running.
Does this help at all?
 
Old 02-28-2024, 09:18 AM   #23
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
add typec typec-ucsi uas
 
Old 02-28-2024, 09:33 AM   #24
MAYBL8
Member
 
Registered: Dec 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
to this line?:
Code:
mkinitrd -c -k 5.15.19 -f ext4 -r /dev/sda2 -m usb-storage:xhci-hcd:xhci-pci:ohci-pci:ehci-pci:ehci-hcd:usbhid:ohci-hcd:mbcache:jbd2:ext4 -u -o /boot/initrd.gz
 
Old 02-28-2024, 11:11 AM   #25
MAYBL8
Member
 
Registered: Dec 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
Ok I added the line to the initrd

Here is what I see now. Looks like maybe making progress.
https://i.postimg.cc/YCqkRynt/IMG-2381.jpg

Last edited by MAYBL8; 02-28-2024 at 11:13 AM.
 
Old 02-28-2024, 12:10 PM   #26
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Not there yet, still getting “can’t find /mnt in /etc/fstab “
 
Old 02-28-2024, 12:21 PM   #27
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
It may be one of the intel-ish modules that needs to be added I’m just guessing at this point
 
Old 02-28-2024, 12:25 PM   #28
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
What is output of:
Quote:
sh /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 5.15.19
in post 16 after chrooing into the system?
 
Old 02-28-2024, 02:39 PM   #29
MAYBL8
Member
 
Registered: Dec 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
Reran that command. It generated the attached command. I ran that command exactly as it was shown but that didn't get me booted in either.
See below
https://i.postimg.cc/8PVPnK2x/IMG-2382.jpg
 
Old 02-28-2024, 02:52 PM   #30
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,795

Rep: Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477
Quote:
Originally Posted by MAYBL8 View Post
Ok I added the line to the initrd
I don't think you did it correctly. You should add all the needed modules in the -m option, separated with colons, like this:
Code:
mkinitrd -c -k 5.15.19 -f ext4 -r /dev/sda2 -m usb-storage:xhci-hcd:xhci-pci:ohci-pci:ehci-pci:ehci-hcd:usbhid:ohci-hcd:mbcache:jbd2:ext4:typec:typec-ucsi:uas -u -o /boot/initrd.gz
 
  


Reply



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
First post for a noobie Jarhead5500 LinuxQuestions.org Member Intro 1 04-06-2023 01:31 AM
[SOLVED] Having some trouble running the broadcom wireless drivers slackbuild script [first time using slackbuilds] 700 Slackware 2 06-27-2019 02:32 PM
really enjoying slackware as a noobie..... have some q's r3b0rn Slackware 11 09-28-2007 02:06 AM
Noobie to Linux! First time installer! chowda633 Slackware 8 10-12-2003 03:02 PM

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

All times are GMT -5. The time now is 12:11 AM.

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