LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-16-2020, 04:53 PM   #1
Wolf.Linux
Member
 
Registered: May 2020
Location: USA
Distribution: Debian
Posts: 41

Rep: Reputation: Disabled
Moving HDD from a laptop into a desktop?


Hello!

I'm back again, with my actual meds so I'm hoping how I process these new questions and retain them will exceed my previous questions. That aside here goes the question:

I am running:

Code:
OS: Debian GNU/Linux 10 (buster) x86_64 
Host: MS-7917 1.0 
Kernel: 4.19.0-9-amd64
DE: Xfce 
WM: Xfwm4
CPU: Intel i5-4690K (4) @ 4.000GHz 
GPU: NVIDIA GeForce GTX 970
So i had a Latop (Dell Latitude E6430)
However one of my friends had theirs stolen so I gifted it to them to help them with their schooling.
I took my HDD out and put it into my desktop which has the information you see at the top of this post.
(they had their own spare HDDS)

I am currently typing from the latops os so it boots just fine.

My question is this:

How do i figure out how to find all drivers that are not in use or incorrect so I can migrate this HDD to my main OS without having to format and start over?

I figured that say the video drivers would be incorrect so I sudo apt purged Nvidia* and then installed the drivers I knew that I needed. However I'm not sure where to even begin to track down any other useless or incompatible drivers and such floating around to purge them and install what is proper.

Any and al input is greatly appreciated!
 
Old 11-16-2020, 07:51 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,991

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
A distro and hence generally the kernel has it's own set of drivers.

Sometimes you can add in drivers to make your hardware work or work better.

Anyways. "how to find all drivers that are not in use or incorrect" to be exact you put your distro in that hardware but you could find out every device in this new hardware I guess.

I'd think that most people would say slap it in and see what it does. If you know it needs broadcom wifi then add it in but many distro's can be run from command line boot options to get going for video. Guess you could blacklist a driver before you move it.

Can't hurt to take over a live dvd or live usb to test.
 
3 members found this post helpful.
Old 11-16-2020, 11:29 PM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Linux distros have long been evolving good capability to automatically determine and load appropriate drivers in most cases. Failures usually only occur with newest hardware, or with rare exotics, or if not removing inappropriate proprietary drivers (e.g. NVidia). So, as suggested by jefro, just try. If everything works apparently as expected, you're done. I do it often. Most often if there's any problem, it's either NVidia driver-related and fixable without inordinate trouble, or sound-related, so not an impediment to important functions.
 
Old 11-17-2020, 07:56 PM   #4
Wolf.Linux
Member
 
Registered: May 2020
Location: USA
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
Linux distros have long been evolving good capability to automatically determine and load appropriate drivers in most cases. Failures usually only occur with newest hardware, or with rare exotics, or if not removing inappropriate proprietary drivers (e.g. NVidia). So, as suggested by jefro, just try. If everything works apparently as expected, you're done. I do it often. Most often if there's any problem, it's either NVidia driver-related and fixable without inordinate trouble, or sound-related, so not an impediment to important functions.
So it boots fine, and I didn't know if making another thread on this would count as clutter or be good.
However when I startup I see messages flashing on the screen. I recorded them on my phone and slowed them down but how do I view start up messages in debian 10?

On the screen i saw a massive list of things including messages like:

"[Firmware Bug]: TSC_DEADLINE disabled due to Errata"

I need to figure out where these are so I can try to resolve them individually. The deeper i go the more I seem to learn slowly.

Do you happen to know where these boot messages are or could possibly be stored so I can go through the start up messages?
 
Old 11-17-2020, 08:20 PM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Some boot messages can be found using dmesg. Others can be found using journalctl. Some can be found in both. Some can be found in neither. Some can be found only by adding various boot options intended usually for debugging. Some can be seen by using a serial console with a scrollback (something I've never tried successfully). I'd start with journalctl, which automatically filters through a pager.

Some messages that look threatening amount to no more than annoying noise. If you find what appears to be an error or failure, it doesn't necessarily matter.

The data that journalctl uses may or may not be persistent, meaning that it survives rebooting, and can retain info dating back weeks, months or years ago. If /var/log/journal/ exists, then the journal is persistent.
 
Old 11-17-2020, 08:51 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,991

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
https://askubuntu.com/questions/9849...i-do-about-thi

From that link it suggests to update firmware.
 
Old 11-17-2020, 08:57 PM   #7
Wolf.Linux
Member
 
Registered: May 2020
Location: USA
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
Some boot messages can be found using dmesg. Others can be found using journalctl. Some can be found in both. Some can be found in neither. Some can be found only by adding various boot options intended usually for debugging. Some can be seen by using a serial console with a scrollback (something I've never tried successfully). I'd start with journalctl, which automatically filters through a pager.

Some messages that look threatening amount to no more than annoying noise. If you find what appears to be an error or failure, it doesn't necessarily matter.

The data that journalctl uses may or may not be persistent, meaning that it survives rebooting, and can retain info dating back weeks, months or years ago. If /var/log/journal/ exists, then the journal is persistent.
Thanks dude Appreciate yours and everyones input.
 
  


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
Run customised HDD driver for external HDD while generic HDD driver for bootable purpose sonia49 Linux - Newbie 1 09-28-2016 08:52 PM
Merge two HDD into One HDD ! shipon_97 Linux - Newbie 2 09-12-2013 01:35 AM
adding SATA ext3 HDD into new Suse11.4 box with ext4 system HDD Mail2me Linux - Hardware 4 10-26-2011 07:47 PM
[SOLVED] Turning my IDE hdd into USB 2.0 hdd MBA Whore Linux - Hardware 16 02-03-2010 01:12 PM
Moving root from a dual-boot HDD to a new HDD Androoski SUSE / openSUSE 1 05-13-2005 10:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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