Debian Lenny Image

  • Steven Chen

    Steven Chen - 2009-07-04

    I have created a Debian Linux image based on Debian Lenny 5.0.2 from network install. The original kernel version in Debian lenny is 2.6.26.
    I used the colinux vmlinux and debian's initrd+install cd to finish the work.

    - Debian Lenny (current stable release) with only the base system.
    - A sample configuration file using slirp as NIC is included.
    - 2GB root file system. Root password is colinux. (there is also a user "colinux" that uses the same password.)
    - SSH is not installed by default. Run "apt-get install ssh" to have sshd installed and started. So, everyone could get different private keys (mentioned in the TODO list).
    - Tested with colinux 0.7.4.

    • Henry N.

      Henry N. - 2009-07-11

      I have fixed small things, like "apt-get clean" and fixed some of the error messages in boot scripts.

      The file is on now.

    • Steven Chen

      Steven Chen - 2009-07-13

      Thanks, Henry.

      Would you tell me how did you fix the error messages at boot time? (is the set_kernel_font warning?)


      • Henry N.

        Henry N. - 2009-07-13

        Do disable the font warnings, you can remove all the SCREEN_FONT... from config, or you adds a line "uname -r | grep -qe "-co-" && exit 0" in top of file /etc/init.d/

        Here are the changes I made on the image:

        * Changes on Debian 5 Lenny for coLinux
        Disable font setting
        Disable acessing HWCLOCK
        Disable udev renaming eth

        --- /etc/console-tools/config
        +++ /etc/console-tools/config
        @@ -70,9 +70,11 @@

        # Turn on numlock by default
        +# coLinux has no font support
        --- /etc/default/rcS
        +++ /etc/default/rcS
        @@ -15,3 +15,4 @@
        --- /etc/udev/rules.d/70-persistent-net.rules
        +++ /etc/udev/rules.d/70-persistent-net.rules
        @@ -3,5 +3,3 @@
        # You can modify it, as long as you keep each rule on a single line.

        -# PCI device 0x1a55:0x0005 (conet)
        -SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:ff:c1:80:a0:00", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
        --- /etc/udev/rules.d/75-persistent-net-generator.rules
        +++ /etc/udev/rules.d/75-persistent-net-generator.rules
        @@ -23,6 +23,9 @@
        # ignore Xen virtual interfaces
        SUBSYSTEMS=="xen",            GOTO="persistent_net_generator_end"

        +# ignore coLinux virtual interfaces
        +DRIVERS=="conet",            GOTO="persistent_net_generator_end"
        # ignore UML virtual interfaces
        DRIVERS=="uml-netdev",            GOTO="persistent_net_generator_end"


        The size of image have reduced by running "apt-get clean".


Log in to post a comment.