LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2015, 03:32 PM   #1
bkorns
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Rep: Reputation: Disabled
CentOS run on HP Desktop but freezes on ThinkPad at login


Howdy..I have installed CentOS on an external usb pen drive and it boots and runs beautifully on my old HP Desktop.

However, when I try to run it on my Thinkpad T430, it boots up, but freezes after logging in, displays nothing, and I can do nothing after that. Happens every time. If I go back to my HP, it once again runs beautifully.

Anybody know what is going on? The Thinkpad has an nvidia graphics card (if that helps), and the thinkpad used to run Redhat v6.x with no problems.

??

Bruce
 
Old 06-08-2015, 06:24 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,388

Rep: Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199
Howdy!
Welcome to LQ.

Not sure exactly where you are getting stuck. One may be able to use secondary terminals to see if the system is actually running and that only the gui is failing.

Might be able to boot to single user mode and see if that will run or boot to shell.

Can we assume that these are both similar in terms of cpu types.
 
Old 06-08-2015, 11:29 PM   #3
bkorns
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
In the past, both my HP and my ThinkPad had no trouble running Redhat V6.5 so I don't think it's a cpu issue. When I try running CentOS on the same two machines..well..as I posted, it runs fine on the HP but freezes the ThinkPad as soon as I enter my user ID and password.

I also tried RedHat 7.1 on the same two machines and the exact same thing happens: Runs fine on the HP but freezes the ThinkPad as soon as I log in.
 
Old 06-08-2015, 11:54 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Aer you using the LIVE image ?

or did you INSTALL CentOS to a usb thumb drive ATTACHED to the desktop

if so then the hardware on a different device ( REALLY different hardware ) on a thinkpad
might NOT use the same Nvidia or ATI driver
nor the same CPU and ram settings


if you need to move it from one device ( desktop) to a very different device ( thinkpad)

use a LIVE image


Also keep in mind
RHEL7 is NOT EVEN CLOSE to RHEL6

7 is very different
manly "systemD"

Last edited by John VV; 06-08-2015 at 11:56 PM.
 
Old 06-09-2015, 12:14 AM   #5
bkorns
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hey John..Hey Jefro..Thanks for your thoughts on this matter.

I did not use the live image. I just used a standard install ISO file that I burned to a DVD and then booted and installed on the USB pen drive. But here is the new development:

Redhat V7.1 (which I tried after trying CentOS) now, mysteriously WORKS on my ThinkPad at home!!
I don't really know why. The only thing that is different is the external monitor I am using at home is different than what I was using at work. Also I am running wirelessly at home (where previously I was running on ethernet). None of this should really matter I don't think.. but go figure.

At any rate, for whatever reason, it now appears to work on the ThinkPad so I "think" I am good (if slightly befuddled by not knowing why)

Thanks for all the help in any event!

Sincerely...Bruce Korn

Last edited by bkorns; 06-09-2015 at 12:15 AM.
 
Old 06-09-2015, 12:19 AM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,423
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Intel HD Graphics 4000
NVIDIA NVS 5400M Graphics with Optimus Technology
http://shop.lenovo.com/us/en/laptops...tab-tech_specs

Last edited by Ztcoracat; 06-09-2015 at 12:21 AM.
 
Old 06-12-2015, 05:50 PM   #7
bkorns
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
CentOS STILL freezes on Thinkpad - workaround

The other day I posted a topic saying that after installing CentOS (and then Redhat 7.1) on a usb pen drive, the OS would work on my HP desktop but not on my ThinkPad. On the ThinkPad, the OS would freeze after logging in. It worked ONCE but then started not working again.

So I searched for some answers, and one person said he cured a similar problem by updating his nvida drivers from RPMFusion (but damn if I know how to do that..I really am a linux novice..)

Another person said he got around the problem by starting the OS in text mode, logging in from text mode, and then issuing the startx command. THAT approach seems to have worked for me, so I just wanted to share what I did to get this to work.

While on my HP, I issued the following command from the CLI:

systemctl set-default multi-user.target

This made it so that every time I boot from the pen drive, I automatically go into text mode.

Then after booting and going into text mode, I log in from there, and then issue: startx

Voila! I get the gui back and I am IN and working. And no freezes so far.

As work arounds go, it's not too bad!



At any rate, I just wanted to share this information with the group.

Bruce
 
Old 06-12-2015, 09:25 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,423
Blog Entries: 6

Rep: Reputation: Disabled
Thanks for sharing it always helps-
 
Old 06-13-2015, 04:28 AM   #9
richey75
LQ Newbie
 
Registered: Jun 2015
Posts: 8

Rep: Reputation: Disabled
Those Lenovo's may only allow for certain OS's to be loaded. Check out all the BIOS settings.
 
Old 06-13-2015, 07:47 AM   #10
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 297

Rep: Reputation: 62
Quote:
Originally Posted by richey75 View Post
Those Lenovo's may only allow for certain OS's to be loaded. Check out all the BIOS settings.

Not true. Unless you are using EFI STUB (rare) booting, Lenovo firmware can only tell what bootloader was invoked, not what operating system the bootloader loaded.
 
Old 06-13-2015, 10:49 PM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,423
Blog Entries: 6

Rep: Reputation: Disabled
In some cases I've found that most distribution's install just fine but the newer hardware isn't yet supported in the kernel.
Thus getting wifi working can be a real task sometimes.
 
Old 06-16-2015, 04:58 AM   #12
richey75
LQ Newbie
 
Registered: Jun 2015
Posts: 8

Rep: Reputation: Disabled
http://docs.fedoraproject.org/en-US/...e/ch02s02.html

Some thinkpads have SB in the BIOS. Is yours set to on or off?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba 3.5 under CentOS 5.5 refuses to run batch file on login jvellos Linux - Server 0 12-08-2011 02:13 AM
Need to Installing a Desktop Environment on a Centos 5.5 server to run VNC ppartyka Linux - Newbie 3 04-27-2011 04:46 PM
CentOS - run local profile at login RobertSubnet Linux - Newbie 12 12-15-2009 07:31 PM
run gui app after login before the desktop session maradnus Linux - Newbie 2 10-19-2009 09:42 AM
Need to run a program after login on Ubuntu desktop 7.04 RVickers Ubuntu 3 07-16-2007 09:39 PM


All times are GMT -5. The time now is 08:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration