Registrations are currently closed.

Some useful #slackware commands

tinkering

2024-01-06

mi

slackpkg update
slackpkg update gpg
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
slackpkg upgrade slackware64


grub-mkconfig -o /boot/grub/grub.cfg


netdate time.nist.gov


# /usr/sbin/openvpn --config /etc/openvpn/client.conf


kate /proc/sys/vm/max_map_count
1048576


watch sensors


loading external

fdisk -l
fsck /dev/sdc


How to compile your own kernel for Slackware

wget https://cdn.kernel.org/pub/linux/ker...x-6.2.9.tar.xz
mv kernel-configs/config-generic-6.1.21.x64 kernel-configs/config-generic-6.2.9.x64
sh kernel-source.SlackBuild
upgradepkg --install-new /tmp/kernel-source-6.2.9.txz
sh kernel-generic.SlackBuild && upgradepkg /tmp/kernel-generic-6.2.9.txz
sh kernel-headers.SlackBuild && upgradepkg /tmp/kernel-headers-6.2.9.txz
sh kernel-modules.SlackBuild && upgradepkg /tmp/kernel-modules-6.2.9.txz
cd /boot
mkinitrd -c -k 6.2.9 -m ext4 -> WHAT HERE?
grub-mkconfig -o /boot/grub/grub.cfg
shutdown -r now
sudo dd if=/home/mi/Downloads/slackware64-15.0-install-dvd.iso of=/dev/sdb bs=4M status=progress oflag=sync


MOUNT ISO

# mkdir -p /mnt/disk
# mount -o loop /<Path_To_ISO_Image>/<Name_of_ISO>.iso /mnt/disk
# cd /mnt/disk
# ls -al


Unmount ISO:

# umount /mnt/disk