List Info

Thread: Re: custom kernel args




Re: custom kernel args
country flaguser name
United States
2007-05-18 17:02:53
On Fri, 2007-05-18 at 14:59 -0600, Stephen Ward wrote:
> I've built a CD for the Apple PPC platform, and it
works great except
> for one thing.   If I run
lshw, it hangs the whole system when it
> comes to the point of doing some framebuffer stuff. 
I've found that
> if I pass "video=ofonly" to the kernel, then
lshw works just fine.  Is
> there a line I can change in one of my spec files to
cause that video
> argument to be build in to my CD?  I don't want to have
to type it in
> manually each time I boot. 
> 
> I've poked around in some catalyst files, and I've
found
> "custom_kopts" in bootloader-setup.sh, but I
don't know how to control
> that.  Any hints?

Yes.  Read the documentation.

From
/usr/share/doc/catalyst-2.0.4/examples/livecd-stage2_templat
e.spec:

# This is a set of arguments that get passed to the
bootloader for your CD.  It
# is used on the x86/amd64 release media to enable keymap
selection.
# example:
# livecd/bootargs: dokeymap
livecd/bootargs:

-- 
Chris Gianelloni
Release Engineering Strategic Lead
Alpha/AMD64/x86 Architecture Teams
Games Developer/Council Member/Foundation Trustee
Gentoo Foundation
Re: custom kernel args
user name
2007-05-18 17:06:52
On 5/18/07, Chris Gianelloni < wolf31o2gentoo.org">wolf31o2gentoo.org> wrote:
On Fri, 2007-05-18 at 14:59 -0600, Stephen Ward wrote:
>; I've built a CD for the Apple PPC platform, and it works great except
>; for one thing.  &nbsp;If I run lshw, it hangs the whole system when it
> comes to the point of doing some framebuffer stuff.&nbsp; I&#39;ve found that
>; if I pass "video=ofonly&quot; to the kernel, then lshw works just fine. ; Is
&gt; there a line I can change in one of my spec files to cause that video
> argument to be build in to my CD? &nbsp;I don't want to have to type it in
> manually each time I boot.
>
> I've poked around in some catalyst files, and I've found
> "custom_kopts&quot; in bootloader-setup.sh, but I don't know how to control
&gt; that. ; Any hints?

Yes. &nbsp;Read the documentation.

From /usr/share/doc/catalyst-2.0.4/examples/livecd-stage2_template.spec:

# This is a set of arguments that get passed to the bootloader for your CD. &nbsp;It
# is used on the x86/amd64 release media to enable keymap selection.
# example:
# livecd/bootargs: dokeymap
livecd/bootargs:

Thank you!  I knew it had to be there somewhere.  I've been staring at so many random things today, I must have gotten cross-eyed and missed what was right in front of my nose.

Thanks again,
Stephen Ward

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )