Results 1 to 4 of 4

Thread: How knoppix detects ide devices ?

  1. #1
    Junior Member
    Join Date
    Jan 2007
    Posts
    2

    How knoppix detects ide devices ?

    I want to know how knoppix detects hard disks drives (optical drives) and automaticaly create fstab entry, and than automaticaly mount ? does it use some script or something for that ?

  2. #2
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    Sydney/Australia
    Posts
    311
    >>
    I want to know how knoppix detects hard disks drives
    >>

    Good question ...

    Normally, when the kernel boots, it will get to a stage were it will remount the root file system read/write, then continue on to complete its' initialisation. It needs to do that so it can log the final stage. And it needs to do some sought of 'root' mount in order to find an init program/script to run, to govern its' initialisation.

    Before it actually does that remount it will need to read the boot drives partition table. From which it gets its' device mappings. That is ... sector addressing info. It will actually read the partition table associated with any hd plugged in.

    I can't be certain as to how it actually detects other dives, such as cd/dvd drives. Possibly by probing, or possibly via the bios.

    Thats the general process as per your basic hd installed distro.

    Knoppix, being a livecd will obviously involve a variance on that process. It will need to write a fstab file at an early stage so i guess it must also involve some specialised scripting as well.


    jm

  3. #3
    Junior Member
    Join Date
    Jan 2007
    Posts
    2
    o, yes. I am trying to find that script which creates fstab entries. And I am not succesful with that. Do you or anyone else maybe know where is that script or scripts ?

  4. #4
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    Sydney/Australia
    Posts
    311
    Sorry for late response,

    I think you may be refering to the scripts found in /etc/init.d

    The init program will run those just after the kernel has finished loading and the root partition has been remounted read/write.

    Specifically you would want to look for the file called ' knoppix-autoconfig'. As i have a vague memory of it mentioning something about writing fstab. It would need to be verified though.

    Also have a look at /etc/inittab which the init program will read to govern its' operation.


    jm

Similar Threads

  1. Knoppix 5.1.1 Incorrectly Detects Monitor
    By deesy58 in forum Hardware & Booting
    Replies: 9
    Last Post: 05-12-2009, 07:12 PM
  2. ALPS touchpad not detected by knoppix 4,kanotix detects it
    By bongski55 in forum Hardware & Booting
    Replies: 0
    Last Post: 09-30-2005, 03:05 PM
  3. knoppix successfully detects eth0 and eth1 and ra0 appears
    By paradigm_shift in forum Networking
    Replies: 0
    Last Post: 07-15-2005, 05:41 AM
  4. Knoppix detects my firewire
    By Harry Kuhman in forum Hardware & Booting
    Replies: 6
    Last Post: 04-25-2005, 08:42 PM
  5. Knoppix detects my Wireless Card but...
    By enemorales in forum Hardware & Booting
    Replies: 0
    Last Post: 11-26-2004, 04:41 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
  •  


USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC picture

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC

$49.99



Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet picture

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet

$147.00



SanDisk Ultra Luxe USB 3.1 Flash Drive – 5 Pack | Premium Metal USB Flash Drives picture

SanDisk Ultra Luxe USB 3.1 Flash Drive – 5 Pack | Premium Metal USB Flash Drives

$59.99



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB picture

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB

$8.47



LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s picture

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s

$39.80



USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB picture

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB

$7.99



Wholesale Sale 10/ 30/ 50/100pcs 256MB Metal Swivel USB Flash Drive Memory Stick picture

Wholesale Sale 10/ 30/ 50/100pcs 256MB Metal Swivel USB Flash Drive Memory Stick

$165.90



FLASHFORGE AD5X Upgraded Multi-Color 3D Printer CoreXY High-Speed Auto Refill US picture

FLASHFORGE AD5X Upgraded Multi-Color 3D Printer CoreXY High-Speed Auto Refill US

$349.00