[SOLVED] Re: Re: Problem with kernel image in a Prep Boot on PowerPC

From: Márcio Oliveira
Date: Thu Aug 25 2005 - 21:57:17 EST




John W. Linville wrote:

On Wed, Aug 24, 2005 at 02:52:44PM -0300, Márcio Oliveira wrote:



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



Of course...I meant I don't know of anything like that for PPC.



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 ?).



Probably just in your .config file:

cp arch/ppc64/defconfig .config
vi .config # Change CONFIG_CMDLINE here
make oldconfig



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.



Cool...I think you will like having that as an option.

John


John,

I made the changes in the kernel that you recomended and the server boots ok!

Thank's a lot.

Márcio Oliveira.


-
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/