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
  •  


Vintage Commodore 128 -Tested-As Is No Cables, console only -READ DESCRIPTION picture

Vintage Commodore 128 -Tested-As Is No Cables, console only -READ DESCRIPTION

$165.00



BitBinders 1581DV Dual 3.5

BitBinders 1581DV Dual 3.5" Floppy Disk Drive for Commodore 8-Bit Computers READ

$429.00



1980's Commodore VIC - 20 Computer with Original Box and Manuals POWERS ON picture

1980's Commodore VIC - 20 Computer with Original Box and Manuals POWERS ON

$99.95



 Pi1541 Zero with Epyx Fastload Hat, Case & 16gb SD for Commodore 64 and 128  picture

Pi1541 Zero with Epyx Fastload Hat, Case & 16gb SD for Commodore 64 and 128

$79.99



Commodore SX-64 Personal Computer picture

Commodore SX-64 Personal Computer

$600.00



Commodore 64 Serial Cable 6PIN DIN 1541 1571 C64 128 C128 Disk Drive Printer USA picture

Commodore 64 Serial Cable 6PIN DIN 1541 1571 C64 128 C128 Disk Drive Printer USA

$10.49



Commodore 1541 Emulator PI1541 HAT with ROTARY, OLED screen, USA Seller picture

Commodore 1541 Emulator PI1541 HAT with ROTARY, OLED screen, USA Seller

$29.99



SOLD AS IS Lot of 5.25

SOLD AS IS Lot of 5.25" Floppy Disks w/ Games & Software? Commodore 64 Atari 800

$59.99



TeensyROM+ TR+ v0.4 Cartridge for C64/128 - w/ Case & 32GB SD Preloaded picture

TeensyROM+ TR+ v0.4 Cartridge for C64/128 - w/ Case & 32GB SD Preloaded

$89.50



Commodore OS USB | Bootable LIVE + Install | The Ultimate Gaming Linux OS | NEW picture

Commodore OS USB | Bootable LIVE + Install | The Ultimate Gaming Linux OS | NEW

$11.99