http://www.Linux-Boot.net


Linux-Boot.net

BIOS
CPU Arch

MBR
Boot Stages
Boot Squence
Boot Errors

Booting
Boot-Loaders
SysLinux
Grub
Lilo


RootFS-HOWTO
RootFS-Config
RootFS-HOWTO


InitRD-HOWTO
InitRD
InitRD-Config
InitRD-HOWTO

Creating initrd.gz
RamDisk
Loop

Viewing initrd.gz


Obsolete
initrd/rootfs Scripts

Old Scripts


initrd HOWTO Scripts
rootfs HOWTO Scripts
( Bootable CF, USB, FD, CD )
Standalone Boot
/boot
InitRD
RootFS
Patches


Boot Media
CD-Boot
Floppy-Boot
USB-Boot
Compact-Flash-Boot
Network-Boot
DOS


Chroot


Forgot Root PassWord


CDRW HOWTO



1U Rackmount Chassis

Custom-Chassis.com

Linux-1U.net

1U-ITX.net


ITX-Blades.net


Small PC cases

Mini-Box.net

Wrap-Box.net

Wrap-OS.net


Wan-Sim.net



Linux-Consulting.com

Linux-CAE.net

Linux-Sec.net

Linux-Boot.net

Linux-Backup.net

Linux-Wireless.org

Linux-Office.net

Linux-Video.net

Linux-VOIP.net

Linux-Jobs.net

Linux-Diff.net

1U-Raid5.net

Linux-Howto.net


Spam Reporting



Free Linux CDs

ISO9660.org

Distro-CD.org

Patch-CD.org




Contact



Linux is a registered trademark of
Linus Torvalds

More Linux Legalese


Viewing the initrd File
  • you will need the proper Kernel Options defined

  • Note they all have /linuxrc

  • Debian Sarge ( needs cramfs )
    • cp /boot/initrd.img-2.6.5-1-386 /tmp/initrd
    • mount -o loop /tmp/initrd /mnt/loop
    • ls -laR /mnt/loop ( bloated )

  • Redhat-9 ( initrd is really compressed )
    • cp /boot/initrd-2.4.20-20.9.img /tmp/initrd-2.4.20-20.9.img.gz
    • gzip -d /tmp/initrd-2.4.20-20.9.img.gz
    • mount -o loop /tmp/initrd-2.4.20-20.9.img /mnt/loop
    • ls -laR /mnt/loop ( minimal for ext3 )

  • Slackware-10 ( initrd.img is really compressed )
    • cp /boot/slack-initrd.img /tmp/slack-initrd.img.gz
    • gzip -d /tmp/slack-initrd.img.gz
    • mount -t auto -o loop /tmp/slack-initrd.img /mnt/loop
    • ls -laR /mnt/loop ( standalone )

  • Suse-9.1 ( initrd is really compressed )
    • cp /boot/initrd-2.6.5-7.75-smp /tmp/initrd-2.6.5-7.75-smp.gz
    • gzip -d /tmp/initrd-2.6.5-7.75-smp.gz
    • mount -o loop /tmp/initrd-2.6.5-7.75-smp /mnt/loop
    • ls -laR /mnt/loop ( almost standalone )

Viewing the Boot Floppy
  • Reading the Boot Floppy
    • dd if=/dev/fd0 of=/tmp/floppy.img bs=1024
    • mount -o loop /tmp/floppy.img /mnt/loop
    • ls -la /mnt/loop

  • Looking at Debian Boot Floppy
  • Looking at Redhat Boot Floppy
  • Looking at Slackware Boot Floppy
  • Looking at Slackware Root ( color.gz ) Floppy
  • Looking at Suse Boot Floppy

  • Looking at Tom's Root-Boot Floppy - standalone boot disk

Viewing the Kernels
  • Looking Slackware bare.i ( vmlinuz-2.4.26 )
  • Looking at vmlinuz-2.6.8


Copyright © 2000
Linux-Consulting
All Rights Reserved.
Updated: Mon Aug 22 15:37:11 2005 PDT