Results 1 to 5 of 5

Thread: How to optimize my Hard Drive under Knoppix?

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    4

    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.

  2. #2
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    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.


  3. #3
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    If you want to remove the 'nodma' startup code, just remove it from the append line in /etc/lilo.conf & rerun lilo.

  4. #4
    Junior Member
    Join Date
    Oct 2004
    Posts
    4
    Removing the "nodma" command seems to be all it took. Now it is working much better. Thank you. :)

  5. #5
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    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

  1. Copying hard drive to hard drive new to linux
    By husalah5150 in forum General Support
    Replies: 3
    Last Post: 11-22-2005, 05:06 PM
  2. Hard drive / data recovery / force show drive
    By Lintu in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 10-20-2005, 06:13 PM
  3. Use apt-build to optimize for architecture
    By arkaine23 in forum Ideas
    Replies: 1
    Last Post: 08-07-2005, 08:58 PM
  4. Hard Drive Salvage from corrupted Windows XP NTFS drive
    By kidsatacrux in forum MS Windows & New to Linux
    Replies: 19
    Last Post: 08-03-2004, 07:41 AM
  5. knoppix & USB hard drive
    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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture

Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand

$60.00



Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM picture

Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM

$20.99



Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem picture

Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem

$39.99



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$143.98