KNOPPIX.PDF

(83 KB) Pobierz
Building a self-contained
auto-conguring Linux system
on an iso9660 lesystem
or
”Making Linux run from CD”
Klaus Knopper
knoppix@knopper.net
V1.4 – October 4, 2000
Abstract
Knoppix (Knopper’s *nix) is an attempt to not only
create a fully featured rescue/demo system on a
single CD, but also to unburden the user from the
task of hardware identication and conguration
of drivers, devices and X11 for his or her specic
hardware. The resulting product is supposed to
be a platform CD with a stable GNU/Linux base
system, that can be used to customize static
installations for a specic purpose.
887183547.057.png 887183547.068.png 887183547.079.png 887183547.090.png 887183547.001.png
Dipl.-Ing. Klaus Knopper
Table Of Contents
1. The KNOPPIX boot procedure
Stage 1
The El Torito Standard
The Bootoppy
The Startup Scripts
Stage 2
2. The Filesystem
RAM
Chosing a lesystem
The compressed block device
The preparation scripts
Stage 3
3. Conguration and Applications
4. Planned Features
Building a self-contained auto-conguring Linux system on an iso9660 lesystem
slide 2/14
887183547.008.png 887183547.009.png 887183547.010.png 887183547.011.png 887183547.012.png 887183547.013.png 887183547.014.png 887183547.015.png 887183547.016.png 887183547.017.png 887183547.018.png 887183547.019.png 887183547.020.png 887183547.021.png 887183547.022.png 887183547.023.png 887183547.024.png 887183547.025.png 887183547.026.png 887183547.027.png 887183547.028.png 887183547.029.png 887183547.030.png 887183547.031.png 887183547.032.png 887183547.033.png 887183547.034.png 887183547.035.png 887183547.036.png 887183547.037.png 887183547.038.png 887183547.039.png 887183547.040.png 887183547.041.png 887183547.042.png 887183547.043.png 887183547.044.png 887183547.045.png 887183547.046.png 887183547.047.png 887183547.048.png 887183547.049.png 887183547.050.png 887183547.051.png 887183547.052.png 887183547.053.png 887183547.054.png 887183547.055.png 887183547.056.png 887183547.058.png 887183547.059.png 887183547.060.png 887183547.061.png 887183547.062.png 887183547.063.png 887183547.064.png 887183547.065.png 887183547.066.png 887183547.067.png
The KNOPPIX boot procedure
Dipl.-Ing. Klaus Knopper
The El Torito Standard
Standard for bootable CD-ROMs with boot
index catalog for bootable images,
Boot modes must be supported by (E)IDE
or SCSI BIOS,
Only allowed: 1,2, 1.44, 2.88 MB Floppy
Image OR Harddisk emulation (BIOS
access, not supported by Linux Kernel),
CD-Rom
Image
Calibration and/or Geometry dependent
problems when loading boot images via
BIOS.
Building a self-contained auto-conguring Linux system on an iso9660 lesystem
slide 3/14
887183547.069.png 887183547.070.png 887183547.071.png 887183547.072.png 887183547.073.png 887183547.074.png 887183547.075.png 887183547.076.png 887183547.077.png 887183547.078.png 887183547.080.png 887183547.081.png 887183547.082.png 887183547.083.png 887183547.084.png
The KNOPPIX boot procedure
Dipl.-Ing. Klaus Knopper
The Bootoppy
Standard 1.44 MB ext2 oppy image,
Kernel (compressed) ca. 640K,
4MB initrd (SCSI modules, scripts, devices,
shell) compressed ca. 790K,
LILO stuff & load map ca. 10K.
Building a self-contained auto-conguring Linux system on an iso9660 lesystem
slide 4/14
887183547.085.png 887183547.086.png 887183547.087.png 887183547.088.png 887183547.089.png 887183547.091.png 887183547.092.png 887183547.093.png 887183547.094.png 887183547.095.png 887183547.096.png
The KNOPPIX boot procedure
Dipl.-Ing. Klaus Knopper
The Startup Scripts
/linuxrc
loads SCSI modules,
checks for CD-Rom or harddisk partition with installed system,
mounts CD or harddisk partition with KNOPPIX installation,
nds and uses existing swap partitions,
creates additional ramdisks for /home and /var ,
gives control to init .
/etc/rc.d/sysinit
starts PCMCIA subsystem if chipset present,
starts hardware detection and autoconguration ( hwsetup ),
parses cong les and modies system on ramdisk accordingly,
creates KDE desktop icons and links,
starts X-Server and xsession (with KDE or TWM, depending on conguration
and available memory).
Building a self-contained auto-conguring Linux system on an iso9660 lesystem
slide 5/14
887183547.097.png 887183547.098.png 887183547.099.png 887183547.100.png 887183547.002.png 887183547.003.png 887183547.004.png 887183547.005.png 887183547.006.png 887183547.007.png
Zgłoś jeśli naruszono regulamin