-
How to optimize my Hard Drive under Knoppix?
I am a neophyte to Linux who recently successfully did a hard drive install of Knoppix 3.4 on my old computer after wiping off all evidence of Windows. Now I am trying to optimize my hard drives. As root, I can successfully execute commands like “hdparm –X66 –d1 –u1 –m16 –c3 /dev/hda”, but of course they are gone when I reboot. I have tried appending that line to /etc/init.d/bootmisc.sh" and rebooting, but this was unsuccessful in that the hard drive settings were still unchanged.
This all may be related to the fact that I had to initially install Knoppix using the cheatcode “nodma” because my CD ROM doesn’t support DMA. So now as it boots up I get a message something like “Skipping DMA acceleration as requested by command boot line.” Any suggestions on how to proceed to get my hard drives automatically optimized will be greatly appreciated. Thank you.
-
Senior Member
registered user
You could try:
1) create a script and place it in /etc/init.d and create a symlink to that script using : update-rc.d scriptname defaults
or
2) add your line in /etc/sysconfig/harddisks. Create one if it isn't there.
-
Senior Member
registered user
If you want to remove the 'nodma' startup code, just remove it from the append line in /etc/lilo.conf & rerun lilo.
-
Removing the "nodma" command seems to be all it took. Now it is working much better. Thank you. :)
-
Senior Member
registered user
lyonh,
I have a similar, but in reverse, problem as in your case. I have found that the nodma cheatcode, either in the Live CD, or after I installed v3.4 onto my hard drive, the append= line... I have been using the experimental 2.6.6 kernel, though...
I have two hard drives, a CD-RW, and a DVD device, as peripherals - my second hard drive is the concern, it cant handle DMA, whereas, all the other devices, can... The nodma has never worked, and I had to resolve the issue by adding hdparm commands for all the devices into the bottom of my bootmisc.sh file - to ensure that dma is being set to what I need... i.e. hdparm commands for "setting" dma on all devices, except the second hard drive, and then a hdparm command for disabling the dma on the second hard drive.
From what I can tell, with the 2.6.6 kernel, some cheatcodes, or the append= codes, dont have any effect, while certain ones do. Appears that "tweaking" your system with the 2.6.6 kernel, is not as important as it was in previous releases, I guess, evident by the inability to alter options on the boot, as in previous. Or, these options were added so quickly into the 2.6.6 kernel, that "back-end" code was not inculded to use them yet, I dont know...
Oh well, glad you got it working
Similar Threads
-
By husalah5150 in forum General Support
Replies: 3
Last Post: 11-22-2005, 05:06 PM
-
By Lintu in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 10-20-2005, 06:13 PM
-
By arkaine23 in forum Ideas
Replies: 1
Last Post: 08-07-2005, 08:58 PM
-
By kidsatacrux in forum MS Windows & New to Linux
Replies: 19
Last Post: 08-03-2004, 07:41 AM
-
By knoxx in forum General Support
Replies: 2
Last Post: 01-16-2004, 03:04 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Dell Poweredge R730xd 3.5 2x E5-2690 v3 2.6ghz 64gb H730 14x Trays 2x 1100w
$489.99
Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD
$139.99
Dell Poweredge R210 II Server Xeon E3-1220 v2 3.1ghz Quad Core / NoRam / 1x Tray
$69.99
24 Cores 2.6Ghz 32GB DDR4 Dell PowerEdge R730 Server H730 Raid Card 2x 1GB RJ45
$274.00
R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU
$169.95
Dell PowerEdge R710 2.5" 2U Server 2x X5670 2.93GHZ 12-Core 128gb 2x 1TB SAS
$214.99
Dell PowerEdge R730 2xE5-2660V3 2.6Ghz 20Core 128GB RAM H730 2xSFP+2xRJ45 2x750W
$349.99
CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs
$313.33
Dell Poweredge R520 2x Xeon E5-2470 v2 2.4GHz 20-Core 192gb 8xTray H710 2x750w
$344.99
Dell Desktop Quad Core i5 8400 500GB SSD + 2TB HDD 32GB RAM Window Server 2022
$301.73