All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Jackson <mpfj@mimc.co.uk>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org, mrustad@gmail.com
Subject: Re: Help using initramfs
Date: Wed, 26 Nov 2008 11:27:33 +0000	[thread overview]
Message-ID: <492D32A5.2060300@mimc.co.uk> (raw)
In-Reply-To: <492D2A2A.905@mimc.co.uk>

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

      reply	other threads:[~2008-11-26 11:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25 20:38 Help using initramfs Mark Jackson
2008-11-25 21:00 ` H. Peter Anvin
2008-11-26 10:51   ` Mark Jackson
2008-11-26 11:27     ` Mark Jackson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=492D32A5.2060300@mimc.co.uk \
    --to=mpfj@mimc.co.uk \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mrustad@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.