LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 06-15-2020, 05:23 PM   #1
Pipfrosch
LQ Newbie
 
Registered: Jun 2020
Posts: 3

Rep: Reputation: Disabled
Semi-Emergency - Can't boot to CLI to swap video card


CentOS 7: CentOS Linux release 7.8.2003 (Core)

Current video card: NVIDIA Corporation GT218 [GeForce 405] (rev a2)
Driver: elrepo kmod-nvidia-340xx

Yes, it's old, I do not game. It's dying, the fan stops spinning and then if I do not power off, it eventually overheats and system freezes.

Ordered replacement, fanless model - MSI GeForce 1030

Using the card with dying fan, when I set the system to boot to CLI via `systemctl set-default multi-user.target` it does not boot.

Gets to where it notifies me no i8042 controller found (always does that, not an issue) and stops. I can however select the rescue boot and get to a command line.

If I can't get to the command line in normal boot though, I do not feel I can safely remove the existing archaic nvidia driver, swap cards, and install the nvidia driver suitable for this card.

Furthermore I tried swapping card just to see if new card would boot CLI normally - same issue only not even rescue mode is available.

QUESTIONS:

A) How do I figure out why it won't boot into multi-user CLI using my older card?

B) How do I make sure it will boot into rescue mode using the new card?

Thank you for suggestions.

For time being I am using old card in GUI boot mode and that works. So I can boot the system and use it, but the old card does need to go.

Using GPU in CPU not an option as it's Xeon so is no GPU in CPU.

UPDATE

tried booting to cli having removed rhgb and quiet from boot parameters.

Would not boot at all, even in rescue, had to edit during boot and add systemd.unit=graphical.target to the linux16 line to get it to boot all the way at all.

This is insane.

Last edited by Pipfrosch; 06-15-2020 at 06:56 PM. Reason: new info
 
Old 06-15-2020, 07:44 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,759

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
Try addong the kernel nomodeset option and see if it boots ok.
 
1 members found this post helpful.
Old 06-16-2020, 01:19 AM   #3
Pipfrosch
LQ Newbie
 
Registered: Jun 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
Success

Adding nomodeset to the kernel options allowed system to boot to CLI, allowing me to switch card and still boot to CLI, remove legacy nvidia drivers and install new current nvidia drivers, and it is all working again.

THANK YOU.
 
Old 06-16-2020, 04:23 AM   #4
Pipfrosch
LQ Newbie
 
Registered: Jun 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
Human memory is not ECC

Since the nomodeset parameter solved my problems, I looked up what it actually does.

And that brought back memories of when I first installed the system.

I built the system using a Super Micro board, only reason I need a video card at all is so that I could use a Xeon and have ECC memory. I could not install from the USB thumb drive, but the solution I found at the time was to go from the VGA output on the motherboard to my display, had to buy a cable just for that, and do a completely CLI install.

Then while still using VGA with CLI and not using the video card, I installed the nvidia drivers, shut down, rebooted into GUI with the video card instead of VGA and it worked.

So the problem of CLI not working has always been there. Wish I had known about nomodeset parameter then, I suspect adding that as a kernel parameter when installing would have alleviated the need for that HDMI to VGA adapter cable.

What nomodeset seems to do, newer kernels will load the video drivers early even when booting to CLI to allow fancy splash screens when booting. Useless eye candy but people want it. Unfortunately not all video cards work well with it. Using nomodeset disables that, so the video drivers do not load until the GUI is starting, alleviating the problem I was experiencing.

So anyway that is why it worked and now my issues are solved.

Last edited by Pipfrosch; 06-16-2020 at 04:25 AM. Reason: typos
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot Problem on emergency HD swap mdooligan Linux - Software 4 08-26-2016 11:35 AM
GRUB emergency boot CD for a x64bit dual boot chasfgr Linux - Newbie 5 08-17-2010 02:51 PM
swap-files after emergency exit? ungua SUSE / openSUSE 8 08-23-2005 01:58 PM
SWAP Partition Emergency- Please Help! scottpioso Linux - General 10 05-30-2003 06:55 PM
Emergency Emergency kodiak Linux - Newbie 6 04-13-2003 12:00 AM

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

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