LinuxQuestions.org
Visit Jeremy's Blog.
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 05-17-2022, 07:47 AM   #1
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Rep: Reputation: 13
Blank screen, cant login after kernel upgrade to .38. Slackware 15.0, Nvidia


I'm on runlevel 4 and It's fine before the kernel upgrade. I had a feeling that it might not work after the upgrade, i suspect possible conflict with kernel and my ancient gpu nvidia gk208.

Is it possible to disable nvidia on boot? from grub prompt?

edit
sorry im on mobile. Ive tried adding 'nomodset' and 'module_blacklist=nvidia' on kernel parameter but unsuccessful. My plan is to disble nvidia on boot and reinstall it if possible with adjustments for new kernel .38

Last edited by knet; 05-17-2022 at 07:52 AM.
 
Old 05-17-2022, 08:08 AM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,689

Rep: Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376
I assume "nomodset" is a typo and you meant "nomodeset"? A couple of things off the top of my head are you could ssh into your machine from another computer if you have that option and change back to runlevel 3 then fix the NVIDIA driver. Or you could use a live distro like Alien Bob's or partedmagic to boot the machine then mount the partition and change the runlevel to 3 to at least get to a bootable state so you can reinstall the drivers for the new kernel.
 
1 members found this post helpful.
Old 05-17-2022, 08:13 AM   #3
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Original Poster
Rep: Reputation: 13
Hi Daedra no it's not typo. I will try again and boot a liveusb distro. Thanks.
 
Old 05-17-2022, 08:33 AM   #4
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Original Poster
Rep: Reputation: 13
Solved. The "nomodeset" (thanks to Daedra) parameter allowed me to login on runlevel 3 and reinstall Nvidia binary.
 
Old 05-18-2022, 02:48 AM   #5
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Just FTR, although recent version of Slackware (AFAIK) no longer offer the old, awesome rescue boot prompt, you can still use the install media for rescue. At the 3rd prompt, the one that asks you to login as root (no passwd required) the installer does allow quick chroot rescue.

Code:
mount /dev/"Slackware Root" /mnt
mount -o bind /dev /mnt/dev
mount -o bind /sys /mnt/sys
mount -o bind /proc /mnt/proc 
chroot /mnt /bin/bash
and you're IN!

Last edited by enorbet; 05-18-2022 at 02:49 AM.
 
1 members found this post helpful.
Old 05-18-2022, 07:39 AM   #6
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Original Poster
Rep: Reputation: 13
Hi enorbet thank you how do I implement this and I mean when exactly? On the grub commandline prompt? The one with grub>?

edit
sorry you did mention "install media". So i boot the install media and then on the 3rd prompt i will have to run the commands above in that order?

Last edited by knet; 05-18-2022 at 07:48 AM.
 
Old 05-18-2022, 08:50 AM   #7
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Quote:
Originally Posted by knet View Post
Hi enorbet thank you how do I implement this and I mean when exactly? On the grub commandline prompt? The one with grub>?

edit
sorry you did mention "install media". So i boot the install media and then on the 3rd prompt i will have to run the commands above in that order?
Don't worry about it, you don't need a live cd or chroot just to correct a grub typo.
Next time, you can select the relevant line on grub prompt and hit "E" which lets you edit the line, then just hit F10 to boot.
It's temporary edit, but it'd let you boot the system where you can correct grub configuration with an editor.
 
Old 05-18-2022, 01:32 PM   #8
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
My apologies if I confused you, I don't care much for Grub. I use LILO or rEFInd. However maybe copy that chroot process down someplace because it is very useful in nastier circumstances. Often the Slackware install media will work to chroot into many other distros, at least enough to be able to edit important files. This box has almost a dozen operating systems on it so I use chroot quite a lot. It can also be done from Liveslak but the install media is faster.

Note: FWIW one of the systems on here is OpenSuse which did by default install Grub. I boot it with rEFInd usually but Grub still works so I have options. I like redundancy.
 
Old 05-18-2022, 10:18 PM   #9
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Original Poster
Rep: Reputation: 13
Quote:
Originally Posted by elcore View Post
Don't worry about it, you don't need a live cd or chroot just to correct a grub typo.
Next time, you can select the relevant line on grub prompt and hit "E" which lets you edit the line, then just hit F10 to boot.
It's temporary edit, but it'd let you boot the system where you can correct grub configuration with an editor.
Yeah i have to learn the grub commands there. Thank you.

Quote:
Originally Posted by enorbet View Post
My apologies if I confused you, I don't care much for Grub. I use LILO or rEFInd. However maybe copy that chroot process down someplace because it is very useful in nastier circumstances. Often the Slackware install media will work to chroot into many other distros, at least enough to be able to edit important files. This box has almost a dozen operating systems on it so I use chroot quite a lot. It can also be done from Liveslak but the install media is faster.

Note: FWIW one of the systems on here is OpenSuse which did by default install Grub. I boot it with rEFInd usually but Grub still works so I have options. I like redundancy.
I hear you and trust me I will save that chroot maneuver somewhere. Thanks again.
 
  


Reply

Tags
grub, nvidia



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
Screen flashes and turns blank after resuming from blank state. Possibly a kernel bug. Fedora 35 with 5.14 kernel noname01 Linux - Newbie 3 11-21-2021 07:45 PM
Cant login into Hardy...Screen hangs up at login screen linuxlover.chaitanya Ubuntu 5 12-23-2008 07:18 AM
After gutsy upgrade I only get a blank screen after login bldgengineer Ubuntu 18 03-02-2008 10:57 AM
Blank screen after "startx" after reboot after install cg from nvidia rozky Linux - Software 2 04-04-2005 08:49 PM
screen goes blank after nvidia upgrade bitterjack Linux - Newbie 5 09-24-2003 07:41 AM

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

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