# # linuxrc.README.txt # # InitRD Debug Mode # ------------------- # - miniature rootfs ( / ) to help debug /linuxrc # # # More /linuxrc Examples # ----------------------- # http://Linux-Boot.net/Bootable/LinuxRC # http://Linux-Boot.net/LinuxRC # # # 01-Sep-05 amo Date-of-Birth # # # If you are here, ( / of initrd-2005.xxxx ), you're in InitRD debug mode # # # # you did NOT let the bootloader ( lilo ) run /linuxrc in initrd.gz # # # # You probably will want to remount your /dev/ram : # -------------------------------------------------- # - so that "df" shows something # - so that / is "rw" # # sh /root/mount.proc.txt # # # You probably want a color console and mouse # -------------------------------------------------- # # source /root/.bashrc # # /etc/rc.d/rc.gpm start # # # You probably want to modify /linuxrc # -------------------------------------------------- # # pico /linuxrc # # # You probably want to test your new rootfs # -------------------------------------------------- # # mount /dev/xxxx /mnt/RootFS # # exec chroot /mnt/RootFS /bin/bash # - or - # exec chroot /mnt/RootFS /etc/rc.d/rc.M # # exec chroot /mnt/RootFS /sbin/init dev/console # # # -------------------------------------------------- # Normally, after the system executes /linuxrc, it will # boot into your RootFS with chroot or pivot_root # -------------------------------------------------- # # exec chroot /mnt/RootFS /sbin/init 3 # # BUT, "init" will NOT work once you got into this "initrd debug mode" # so you can still manually test your boot sequence with "rc.M" above # # # End of file