LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-20-2022, 04:42 AM   #16
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,938

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568

Quote:
Originally Posted by Cameronnoah View Post
Like i legit did very few things for it not to be working. Updated it, installed slackpkg+, installed multilib script and that's it pretty much and now it's broken lol.
Do I understand it right? You installed 15.0 and X worked. After you installed "multilib script", X stopped working? What is that "multilib script" and for what Slackware version is it?
 
Old 03-20-2022, 04:57 AM   #17
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,938

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
What do these commands tell you?
Code:
lsmod
ls /var/adm/packages/kernel-*
uname -r
Maybe you upgraded the kernel and modules, but are still using the old kernel without its modules.
 
Old 03-20-2022, 05:25 AM   #18
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by Petri Kaukasoina View Post
Do I understand it right? You installed 15.0 and X worked. After you installed "multilib script", X stopped working? What is that "multilib script" and for what Slackware version is it?
It's part of slackpkg+, /usr/doc/slackpkg+-1.8.0/setupmultilib.sh. I guess its supposed to make it simple. Personally I have never used it. I find it easier to just:

1) Add the the "multilib" repository to MIRRORPLUS in slackpkgplus.conf
2) Add "multilib" to PKGS_PRIORITY and REPOPLUS
2) run 'slackpkg update gpg
3) run 'slackpkg update'
4) run 'slackpkg install multilib'
5) run 'slackpkg upgrade-all'

After a look at the script, that is basically what it does. I don't see how this would mess up running "startx"

Last edited by chrisretusn; 03-20-2022 at 05:26 AM.
 
Old 03-20-2022, 12:06 PM   #19
Cameronnoah
Member
 
Registered: Mar 2022
Location: New York City
Distribution: Slackware 15
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Pithium View Post
Are you using grub? By default slackware uses elilo for efi systems.
I am using elilo because slackware is the only OS on my computer. I want to be purely slackware kinda like how slackware has a purely 64 bit OS. Purity!
 
Old 03-20-2022, 01:00 PM   #20
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
I think you have somehow run the wrong X window because of the multilib installation.
Cna you check if /etc/profile.d/32dev.sh executable?
 
Old 03-20-2022, 01:19 PM   #21
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 508

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Quote:
Originally Posted by Cameronnoah View Post
I am using elilo because slackware is the only OS on my computer. I want to be purely slackware kinda like how slackware has a purely 64 bit OS. Purity!
Ah. So then you add nomodeset to /boot/efi/EFI/Slackware/elilo.conf. adding it to the grub config files won't do anything.

nomodeset doesn't necessarily fix the problem, it just helps isolate the source of whatever is now broken.
 
Old 03-20-2022, 01:50 PM   #22
Cameronnoah
Member
 
Registered: Mar 2022
Location: New York City
Distribution: Slackware 15
Posts: 42

Original Poster
Rep: Reputation: 0
Question

I reinstalled the OS because I legit don't have a cell phone for productivity purposes and slackware is the only OS I have currently and am willing to use:
* root
* reformatted SSD w/cfdisk :/dev/sda1 - 95 mb - EFI system /dev/sda2 - 11.2 GB - swap - /dev/sda3 - 227.2 GB - Linux File System
*[*] /dev/sda2 - add swap linux partition, 12 gb
* check swap partition for bad blocks yes : /etc/fstab
* / - /dev/sda3 Linux 228 GB - Format - ext4
* EFI system partition recognized /dev/sda1 - /boot/efi - /fat defaults 1 0
* yes - FAT or NTGFS partion detected - add to /etc/fstab - add
* add usb /dev/sdb1 to fstab - /ntfs-c
/etc.fstab: /dev/sdb1 /ntfs-c /fat fmask -177 - dmask - 077 -c done adding FAT OR NTFS Partitions - ok
* install from slackware usb
- scanning for usb - ok
* selected all packages series partition - select prompting mode FULL
* make usb flash boot - skip
* UEFI firmware detected - skip - skip installing of LILO and proceed to ELILO installation
* install ELILO on the EFI system partition
* install boot menu entry? - install - install a boot menu entry
* remove old "slackware" EFI boot entry - yes - old EFI boot menu entry : BOot002 * SLACKWARE Hd C1 gpt, 25CCE9FA-4D62 - 4D62-4D62-144E-B392-F7D416F2596D, 0X2F800) /FILE (\EFI\slackware\elilo.efi) - yes
* EFI boot entry installed - EDI boot menu entry: Boot 0002*slackware HD C1, GPT \, bab59cac - 62a9-664e-bd68-9c3eae83cf25, 0x80010x2f800)/ File(\EFI\slackware\elilo.efi) - ok
* mouse ocnfiguration: imps2 - ok /usr/sbin/gpm -m /dev/mouse imps2 - yes
* configure network? - yes
hostname: bern
domainname: ace
* connect via vlan : no
* conguration for 'bern.ace' - Networkmananger
* Network setup complete - yes
* confirm startup services to rin:
rc.ard, rc.crond, rc/cups, rc.dnmasq, rc/dovecot, rx.fuse, rc.httpd, rc.ip_forward, rc.mysqld, rc.nfsd, rc.ntpd, etc.rpc, rc.syslog, rc.sshd, rc.messagebus, rc.bind
* custom fonts: c.fnt.gz
* hardware clock set to UTC - yes - America/New York
* choose default vi editor : nvi - ok
* select default window manager for x : xfce
* root - password set -> Exit unplugged usb, rebooted.

* logged in as root, made user cameorn w/ all enter-defaults group initial user with groups additional : audio cdroom floppy input ip netdev plugdev power scanner video - logged out
* cameron login
* startx -> works -> networkmanager connected to wifi internet.... Now what?
 
Old 03-20-2022, 01:54 PM   #23
Cameronnoah
Member
 
Registered: Mar 2022
Location: New York City
Distribution: Slackware 15
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrisretusn View Post
It's part of slackpkg+, /usr/doc/slackpkg+-1.8.0/setupmultilib.sh. I guess its supposed to make it simple. Personally I have never used it. I find it easier to just:

1) Add the the "multilib" repository to MIRRORPLUS in slackpkgplus.conf
2) Add "multilib" to PKGS_PRIORITY and REPOPLUS
2) run 'slackpkg update gpg
3) run 'slackpkg update'
4) run 'slackpkg install multilib'
5) run 'slackpkg upgrade-all'

After a look at the script, that is basically what it does. I don't see how this would mess up running "startx"
OKAY. I will take that advice the only problem is that last installation I run the usual:
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
and upon restarting the 'look' of the kernel booting/start up changes noticeably in that it looks more 'primitive' and when this occurs startx fails to function. I ran startx and it ran into the same fatal error so maybe something after updatingit via slackpkg makes it not work. I installed a new installation and I am unsure of what to do next and would prefer guidance. Should I Run the usual commands above, should i get some information from the system to see what is going on or should I install slakcpkg+ and/or multilib?
# slackpkg clean-system
 
Old 03-20-2022, 01:54 PM   #24
Cameronnoah
Member
 
Registered: Mar 2022
Location: New York City
Distribution: Slackware 15
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Pithium View Post
Ah. So then you add nomodeset to /boot/efi/EFI/Slackware/elilo.conf. adding it to the grub config files won't do anything.

nomodeset doesn't necessarily fix the problem, it just helps isolate the source of whatever is now broken.
I did it in my last installation and it did not fix the problem. I reinstalled slackware and now have a running slackbox with no modifications and I am waiting for orders on what to do next.
 
Old 03-20-2022, 02:18 PM   #25
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,938

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
Don't do everything at the same time. If you are not sure you know how to upgrade the kernel, uncomment the kernel lines in /etc/slackpkg/blacklist. Don't install slackpkg+. Then do the upgrade. Does it still work after reboot?
 
Old 03-20-2022, 02:32 PM   #26
Cameronnoah
Member
 
Registered: Mar 2022
Location: New York City
Distribution: Slackware 15
Posts: 42

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by Petri Kaukasoina View Post
Don't do everything at the same time. If you are not sure you know how to upgrade the kernel, uncomment the kernel lines in /etc/slackpkg/blacklist. Don't install slackpkg+. Then do the upgrade. Does it still work after reboot?
Which ones should I uncomment?
#kernel-generic.*
#kernel-huge.*
#kernel-modules.*
#kernel-source
 
Old 03-20-2022, 02:35 PM   #27
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,938

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
Quote:
Originally Posted by Cameronnoah View Post
Which ones should I uncomment?
#kernel-generic.*
#kernel-huge.*
#kernel-modules.*
#kernel-source
Yes, all of them.
 
Old 03-20-2022, 02:41 PM   #28
TarFile
Member
 
Registered: Mar 2003
Posts: 371

Rep: Reputation: 37
You probably should install multiple after everything else but before you reboot. I always do multilib manually after everything else is done.
 
Old 03-20-2022, 02:59 PM   #29
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,938

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
Quote:
Originally Posted by TarFile View Post
You probably should install multiple after everything else but before you reboot. I always do multilib manually after everything else is done.
OK, you suggest install everything but the kitchen sink before the reboot. Then they wouldn't know what made X not work again. On the other hand, I suggest doing one thing at a time and then reboot. Then the next thing. If X breaks, it will be obvious what broke it.
 
Old 03-20-2022, 03:42 PM   #30
Cameronnoah
Member
 
Registered: Mar 2022
Location: New York City
Distribution: Slackware 15
Posts: 42

Original Poster
Rep: Reputation: 0
b
Quote:
Originally Posted by Cameronnoah View Post
Which ones should I uncomment?
#kernel-generic.*
#kernel-huge.*
#kernel-modules.*
#kernel-source
Okay I did that. I Will now uncheck the princeton mirror in the slackpkg mirror list and run :

slackpkg update gpg
slackpkg update
slackpkg upgrade-all

I will now reboot and when it breaks please tell me what to do next. I have given up on coding this week. I want to set up the perfect slackbox and then start coding. I plan on contributing to the slackware project as well as a software engineer but first I Need to get this down first. Though I have coding skills my Linux knowledge is not on pair with the likes of alienbob.


I rebooted and was able to startx after running the above commands. What should I do next or what is it that you suggest? Should I Run slackpkg install-new, install multilib, or install slackpkg+?
I am following this link in particular: https://www.youtube.com/watch?v=IzTt...ukclgrk0h00410

Last edited by Cameronnoah; 03-20-2022 at 03:57 PM. Reason: I honestly need help lol, I need this to work for work and to make money.
 
  


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
I ran startx as root, did I mess something up ? LegionOfHell Linux - Newbie 5 08-04-2020 08:01 PM
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 05:42 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
[SOLVED] Broffice not compile on Slack64(multilib or no multilib);SlackBuild afreitascs Slackware 4 06-14-2010 07:16 AM
Xorg works fine with startx, but only when ran the first time. Anithen Slackware 21 04-05-2007 11:09 PM

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

All times are GMT -5. The time now is 02:09 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