Re: Netwinder d-i for lenny - Debian

This is a discussion on Re: Netwinder d-i for lenny - Debian ; * Woody Suwalski [2008-09-02 12:38]: > - ramdisk breaks with: > /sbin/init: line 31: /lib/debian-installer/init-udev-devices: not found It seems we need the following patch so initrds will still boot. Jrmy, is this correct? Index: src/sbin/init ================================================== ================= --- src/sbin/init (revision ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Re: Netwinder d-i for lenny

  1. Re: Netwinder d-i for lenny

    * Woody Suwalski [2008-09-02 12:38]:
    > - ramdisk breaks with:
    > /sbin/init: line 31: /lib/debian-installer/init-udev-devices: not found


    It seems we need the following patch so initrds will still boot.
    Jrmy, is this correct?

    Index: src/sbin/init
    ================================================== =================
    --- src/sbin/init (revision 55526)
    +++ src/sbin/init (working copy)
    @@ -20,16 +20,10 @@
    cd /mnt
    pivot_root . initrd
    mkdir proc
    -if [ -x /sbin/udevd ]; then
    - /lib/debian-installer/init-udev-devices
    -elif [ -d /lib/userdevfs/ ]; then
    - :
    -else
    - echo "udev is missing. Giving up!" >&2
    - sleep 5000
    - exit
    -fi
    mount /proc
    +mkdir -p
    +mount /sys
    +/lib/debian-installer/start-udev

    # Close all open files on the initrd, and run busybox init.
    debugshell "before init"

    --
    Martin Michlmayr
    http://www.cyrius.com/


    --
    To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Re: Netwinder d-i for lenny

    * Martin Michlmayr [2008-09-02 20:03]:
    > * Woody Suwalski [2008-09-02 12:38]:
    > > - ramdisk breaks with:
    > > /sbin/init: line 31: /lib/debian-installer/init-udev-devices: not found

    >
    > It seems we need the following patch so initrds will still boot.
    > Jrmy, is this correct?


    OK, this updated patch is tested and works fine. Unless there are any
    objections, I'll upload this tomorrow.

    Index: src/sbin/init
    ================================================== =================
    --- src/sbin/init (revision 55526)
    +++ src/sbin/init (working copy)
    @@ -20,17 +20,11 @@
    cd /mnt
    pivot_root . initrd
    mkdir proc
    -if [ -x /sbin/udevd ]; then
    - /lib/debian-installer/init-udev-devices
    -elif [ -d /lib/userdevfs/ ]; then
    - :
    -else
    - echo "udev is missing. Giving up!" >&2
    - sleep 5000
    - exit
    -fi
    mount /proc
    +mkdir -p /sys
    +mount /sys
    +/lib/debian-installer/start-udev

    # Close all open files on the initrd, and run busybox init.
    debugshell "before init"
    -exec /usr/sbin/chroot . /bin/busybox init < /dev/console > /dev/console 2>&1
    +exec /sbin/reopen-console /usr/sbin/chroot . /bin/busybox init < /dev/console > /dev/console 2>&1

    --
    Martin Michlmayr
    http://www.cyrius.com/


    --
    To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  3. Re: Netwinder d-i for lenny

    On Tue, Sep 02, 2008 at 11:59:53PM +0300, Martin Michlmayr wrote:
    > * Martin Michlmayr [2008-09-02 20:03]:
    > > * Woody Suwalski [2008-09-02 12:38]:
    > > > - ramdisk breaks with:
    > > > /sbin/init: line 31: /lib/debian-installer/init-udev-devices: not found

    > >
    > > It seems we need the following patch so initrds will still boot.
    > > Jérémy, is this correct?

    >
    > OK, this updated patch is tested and works fine. Unless there are any
    > objections, I'll upload this tomorrow.
    >
    > Index: src/sbin/init
    > […]


    Thanks for taking care of this.

    Cheers,
    --
    Jérémy Bobbio .''`.
    lunar@debian.org : :Ⓐ : # apt-get install anarchism
    `. `'`
    `-

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQFIv6y32PUjs9fQ72URAlMRAJ9yDfG6K+OwCOJw04zT0c ugPG3lHgCeM65t
    kVgyGmOCNLHgZ/DGVygK1IY=
    =rAf0
    -----END PGP SIGNATURE-----


+ Reply to Thread