public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Márcio Oliveira" <moliveira@latinsourcetech.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Problem with kernel image in a Prep Boot on PowerPC
Date: Wed, 24 Aug 2005 14:52:44 -0300	[thread overview]
Message-ID: <430CB3EC.2000502@latinsourcetech.com> (raw)
In-Reply-To: <20050824163100.GD1100@tuxdriver.com>

John W. Linville wrote:

>On Wed, Aug 24, 2005 at 12:05:25PM -0300, Márcio Oliveira wrote:
>
>  
>
>>  I think the kernel is pointing to the wrong root partiotion. In a x86 
>>box, I can change the kernel root partition in the boot loader (root= 
>>parameter) or using the "rdev" command. In my case, the IBM Power 
>>doesn't have a boot loader (yaboot was replaced by the kernel image) and 
>>the powerpc64 system doesn't have the rdev command (from util-linux 
>>package, the same package on x86 systems have the rdev command!).
>>    
>>
>
>I don't know anything that will do this on a pre-built kernel.  But,
>you should look at CONFIG_CMDLINE_BOOL and CONFIG_CMDLINE in your
>kernel configuration.  That will let you pre-configure the "root="
>command line option.
>  
>
Hi John,

The command rdev can change the default root partition on x86 linux 
systems with pre-built kernels.

About the CONFIG_CMDLINE in the kernel configuration, I found it in lots 
of files in the kernel source tree and I'd like to know which file I 
need to change this value (/usr/src/linux/arch/ppc64/defconfig ?).

>I don't know if ppc64 can use the zImage-style boot wrapper.  If it
>can, that would provide you with an option of modifying the command
>line at boot time if needed.
>  
>
According to this doc: 
http://www-128.ibm.com/developerworks/eserver/library/es-SW_RAID_LINUX.html, 
ppc64 can use zImage-style boot wrapper, so I'm trying it.

>Good luck!
>
>John
>  
>
Thanks John!

Márcio.

  reply	other threads:[~2005-08-24 17:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-24 15:05 Problem with kernel image in a Prep Boot on PowerPC Márcio Oliveira
2005-08-24 16:31 ` John W. Linville
2005-08-24 17:52   ` Márcio Oliveira [this message]
2005-08-24 18:01     ` John W. Linville

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=430CB3EC.2000502@latinsourcetech.com \
    --to=moliveira@latinsourcetech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linville@tuxdriver.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox