public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] LiveCD without Initrd
@ 2009-11-27 13:49 Shinkan
  2009-11-27 17:36 ` Andrew Gaffney
  0 siblings, 1 reply; 3+ messages in thread
From: Shinkan @ 2009-11-27 13:49 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 671 bytes --]

Hi again,

I would like to build a stage2 livecd which would contain a kernel without
initrd.
I saw it is possible to specify genkernel options in spec file, so I put
"--static", but how can I be sure Catalyst will not put any initrd reference
in grub or things like this.

I would like to do this because I know my hardware targets so I do not want
a "Gentoo LiveCD" like initrd which loads almost every possible driver at
boot.

I'm open if is there's another solution than bypassing initrd.

-- 
Pierre.
"Sometimes when I'm talking, my words can't keep up with my thoughts. I
wonder why we think faster than we speak. Probably so we can think twice." -
Bill Watterson

[-- Attachment #2: Type: text/html, Size: 775 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-catalyst] LiveCD without Initrd
  2009-11-27 13:49 [gentoo-catalyst] LiveCD without Initrd Shinkan
@ 2009-11-27 17:36 ` Andrew Gaffney
  2009-11-27 18:07   ` Shinkan
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Gaffney @ 2009-11-27 17:36 UTC (permalink / raw
  To: gentoo-catalyst

On 11/27/2009 07:49 AM, Shinkan wrote:
> Hi again,
> 
> I would like to build a stage2 livecd which would contain a kernel
> without initrd.

The CD will not boot without an initramfs. The linuxrc in it is what mounts the
squashfs on the ISO and calls switch_root.

-- 
Andrew Gaffney                                 http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer            Catalyst/Genkernel + Release Engineering Lead



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-catalyst] LiveCD without Initrd
  2009-11-27 17:36 ` Andrew Gaffney
@ 2009-11-27 18:07   ` Shinkan
  0 siblings, 0 replies; 3+ messages in thread
From: Shinkan @ 2009-11-27 18:07 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

2009/11/27 Andrew Gaffney <agaffney@gentoo.org>

> On 11/27/2009 07:49 AM, Shinkan wrote:
> > Hi again,
> >
> > I would like to build a stage2 livecd which would contain a kernel
> > without initrd.
>
> The CD will not boot without an initramfs. The linuxrc in it is what mounts
> the
> squashfs on the ISO and calls switch_root.
>

Right, silly me ...

Anyway, passing "--static" to genkernel gives a working boot sequence with
no modules.
Thanks.


>
> --
> Andrew Gaffney
> http://dev.gentoo.org/~agaffney/ <http://dev.gentoo.org/%7Eagaffney/>
> Gentoo Linux Developer            Catalyst/Genkernel + Release Engineering
> Lead
>
>


-- 
Pierre.
"Sometimes when I'm talking, my words can't keep up with my thoughts. I
wonder why we think faster than we speak. Probably so we can think twice." -
Bill Watterson

[-- Attachment #2: Type: text/html, Size: 1484 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-27 18:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-27 13:49 [gentoo-catalyst] LiveCD without Initrd Shinkan
2009-11-27 17:36 ` Andrew Gaffney
2009-11-27 18:07   ` Shinkan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox