Share

The Pocket Linux Guide

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Boot from hd?

You are viewing a single message from this topic. View all messages.

  1. 2009-04-08 16:26:34 UTC
    I think your searching skills are probably fine. The problem is that there are not a whole lot of people out there who try to do what we are doing, so there's not a lot of useful information to be found. Hopefully I can give you some insights that might help.

    In my experience whenever I see "attempted to kill init" here's what I would check...

    * Does /sbin/init actually exist?
    * Are all the libraries required by init also installed on the system?
    * Does init have the proper permissions?
    * Can you log in using /bin/sh as init? (e.g. from the grub prompt do something like: 'kernel (hd0,0)/boot/vmlinuz init=/bin/sh')

    You may also want to compile sysvinit and bash (sh) as statically-linked.

    You can do this with make CC="gcc -march=i586" STATIC="-static" when building sysvinit and the --enable-static-link option when configuring your minimal bash.

    With these two programs built as static-linked you will almost always come up to a shell prompt.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.