LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 03:23 PM   #1
anon312
Member
 
Registered: Jun 2011
Posts: 92

Rep: Reputation: 15
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 anon312; 12-16-2011 at 03:30 PM. Reason: typos
 
Old 12-16-2011, 06:56 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,046

Rep: Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623
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, 02:16 PM   #3
anon312
Member
 
Registered: Jun 2011
Posts: 92

Original Poster
Rep: Reputation: 15
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
Is there a substantial difference between Linux Mint Ubuntu and Linux Mint Debian? schachwizard Linux Mint 9 07-29-2015 03:24 AM
LXer: Installing and tweaking Linux Mint 10 LXer Syndicated Linux News 0 11-19-2010 04:00 AM
[SOLVED] GRUB2 after a minor update of GRUB2 /boot prefix no longer needed?? wikapuki Linux - Software 1 10-24-2010 03:39 PM
Newbie with Mint/ Linux needs to install Clam AV in Mint after 4 Wdws Trogan attack BAKEAPPLEFARM Linux Mint 6 03-24-2010 09:38 PM
hdparm doesn't load hdparm.conf KOTAPAKA Linux - Hardware 2 05-21-2008 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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