• # Exemple

    Posté par . En réponse au message Customiser mes scripts d'initilisation. Évalué à 1.

    Un exemple vaut mieux qu'un long discours donc en voici un du résultat attendu : Avant :
    Linux version 2.4.29 (root@midas) (gcc version 3.3.4) #8 Thu Jan 20 16:36:28 PST 2005
    BIOS-provided physical RAM map:
     BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
     BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
     BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
     BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
     BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
     BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
     BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
     BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
     BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
    255MB LOWMEM available.
    On node 0 totalpages: 65520
    zone(0): 4096 pages.
    zone(1): 61424 pages.
    zone(2): 0 pages.
    ACPI: RSDP (v000 AMI ) @ 0x000fa8e0
    ACPI: RSDT (v001 AMIINT VIA_K7 0x00000010 MSFT 0x00000097) @ 0x0fff0000
    ACPI: FADT (v001 AMIINT VIA_K7 0x00000011 MSFT 0x00000097) @ 0x0fff0030
    ACPI: MADT (v001 AMIINT VIA_K7 0x00000009 MSFT 0x00000097) @ 0x0fff00c0
    ACPI: DSDT (v001 VIA K7VT4 0x00001000 INTL 0x02002024) @ 0x00000000
    Kernel command line: BOOT_IMAGE=vmlinuz ramdisk_size=7000 root=/dev/hda8 vga=normal ro 
    Initializing CPU#0
    Detected 1798.533 MHz processor.
    Console: colour VGA+ 80x25
    Calibrating delay loop... 3578.26 BogoMIPS
    Memory: 255828k/262080k available (1959k kernel code, 5864k reserved, 649k data, 132k init, 0k highmem)
    Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
    Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
    Mount cache hash table entries: 512 (order: 0, 4096 bytes)
    Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
    Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
    CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
    CPU: L2 Cache: 256K (64 bytes/line)
    CPU: After generic, caps: 0383fbff c1c3fbff 00000000 00000000
    CPU: Common caps: 0383fbff c1c3fbff 00000000 00000000
    CPU: AMD Athlon(tm) XP 2200+ stepping 01
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Checking 'hlt' instruction... OK.
    [...]
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a post-1991 82077
    RAMDISK driver initialized: 16 RAM disks of 7000K size 1024 blocksize
    loop: loaded (max 8 devices)
    Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    VP_IDE: IDE controller at PCI slot 00:11.1
    PCI: No IRQ known for interrupt pin A of device 00:11.1
    VP_IDE: chipset revision 6
    VP_IDE: not 100% native mode: will probe irqs later
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1
     ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
     ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA
    hda: Maxtor 6Y120L0, ATA DISK drive
    blk: queue c03dd8e0, I/O limit 4095Mb (mask 0xffffffff)
    hdc: LITEON DVD-ROM LTD122, ATAPI CD/DVD-ROM drive
    hdd: PLEXTOR CD-R PX-W4012A, ATAPI CD/DVD-ROM drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    hda: attached ide-disk driver.
    hda: host protected area => 1
    hda: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=14946/255/63, UDMA(33)
    hdc: attached ide-cdrom driver.
    hdc: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
    Uniform CD-ROM driver Revision: 3.12
    hdd: attached ide-cdrom driver.
    hdd: ATAPI 40X CD-ROM CD-R/RW drive, 4096kB Cache, UDMA(33)
    Partition check:
     hda: hda1 hda2 < hda5 hda6 hda7 hda8 > hda3 hda4
    [...]
    
    Et après plus ou moins :
    Linux version 2.4.29 (gcc version 3.3.4) #8 Thu Jan 20 16:36:28 PST 2005
    Initializing physical RAM
     |_ BIOS-provided physical RAM map [OK]
     |_ LOWMEM available 255MB
     |_ On node 0 65520 pages
     |_ zone(0) 4096 pages
     |_ zone(1) 61424 pages
     |_ zone(2) 0 pages
    Loading kernel
     |_ Boot image vmlinuz
     |_ Ramdisk size 7000
     |_ Root /dev/hda8
     |_ Vga normal
    Processor(s)
     |_ CPU#0 AMD Athlon(tm) XP 2200+
     1798.533 MHZ processor
     |_ L1 Cache
     |_ I cache 64K (64 bytes/line)
     |_ D cache 64K (64 bytes/line)
     |_ L2 Cache 256K (64 bytes/line)
    [...]
    Detecting hardware
     |_ fd0 Floppy drive(s) 1.44M
     |_ hda Maxtor 6Y120L0, ATA DISK drive
     |_ hdc LITEON DVD-ROM LTD122
     ATAPI CD/DVD-ROM drive
     |_ hdd PLEXTOR CD-R PX-W4012A
     ATAPI CD/DVD-ROM drive
    Partition check
     |_ hda hda1 hda2 < hda5 hda6 hda7 hda8 > hda3 hda4
    [...]