Re: Help using initramfs

From: Mark Jackson
Date: Wed Nov 26 2008 - 06:27:49 EST


Mark Jackson wrote:

<snip>

My next problem is this ... below is a copy of my /init script ...

#!/bin/sh
#Mount things needed by this script
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mdev -s
echo "wibble"
echo "qwerty" > /dev/console
exec /sbin/init
exit 0

And this is the console output ...

mount: permission denied. (are you root?)
mount: permission denied. (are you root?)

<snip>

Does /init not inherently run as root ?

If not, how do I fix the problem ?

Doh ... fixed.

I didn't had busybox owner set to root.

I'm now up and running !!

Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/