LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-16-2011, 02:23 PM   #1
Ormu
Member
 
Registered: Jun 2011
Location: Finland
Posts: 56

Rep: Reputation: Disabled
Linux mint, some tweaking (hdparm, GRUB2 and so on)


I installed Linux Mint (Debian edition, Xfce desktop, 3.0.0-1 kernel, 64bit) to my laptop (Thinkpad T410) some time ago and noticed some problems...

First, the HDD seems to enter standby mode (spin down?) frequently (checked with hdparm -C) and this causes some delay when trying to open programs, for example. What would be the easiest way to disable the standby mode or at least set it to something like 30 minutes? I checked the advanced power management status with hdparm -B and it's 96. Setting it to 254 should be fine, and it can also be executed on startup via hdparm.conf, but then there's another command switch (hdparm -S) which also affects the spin down timeout. Which one should I use? And is that setting stored in operating system memory or in HDD's internal memory? I haven't noticed such problems on Windows so I'd not like to change any parameters that could affect both OSes.

Then I'd like to change the names of the operating systems shown in GRUB boot menu which would be easy with the old Grub but of course this distro uses the damned Grub2 and it seems that its configuration files are horrible bloat. Changing the timeout was easy via /etc/default/grub but changing the OS names isn't that simple... Changes to /boot/grub/grub.cfg are sometimes overridden and the files in /etc/grub.d/ seem to contain nothing name-related.

Third problem is the Xfce terminal which is often laggy. Sometimes running commands can take over 5 seconds even if the command is really simple, such as logging in as root via SU. I haven't noticed such delays with my old desktop computer (Mandriva + KDE + Konsole) This might, however, be related to the HDD standby mode but I'm not sure... I think it happens even if the HDD is not in standby, and I've heard complaints of the slow performance from other users as well.

Maybe these annoyances happen because I'm running Mint on laptop but the "Mint just works" statement isn't as true as they say...

Last edited by Ormu; 12-16-2011 at 02:30 PM. Reason: typos
 
Old 12-16-2011, 05:56 PM   #2
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,649

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
The recommended way is to put a menuentry section from grub.cfg in the /etc/grub.d/40_custom file. Run sudo update-grub after doing it.

The easier way is just to change the name to what you want in the grub.cfg file as sudo and save it. Don't run sudo update-grub. The problem with this method is that it will change/revert whenever you do run update-grub.
 
1 members found this post helpful.
Old 12-19-2011, 01:16 PM   #3
Ormu
Member
 
Registered: Jun 2011
Location: Finland
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
The recommended way is to put a menuentry section from grub.cfg in the /etc/grub.d/40_custom file. Run sudo update-grub after doing it.

The easier way is just to change the name to what you want in the grub.cfg file as sudo and save it. Don't run sudo update-grub. The problem with this method is that it will change/revert whenever you do run update-grub.
Ok, thanks. I'll probably just edit grub.cfg. Grub2 will probably not get updates too frequently so this should be OK...
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installing and tweaking Linux Mint 10 LXer Syndicated Linux News 0 11-19-2010 03:00 AM
[SOLVED] GRUB2 after a minor update of GRUB2 /boot prefix no longer needed?? wikapuki Linux - Software 1 10-24-2010 02:39 PM
Is there a substantial difference between Linux Mint Ubuntu and Linux Mint Debian? schachwizard Linux Mint 4 10-09-2010 11:27 PM
Newbie with Mint/ Linux needs to install Clam AV in Mint after 4 Wdws Trogan attack BAKEAPPLEFARM Linux Mint 6 03-24-2010 08:38 PM
hdparm doesn't load hdparm.conf KOTAPAKA Linux - Hardware 2 05-21-2008 09:54 AM


All times are GMT -5. The time now is 08:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration