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
  •  


Samsung Galaxy Tab A9+ Plus 5G 11

Samsung Galaxy Tab A9+ Plus 5G 11" 64GB Graphite - T-Mobile or WiFi Only - BNIB

$149.00



Samsung - S Pen Creator Edition - White picture

Samsung - S Pen Creator Edition - White

$38.00



Samsung Galaxy Tab A9+ 11.0

Samsung Galaxy Tab A9+ 11.0" 64GB Gray Wi-Fi Tablet Bundle SM-X210NZAYXAR 2023

$149.99



Samsung 870 QVO 8TB 2.5

Samsung 870 QVO 8TB 2.5" SATA III Internal SSD (MZ-77Q8T0B)

$450.00



Samsung 27

Samsung 27" Ultra-Slim LED Curved Monitor HDMI (LC27F390FHN) ™

$95.99



Samsung Chromebook 3 4GB 16GB SSD 11.6-Inch Laptop  XE500C13-K02US HDMI WIFI picture

Samsung Chromebook 3 4GB 16GB SSD 11.6-Inch Laptop XE500C13-K02US HDMI WIFI

$39.59



Samsung SM863a MZ7KM1T9HMJP 1.92TB 6Gb/s 2.5” SATA SSD Solid State MZ-7KM1T9N picture

Samsung SM863a MZ7KM1T9HMJP 1.92TB 6Gb/s 2.5” SATA SSD Solid State MZ-7KM1T9N

$89.00



Samsung T5 Evo MU-PH2T0S Black Portable 460MBPS 2TB Storage Solid State Drive picture

Samsung T5 Evo MU-PH2T0S Black Portable 460MBPS 2TB Storage Solid State Drive

$119.99



Samsung Galaxy Tab A (2019) 32GB, Wi-Fi, 10.1in - Black picture

Samsung Galaxy Tab A (2019) 32GB, Wi-Fi, 10.1in - Black

$50.00



Samsung 860 EVO 4TB V-NAND SSD SATA 2.5

Samsung 860 EVO 4TB V-NAND SSD SATA 2.5" 6Gb/s MZ-76E4T0

$194.99