Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-24-2022, 04:56 PM
|
#31
|
Moderator
Registered: Aug 2002
Posts: 26,755
|
No need to wipe the drive, just install from scratch over your existing version. The installer will reformat the drive so essentially anything currently on the drive will be lost forever.
Obviously backup anything you want to save.
I would check the drive's SMART data to see how many hours it has accumulated and to see if there are any errors or reallocated sectors etc. I would think about replacing the drive.
|
|
1 members found this post helpful.
|
01-24-2022, 06:12 PM
|
#32
|
Member
Registered: Feb 2017
Location: Missouri
Distribution: Linux Mint v:18.3
Posts: 65
Original Poster
Rep: 
|
Wow! Now we're getting technical. How do I check the SMART data? Is that on the HDD? Sure, I can run an analysis.
As I was scanning the numbers on the terminal, I noticed one or two 32 bit items pop up, but it was going so fast I couldn't identify the part. It may have been in reference to the OS.
I did look at an SSE drive, 500 GB $69.00 plus installation.
As long as I'm cleaning things up, I may as well check the HDD. Thanks.
Tommi
|
|
|
01-24-2022, 07:48 PM
|
#34
|
Member
Registered: Feb 2017
Location: Missouri
Distribution: Linux Mint v:18.3
Posts: 65
Original Poster
Rep: 
|
Should I change the SWAP size after adding RAM?
|
|
|
01-24-2022, 08:01 PM
|
#35
|
Moderator
Registered: Aug 2002
Posts: 26,755
|
It all depends what programs you run and if you hibernate the computer etc.
If you allow the installer to automatically partition the hard drive then the defaults are fine.
|
|
1 members found this post helpful.
|
01-24-2022, 08:05 PM
|
#36
|
Member
Registered: Feb 2017
Location: Missouri
Distribution: Linux Mint v:18.3
Posts: 65
Original Poster
Rep: 
|
Okay, I'll let the Linux install take charge.
About the SMART diagnosis - I could not find a command that triggered an analysis. I've had programs that did this function in the past, but don't recall which one.
|
|
|
01-24-2022, 08:21 PM
|
#37
|
Moderator
Registered: Aug 2002
Posts: 26,755
|
smartctl as shown in the archwiki link I posted. I thought it was installed NY default in Mint. You do need to use sudo to rum the command.
|
|
1 members found this post helpful.
|
01-24-2022, 08:55 PM
|
#38
|
Member
Registered: Feb 2017
Location: Missouri
Distribution: Linux Mint v:18.3
Posts: 65
Original Poster
Rep: 
|
Michael,
I'm not savvy enough with the use of the terminal to perform this operation. I'll mess things up. I'll have to have a tech at the shop run a test, or simply replace the HDD when it fails. I back up data anyway, so big deal.
Thank you so very much for your help and patience. It appears I won't have to buy a new computer right away, so that's great.
Thanks, everyone.
Tommi Jordon
|
|
1 members found this post helpful.
|
01-24-2022, 10:39 PM
|
#39
|
Member
Registered: Jun 2020
Posts: 614
Rep: 
|
GNOME-Disk-Utility can run SMART tests in a GUI environment, and in spite of the name does not require GNOME to run. It's included by default on Ubuntu (and is just called 'Disks' within GNOME), so I'd imagine it would be available in Mint as well. Select the '3 dots menu' on the upper right hand and choose 'SMART Data & Tests' and you're off to the races.
I'd also probably consider swapping the CPU out for a quad core - 2nd gen chips should be fairly cheap these days (something like an i5-2500 or even an i7-2600 would be a significant upgrade from the dual core i3).
Finally, it would be normal/expected to see mentions of 32-bit/x86 libraries or software on a multilib system - you can confirm the installation as 64-bit (or not) with uname:
|
|
|
01-24-2022, 10:50 PM
|
#40
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,499
|
Run a thorough test on the first HDD:
Code:
sudo smartctl -t long /dev/sda
Wait the reported length of time for the operation to complete, then examine the results:
Code:
sudo smartctl -x /dev/sda | less
You'll get a mass of data that you'll want explained, so do this to upload it for us to look at:
Code:
sudo smartctl -x /dev/sda | pastebinit
Paste here the resulting URL.
|
|
|
01-25-2022, 04:34 PM
|
#41
|
Member
Registered: Feb 2017
Location: Missouri
Distribution: Linux Mint v:18.3
Posts: 65
Original Poster
Rep: 
|
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo # smartctl -t long /dev/sda
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo # smartctl -x /dev/sda less
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo # smartctl -x /dev/sda pastebinit^C
|
|
|
01-25-2022, 04:36 PM
|
#42
|
Member
Registered: Feb 2017
Location: Missouri
Distribution: Linux Mint v:18.3
Posts: 65
Original Poster
Rep: 
|
This did not process after the long wait, so I'll attempt to rerun it.
Tommi
|
|
|
01-25-2022, 04:45 PM
|
#43
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,356
|
Quote:
Originally Posted by OrphanHome
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo # smartctl -t long /dev/sda
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
...
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo # smartctl -x /dev/sda pastebinit^C
|
Your commands as you have pasted them are not correct and sudo is telling you the syntax you must use.
I have hilighted the offending "#" in the examples above, these should not be there. In addition, there is no pipe symbol, "|" preceeding pastebint in the last form and there should be. Remove the "#" frrom the first one and try again.
Last edited by astrogeek; 01-25-2022 at 04:47 PM.
Reason: tyops
|
|
|
01-25-2022, 04:45 PM
|
#44
|
Moderator
Registered: Aug 2002
Posts: 26,755
|
Quote:
sudo # smartctl -t long /dev/sda
|
Whats with the added # in the above command. That is the cause of your all your problems. Remove it...
The terminal prompt outputs # or $ to differentiate between being root or as a regular user. However, using sudo your never going to login as root.
Always to late...
|
|
|
01-25-2022, 06:10 PM
|
#45
|
Member
Registered: Feb 2017
Location: Missouri
Distribution: Linux Mint v:18.3
Posts: 65
Original Poster
Rep: 
|
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo smartctl -t long /dev/sda
[sudo] password for tomgirl:
sudo: smartctl: command not found
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo # smartctl -t long /dev/sda
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo run
[sudo] password for tomgirl:
sudo: run: command not found
tomgirl@tomgirl-OptiPlex-790 ~ $ run
No command 'run' found, did you mean:
Command 'runq' from package 'exim4-daemon-light' (main)
Command 'runq' from package 'exim4-daemon-heavy' (main)
Command 'runq' from package 'sendmail-bin' (universe)
Command 'rup' from package 'rstat-client' (universe)
Command 'rn' from package 'trn' (multiverse)
Command 'rn' from package 'trn4' (multiverse)
Command 'grun' from package 'grun' (universe)
Command 'qrun' from package 'torque-client' (universe)
Command 'qrun' from package 'torque-client-x11' (universe)
Command 'runc' from package 'runc' (universe)
Command 'zrun' from package 'moreutils' (universe)
Command 'srun' from package 'slurm-client' (universe)
run: command not found
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo smartctl -x /dev/sda less
sudo: smartctl: command not found
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo # smartctl -x /dev/sda less
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo # smartctl -x /dev/sda pastebinit
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
tomgirl@tomgirl-OptiPlex-790 ~ $
This is the result after a second pass. I am confused about what to do after entering this: "sudo smartctl -t long /dev/sda" Do I need to enter run, process, anything? I did wait in excess of 74 minutes for this result.
Tommi
|
|
|
All times are GMT -5. The time now is 11:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|