-
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 ?
-
Senior Member
registered user
>>
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
-
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 ?
-
Senior Member
registered user
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
-
By deesy58 in forum Hardware & Booting
Replies: 9
Last Post: 05-12-2009, 07:12 PM
-
By bongski55 in forum Hardware & Booting
Replies: 0
Last Post: 09-30-2005, 03:05 PM
-
By paradigm_shift in forum Networking
Replies: 0
Last Post: 07-15-2005, 05:41 AM
-
By Harry Kuhman in forum Hardware & Booting
Replies: 6
Last Post: 04-25-2005, 08:42 PM
-
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
-
Forum Rules

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY
$10.00

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68

Crucial Laptop Ram 32GB (2x16GB) RAM DDR4 3200MHz CT16G4SFRA32A
$119.99

32GB KIT - 2x SK Hynix 16GB 2Rx8 PC4-2666V DDR4 SODIMM Laptop Memory RAM
$99.99

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q
$169.00

Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory
$189.00

LOTS of 2 Samsung 8GB (8x2 16GB) DDR5 RAM Memory M435R1GB4PB1-CCPSG PC5-6400B
$150.99

SK Hynix 256GB (4x64GB) DDR4 3200MHz PC4-25600 ECC RDIMM 288-Pin Workstation RAM
$1950.00