[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <492D32A5.2060300@mimc.co.uk>
Date: Wed, 26 Nov 2008 11:27:33 +0000
From: Mark Jackson <mpfj@...c.co.uk>
To: "H. Peter Anvin" <hpa@...or.com>
CC: linux-kernel@...r.kernel.org, mrustad@...il.com
Subject: Re: Help using initramfs
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists