Mint noob needs some help, reading NTFS, fan control and temps

Hi all

Installed Mint earlier on a fresh drive (no partition, Windows is on another drive again). Am a total noob to Linux and could do with some help.

1) Fan control. My CPU and case fan (PWM) spin far higher on Mint than Windows, is there a fan controller anyone can recommend?

2) Is there any way to view GPU and CPU temps. I use ASUS AI and Afterburner in Windows.

2) I have a 2TB drive in NTFS for all my music, pictures etc. I want to keep this in NTFS if possible for when I do want to use Windows still. I tried to mount the drive (the right thing to do in Mint?) but got this error. Windows was shut down before I connected the storage drive back up.

Can anyone decode this error for me and advise what I need to do to read it in Mint.

Thanks folks

The NTFS has its dirty flag set. Plug it into a windows pc, have that access the drive (view content in explorer) and than SAVE remove it in windows. That usually clears the dirty flag.

If you do not have windows anymore, I will look up how to remove the flag in linux.

As for the fan, I would check with your ASUS Uefi and set the fancontrol there.

I have Windows still on a separate SSD in the system, don't understand what you mean by "than SAVE remove it in Windows". UEFI settings set to "silent" but fans still ramp up to full RPM.

Ok, as the popup states the NTFS partition is in a unclean state. it was not shut down properly; that means the dirty flag in NTFS is set; for data safety reasons linux wont mount that right away.

Boot into windows, and than do a normal shut down; no hibernating, no suspend to ram, no resetbutton; boot up - log in - shutdown; that should exit the NTFS partition clean;

(I assumed its an external HDD/SSD as its usually with those, that the NTFS is flagged)

For the fan issue, it might help if you tell us what mainboard and graphics card you actually have.

Was a full shutdown as far as I'm aware, will try again. Mobo is an ASUS H81M-Plus, GPU is a GTX660 MSI twin Frozr. I know it's old gear but just an HTPC.

The NTFS problem is quite a common one when dual-booting. Windows essentially has a feature called fast startup that messes with the NTFS mounter in Linux. You need to turn it off from inside windows (here's a guide on how to do that).

For the GPU temperatures, you should have a program called Nvidia X Server Settings (it comes with the proprietary Nvidia drivers). The GPU temperature is under thermal settings.

For the CPU temperatures, i think psensor should get the job done. You can get it by running sudo apt-get install psensor.

I think someone else will have to help you with the fan controllers as I've never used any of those.

1 Like

check this out

https://web.archive.org/web/20150627191945/http://www.lm-sensors.org/wiki/Documentation

There are script for fan control and other sensors, just run sensors-detect and then after going through that run sensors. Tah Daaaah !

1 Like

Congrats on trying out Linux, it will be an adventure.

Your questions in order

(1) Fan Control: You will need to determine if you current hardware is supported via utilities available for the linux environment. There will be a lot of RTFM'ing required and it may be above the level of 'adventure' you would like to go on at this point. I would recommend / echo looking at what the bios has to offer for fan control or setting up an external fan controller.

(2) GPU and CPU temps: Yes! I'm surprised to not see a conky recommendation in the thread. Conky reports back to the user information that can be found in the system via the command line (again RTFM :) ). Here is an image of my current conky set up while I'm compressing some files to toss on freeNAS notice the heat on the CPU. The GPU portion is sparse because I'm waiting on a GTX 950 to get to the house to configure:

Here is said conky config displayed in the top right of the screen:
**cat conky.conf **
##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont Liberation Sans:size=7
xftalpha 1
update_interval 1
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type override
#own_window_argb_visual yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color 000000
default_outline_color 828282
alignment top_right
gap_x 2
gap_y 2
no_buffers yes
uppercase no
cpu_avg_samples 2

##############################################
# Output
##############################################
TEXT

S Y S T E M I N F O
${hr}
Host:$alignr$nodename
Uptime:$alignr$uptime
Home: UTC: AOR:
${time %T} ${utime %T} ${tztime Asia/Kuwait %T}
${hr}

** Core0 | Core1 | Core2 | Core3**
* ${exec sensors | grep "Core 0" | cut -c18-19}C ${exec sensors | grep "Core 1" | cut -c18-19}C ${exec sensors | grep "Core 2" | cut -c18-19}C ${exec sensors | grep "Core 3" | cut -c18-19}*C**

** CPU0 CPU1 CPU2 CPU3**
** ${cpugraph cpu0 30, 40} ${cpugraph cpu1 30, 40} ${cpugraph cpu2 30, 40} ${cpugraph cpu3 30, 40}**

GPU: $alignr ${execi 30 nvidia-settings -q [gpu:0]/GPUCoreTemp | grep '):' | awk '{print $4}' | sed 's/.//'}${exec sensors | grep "Core 0" | cut -c23-24}

Ram: $alignr${mem usage}
**${membar 6,205} **
${memperc}% $alignr${memmax}

sda0/Mint 17 ${alignr} ${fs_used /home}
${fs_bar /home}
${fs_used_perc /home}%${alignr}${fs_size /home}

sda1/Local Storage ${alignr} ${fs_used /media/boxonope/LocalStorage}
${fs_bar /media/boxonope/LocalStorage}
${fs_used_perc /media/boxonope/LocalStorage}%${alignr}${fs_size /media/boxonope/LocalStorage}

P R O C E S S E S
${hr}
Top:${alignr}CPU%
${top name 1}$alignr${top cpu 1}
${top name 2}$alignr${top cpu 2}
${top name 3}$alignr${top cpu 3}
${top name 4}$alignr${top cpu 4}
${top name 5}$alignr${top cpu 5}
${hr}

N E T W O R K
${hr}
IP local: $alignr ${addr eth1}
Down ${downspeed eth1} / s ${alignr} Up ${upspeed eth1} / s
Total Down ${totaldown eth1} Total Up ${totalup eth1}
${downspeedgraph eth1 30,95} ${alignr}${upspeedgraph eth1 30,95}
${hr}

(3) The NTFS windows share. That has been addressed.

Good luck and have fun!

2 Likes

adrian,

If it is a hassle to plug the drive into a Windows box you can use a package called ntfsfix. I assume it will be installed on Mint but you have to install it yourself.
The command is pretty simple you have double check the man page. Just enter the partiton path I will usb sdb1 as example, you need to double check your config.

# ntfsfix /dev/sdb1

This is not a windows chkdsk or fcsk replacement. NTFS-3g does complain abit and this package fixes minor things like the dirty bit. But if you have more serious problem you will need other solutions.

1 Like

On my Penom x3 I would get a message...unreliable temp sensor...on Mint 17.2 and the fan would go to max
On my 8320e with 17.3 every sensor is wrong, Bios shows 34c and fter boot xsensors,sensors and p sensors and gklrm(who names this stuff?) show 4 degrees c. My nvidea gpu seems to have accurate temps.
My solution? I just ignore it, Before temp sensors the computer would let you know it is too hot by acting funny or freezing.

I would get the "unsafe" message when I would restart windows then go to Linux. When I would shut down the pc then restart and go into Linux(duel boot) and access the win partition no message.
These guys know more about this then I do, wanted to let you know I saw similar:)

1 Like

Thanks for all the help folks. Apologies for late reply to say so. Been having some nightmares with gmail details, all my info appeared on a dodgy website for sale :-/