Debian installation - problem

Tom
Hello!

I've just installed Debian on my Mini2440 using following tutorial:
http://code.google.com/p/mini2440/wiki/Emdebian

I've made some changes:
- got kernel in flash
- second stage install I've made after booting system from SD card, and
then I've made:

*** sh-3.2# mount /proc /proc -t proc 

*** sh-3.2# export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

*** sh-3.2# /debootstrap/debootstrap --second-stage

Everything went OK. But now every time when Linux is booting I must do: 

*** sh-3.2# mount /proc /proc -t proc 

*** sh-3.2# export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Why? What I've done wrong?

thanks in advance
best regards
Tomasz

Tom
One more - before I mount /proc I've got warning each time I try to run
something (for example ifconfig):

Warning: cannot open /proc/net/dev (No such file or directory). Limited
output.

And when I try to reboot, I've got:

WARNING: could not determinate runlevel - doing soft reboot
[...]
shutdown: timeout opening/writing control channel /dev/initctl
init: timeout opening/writing control channel /dev/initctl

Any ideas?

thanks in advance
best regards
Tomasz

Daniel
Hi Tom,

I bet you forgot this step:
echo "proc /proc proc none 0 0" >> etc/fstab

login as root and cd to the root of your filesystem or mount the sd card
and cd to the mountpoint. you'll probably need root privileges (sudo)

Tom
I've done It without result (without root privileges). I'm not sure, but I
think I can't log in as root, I always get "sh-3.2#" prompt. I'll let now
when I chceck it.
Any other ideas?

thanks in advance
best regards
Tom

Daniel
Well, if you're not sure if you have the sufficient rights, then do:
"nano /etc/fstab"
and paste it manually. Save with Strg+O and if your not root, then nano
will give an error message. but if your bootparameters include
init=/bin/sh, then you should be root.

Pratik
He Tom,
Just change the booting arguments,it will work.

Thanks

Tom
I've tried all You said. My booting arguments looks like this:

"console=ttySAC0,115200 noinitrd root=/dev/mmcblk0p2 rootwait=4 rw ip=dhcp
init=/bin/sh"

My /etc/fstab:

"proc /proc proc none 0 0"

Still not mounting /proc, and I've got to do this manually. When I type
'su' I've got "bash: no job control in this shell", and then "10:/#"
prompt.

Any ideas?

thanks in advance
best regards
Tom