public inbox for gentoo-releng@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-releng] multiple kernels on one livcd?
@ 2004-02-16 13:21 Pieter Van den Abeele
  2004-02-16 15:44 ` Brad House
  2004-02-16 16:54 ` Benjamin Judas
  0 siblings, 2 replies; 3+ messages in thread
From: Pieter Van den Abeele @ 2004-02-16 13:21 UTC (permalink / raw
  To: gentoo-releng

Hi,

I would like to know if it is possible to create a livecd with multiple 
kernels (smp/non-smp, ...)?
This would be beneficial to the mirrors (G5 live environment = G3G4 
live environment). My older scripts do not allow this, because this 
posed problems with gcloop (module had to be compiled against the 
kernel). I believe this should no longer be a problem with latest 
gcloop, which gets patched into the kernel.

Pieter


--
gentoo-releng@gentoo.org mailing list


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

* Re: [gentoo-releng] multiple kernels on one livcd?
  2004-02-16 13:21 [gentoo-releng] multiple kernels on one livcd? Pieter Van den Abeele
@ 2004-02-16 15:44 ` Brad House
  2004-02-16 16:54 ` Benjamin Judas
  1 sibling, 0 replies; 3+ messages in thread
From: Brad House @ 2004-02-16 15:44 UTC (permalink / raw
  To: gentoo-releng; +Cc: gentoo-releng

yes, catalyst can most definately put multiple kernels on a livecd,
it's very simple as well.  Take a look in
examples/livecd/amd64/amd64-stage2-20040201.spec
And you'll see exactly how to do it.  Also, I committed gcloop and
squashfs support for both genkernel (3.0.1_beta12), and the latest
CVS of catalyst.  I personally couldn't get gcloop working, but
it's very possible there's a problem with amd64 and gcloop.  The
problem occurred when trying to boot, the initrd couldn't properly
echo " " | losetup -e ucl-0 -p0 /dev/loop0 livecd.gcloop
for some reason.  I could not get it to work natively from within
my OS either.  Anyhow, that's a question for lu_zero.

BTW, for gcloop support, set your  cdfs type to 'gcloop' and for
squashfs  to 'squashfs'  .... not that you couldn't have guessed
that ;)

-Brad

> Hi,
>
> I would like to know if it is possible to create a livecd with multiple
> kernels (smp/non-smp, ...)?
> This would be beneficial to the mirrors (G5 live environment = G3G4
> live environment). My older scripts do not allow this, because this
> posed problems with gcloop (module had to be compiled against the
> kernel). I believe this should no longer be a problem with latest
> gcloop, which gets patched into the kernel.
>
> Pieter
>
>
> --
> gentoo-releng@gentoo.org mailing list
>
>
>


--
gentoo-releng@gentoo.org mailing list


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

* Re: [gentoo-releng] multiple kernels on one livcd?
  2004-02-16 13:21 [gentoo-releng] multiple kernels on one livcd? Pieter Van den Abeele
  2004-02-16 15:44 ` Brad House
@ 2004-02-16 16:54 ` Benjamin Judas
  1 sibling, 0 replies; 3+ messages in thread
From: Benjamin Judas @ 2004-02-16 16:54 UTC (permalink / raw
  To: gentoo-releng

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

Am Mo, den 16.02.2004 schrieb Pieter Van den Abeele um 14:21:
> Hi,
> 
> I would like to know if it is possible to create a livecd with multiple 
> kernels (smp/non-smp, ...)?
> This would be beneficial to the mirrors (G5 live environment = G3G4 
> live environment). My older scripts do not allow this, because this 
> posed problems with gcloop (module had to be compiled against the 
> kernel). I believe this should no longer be a problem with latest 
> gcloop, which gets patched into the kernel.
> 
> Pieter

Hi Pieter,

yes, that is possible. However it requires some heavy-fiddling with
3rd-party modules. In the attachment you can see a livecd-stage2 spec
for x86. Should be quite self-explaining.

regards, beejay
-- 
Benjamin Judas                                  http://dev.gentoo.org/~beejay
Gentoo-developer                                        http://www.gentoo.org
Germany

GPG-Public-Key : http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC31DEDD8
Key-Fingerprint : 4E65 AAFE 785B 61D8 E4D9  1671 E017 87B7 C31D EDD8

[-- Attachment #2: x86-livecd-stage2-20040211.spec --]
[-- Type: text/plain, Size: 1553 bytes --]

subarch: x86
version_stamp: 20040211
target: livecd-stage2
rel_type: default
rel_version: 2004.0
snapshot: 20040211
source_subpath: default-x86-2004.0/livecd-stage1-x86-20040211
livecd/cdfstype: zisofs
livecd/archscript: examples/livecd/runscript/x86-archscript.sh
livecd/runscript: examples/livecd/runscript/default-runscript.sh
livecd/cdtar: examples/livecd/cdtar/isolinux-2.08-cdtar.tar.bz2
boot/kernel: gentoo smp
boot/kernel/gentoo/sources: =sys-kernel/xfs-sources-2.4.24-r1
boot/kernel/gentoo/config: examples/livecd/x86/config-2.4.24-x86
boot/kernel/gentoo/packages: nvnet pcmcia-cs linux-wlan-ng slmodem 
boot/kernel/smp/sources: =sys-kernel/gentoo-dev-sources-2.6.1-r1
boot/kernel/smp/config: examples/livecd/x86/config-2.6.1-x86
livecd/unmerge:
	autoconf automake bin86 binutils libtool m4 bison ld.so make perl patch linux-headers man-pages
	sash bison flex gettext texinfo ccache addpatches man groff lib-compat gcc python miscfiles ucl
livecd/empty:
	/var/tmp
	/var/cache
	/var/db
	/var/empty
	/var/cache
	/var/lock
	/tmp
	/usr/portage
	/usr/share/man
	/usr/share/info
	/usr/share/unimaps
	/usr/include
	/usr/share/zoneinfo
	/usr/share/dict
	/usr/share/doc
	/usr/share/ss
	/usr/share/state
	/usr/share/texinfo
	/usr/lib/python2.2
	/usr/lib/portage
	/usr/share/gettext
	/usr/share/i18n
	/usr/share/rfc
	/usr/X11R6/man
	/usr/X11R6/include
	/usr/X11R6/lib/X11/config
	/usr/X11R6/lib/X11/etc
	/usr/X11R6/lib/X11/doc
	/usr/src
	/usr/share/doc
	/usr/share/man
livecd/rm:
	/lib/*.a
	/usr/lib/*.a
	/usr/lib/gcc-lib/*/*/libgcj*
	/usr/X11R6/lib/*.a


[-- Attachment #3: Type: text/plain, Size: 40 bytes --]

--
gentoo-releng@gentoo.org mailing list

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

end of thread, other threads:[~2004-02-16 16:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-16 13:21 [gentoo-releng] multiple kernels on one livcd? Pieter Van den Abeele
2004-02-16 15:44 ` Brad House
2004-02-16 16:54 ` Benjamin Judas

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