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
  •  


OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN picture

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN

$155.00



pfSense Firewall 16-Core Atom C3958 8GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN picture

pfSense Firewall 16-Core Atom C3958 8GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN

$184.99



OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN picture

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN

$248.00



Cisco Meraki MX67-HW Security Appliance Firewall NEW Unused Unclaimed picture

Cisco Meraki MX67-HW Security Appliance Firewall NEW Unused Unclaimed

$202.50



Fortinet FortiGate 60F FG-60F Firewall Tested Reset Deregistered OEM PSU picture

Fortinet FortiGate 60F FG-60F Firewall Tested Reset Deregistered OEM PSU

$99.99



Fortinet FortiGate 60F FG-60F P24286-03-13 Network Firewall Security Appliance picture

Fortinet FortiGate 60F FG-60F P24286-03-13 Network Firewall Security Appliance

$155.75



Firewalla Gold Pro 10GbE Firewall Router with Rack Mount Ears and USB Key picture

Firewalla Gold Pro 10GbE Firewall Router with Rack Mount Ears and USB Key

$829.99



Firewalla Gold Pro - 10 Gbps Cyber Security Firewall picture

Firewalla Gold Pro - 10 Gbps Cyber Security Firewall

$693.00



NETGEAR ProSafe 8-Port Gigabit VPN Firewall FVS318G NEW IN BOX picture

NETGEAR ProSafe 8-Port Gigabit VPN Firewall FVS318G NEW IN BOX

$69.99



Netgate SG-1100 firewall picture

Netgate SG-1100 firewall

$140.00