Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I list the NIC's? And how do I get them running?
Two commands, 'ip a' ( without the quotes ) and inxi -n will list the interfaces and display status.
The ip command can change the state of the interface once its configured. On an install with ethernet cards, run the script 'netconfig' ( no quotes ) and fill in the blanks for each item. That should get your interfaces configured. You need to be root to run netconfig.
Is it a .run file for the Nvidia card ? Slackware has Nvidia drivers on Slackbuilds. It is your choice if you want to install the driver from a run file, just understand it is not tracked by Slackware by the package manager. If you install from Slackbuilds, it is tracked.
To mount the USB stick, as root use the mount command. Begin by finding out what the USB stick is know by. Run the command 'lsblk -f' before plugging the stick. Note what partitions and HD's you have. Plug the stick, and re-run the command. Use the mount command.
Ex. 'mount /dev/sdxy /mnt/hd' The xy is the drive and partition number. /mnt/hd is a standard empty mount point on every Slackware system I have used. You can create your own mount point if you wish. Once mounted, you can install the Nvidia driver. You will need to blacklist the nouveau driver for the Nvidia driver to work.
The driver is on a USB-stick but I haven't found a way to mount one without first getting into X.
Become the superuser:
Code:
su -
Insert the usb-stick.
See how the usb-stick was recognized by the system:
Code:
dmesg
It should say something like sdb, sdc, etc., and list the partitions, like sdb1, sdb2, etc.
Assuming your usb-stick has one partition recognized as sdb1:
Code:
mount /dev/sdb1 /mnt/tmp
Change to the directory where the usb-stick was mounted:
I'm very sorry for the long delay. But I'm back home now. More importantly, awake. Thanks for all of your replies. I lumped them all together here. I'm more than happy to help you help me.
Quote:
Two commands, 'ip a' ( without the quotes ) and inxi -n will list the interfaces and display status.
Just as during installation, twice, when I ran netconfig, the result was the same.
Code:
# netconfig
Hostname
domain
Networkmanager
Code:
# ifconfig
lo:
Quote:
Is it a .run file for the Nvidia card ?
Yes. I will happily try a slackbuild though.
Code:
# lsblk -l
With or without the USB-stick, it show six results. All nvme.
Quote:
did you have build an initrd?
No. I followed the installation to the end. That is all.
Quote:
Is the fresh install current or 15.0?
It is 15. I'm a stable kind of guy.
Quote:
Can you ping somewhere like ...
No, nothing
Quote:
Have you tried the "mount" command?
No, I don't know what to mount. See below.
Quote:
Become the superuser:
I haven't yet created another user. So, root I am.
Code:
# dmesg
This is a long list. It does show a few USB-sticks being connected and disconnected. Chancing it I tried
Code:
# mount /dev/ "tab, tab"
Only thing that shows up are shm, snapshot, stderr, stdin, stdout. So I didn't go further.
More intriguing though, are the fails to execute "/usr/share/virtualbox/VBoxCreateUSBMode.sh ..."
and so on, on a few places. Why does a fresh install remember such things? I put the whole install in the one partition called "/".
I don't recall the install asking me to jump through hoops about EFI or elilo. Merely if I wanted to install lilo or not. My memory is a bit hazy about the details.
The last few times I tried to install again, the screen was half filled with 99 before freezing up.
1. Maybe you have a UEFI system and you did not install elilo. You used to have an updated Slackware system before so you had earlier kernel 5.15.117 and possible initrd in the EFI system partition. You boot now from that. And the root file system has now the original Slackware kernel 5.15.19 with modules.
2. Or you have legacy system and did not install lilo. The old MBR has the old lilo pointing to the old 5.15.117 kernel.
To fix, boot from the install USB stick but in the Boot: prompt, don't press enter. Instead, read the text on the screen. It tells you can type 'huge.s root=/dev/sda1 initrd= ro'. Then you boot to your new os with kernel 5.15.19 with working net and you can fix initrd and elilo or lilo. (You need to know your actual root partition to replace sda1 with it.)
Last edited by Petri Kaukasoina; 01-13-2024 at 07:14 AM.
ls -l /var/lib/pkgtools/packages | grep kernel
-rw-r--r-- 1 root root 124K Dec 30 17:17 kernel-firmware-20231222_a7dee43-noarch-1
-rw-r--r-- 1 root root 984 Dec 26 07:39 kernel-generic-5.15.145-x86_64-1
-rw-r--r-- 1 root root 31K Dec 26 07:39 kernel-headers-5.15.145-x86-1
-rw-r--r-- 1 root root 980 Dec 26 07:39 kernel-huge-5.15.145-x86_64-1
-rw-r--r-- 1 root root 328K Dec 26 07:39 kernel-modules-5.15.145-x86_64-1
-rw-r--r-- 1 root root 4.9M Dec 26 07:43 kernel-source-5.15.145-noarch-1
5.15.145 is the latest kernel for 15.0, and you can find the files on any 15.0 mirror. Since you do not have a working network interface, have you access to any working machine? If yes, doenload the above files, copy them to your system, and as root user run upgradepkg on each file. You will have to update lilo, or elilo, or grub depending on what your boot loader is.
Does lspci find both network cards? Maybe post the info from like the 1st two lines. (only net cards; including like "[1111:2222]")
I think(?) lspci will see them, even if (any) kernel doesn't find drivers(?) (yes?)
5.15.117 won't use 5.15.19 drivers, so back to sorting out partitions/bootloaders!
(P. S. this might even explain it not finding the USB stick driver!)
Fix: either re-reinstall carefully using the 'right' partition/bootloader (IDK EFI)
Or get the 'right' partition to use the 'right' bootloader (existing stuff). Best wishes. Bye.
1. Maybe you have a UEFI system and you did not install elilo. You used to have an updated Slackware system before so you had earlier kernel 5.15.117 and possible initrd in the EFI system partition. You boot now from that. And the root file system has now the original Slackware kernel 5.15.19 with modules.
Your guess is correct. I took for granted that UEFI was too common these days.
Quote:
2. Or you have legacy system and did not install lilo. The old MBR has the old lilo pointing to the old 5.15.117 kernel.
To fix, boot from the install USB stick but in the Boot: prompt, don't press enter. Instead, read the text on the screen. It tells you can type 'huge.s root=/dev/sda1 initrd= ro'. Then you boot to your new os with kernel 5.15.19 with working net and you can fix initrd and elilo or lilo. (You need to know your actual root partition to replace sda1 with it.)
I did actually make a boot USB-stick this time. Would that help? The partitions were written down bore reinstall.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.