Results 1 to 5 of 5

Thread: make "knoppix nodma" permanent on hard disk instal

  1. #1
    Member registered user
    Join Date
    Mar 2004
    Posts
    46

    make "knoppix nodma" permanent on hard disk instal

    Just did a hard disk install.

    Now, how do I make the boot: arguments
    knoppix nodma
    permanent so that each time Knoppix boots from the
    hard disk then nodma is applied.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    From
    Code:
    man hdparm
    hdparm [ flags ] [device]
    /snip/
    -d Disable/enable the "using_dma" flag for this drive.
    So....
    Code:
    su
    hdparm -d0 /dev/hda
    Now have a look:
    Code:
    hdparm /dev/hda
    I do not know if Knoppix does this or not BUT it is common to turn DMA on w/ a script. Likely it would be /etc/init.d/bootmisc.sh. Have a look and if there's an hdparm command you'll likely want to get rid of it. You can simply comment it out.

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Just add

    Code:
    hdparm -d0 /dev/hda
    in bootmisc.sh, using your favorite text editor from a root console.

    Regards,
    AJG

  4. #4
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    Are you using lilo? Then just add 'nodma' to the append=list in /etc/lilo.conf & rerun lilo.

  5. #5
    Member registered user
    Join Date
    Mar 2004
    Posts
    46
    Thanks for all the tips.

    I used the lilo suggestion. It was easy.

Similar Threads

  1. Renaming "Festplatte" as hard drive in Knoppix 4.0
    By bdn103 in forum Customising & Remastering
    Replies: 0
    Last Post: 09-03-2005, 04:35 PM
  2. knoppix as a repair disk: cant find "scan disk"
    By briankinder in forum General Support
    Replies: 1
    Last Post: 06-27-2005, 01:53 AM
  3. "Formatting of failed" and "Opened disk read
    By shoka in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-16-2004, 09:45 AM
  4. Remastering from "Knoppix" style hard disk install
    By Bukowski in forum Customising & Remastering
    Replies: 1
    Last Post: 01-19-2004, 01:57 PM
  5. Permanent Swap File in Hard disk for Knoppix
    By bongski55 in forum General Support
    Replies: 3
    Last Post: 05-06-2003, 05:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$188.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$109.99



4 TB SSD SATA III Drive 2.5

4 TB SSD SATA III Drive 2.5" Solid State Drive SATAIII 6Gb/s UP to 540MB/s

$149.00



Netac 2TB 1TB 512GB 240GB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot picture

Netac 2TB 1TB 512GB 240GB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot

$108.99



Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive picture

Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive

$14.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$13.99



Kingston Digital 120GB SSDNow UV400 SATA 3 2.5

Kingston Digital 120GB SSDNow UV400 SATA 3 2.5" Solid State Drive SUV400S37/120G

$9.99



WD BLUE 3D NAND 250GB 2.5

WD BLUE 3D NAND 250GB 2.5" SATA Laptop SSD Solid State Tested,Wiped -WDS250G2B0A

$14.44



Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture

Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot

$109.99



Fanxiang SSD SATA 4TB SSD 2.5'' SSD 6Gb/s 550MB/s Internal Solid State Drive PC  picture

Fanxiang SSD SATA 4TB SSD 2.5'' SSD 6Gb/s 550MB/s Internal Solid State Drive PC

$188.09