public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] no stage1 created
@ 2007-10-04 16:51 Robert Šmol
  2007-10-04 16:57 ` Andrew Gaffney
  0 siblings, 1 reply; 12+ messages in thread
From: Robert Šmol @ 2007-10-04 16:51 UTC (permalink / raw
  To: gentoo-catalyst

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

Hello,
I'm trying to follow the guide at
http://gentoo-wiki.com/HOWTO_build_a_LiveCD_with_Catalyst_for_newbies , I
created snapshot, downloaded stage3, edited spec file  and run:
catalyst -v -f livecd-stage1_template.spec

it was compiling stuff and exited ok

...
 * Messages for package app-editors/vim-7.1.042:

 *
 * Note that the English word lists are no longer installed by
 * default.
 * To install a GUI version of vim, use the app-editors/gvim
 * package.
 * Vim 7 includes an integrated spell checker. You need to install
 * word list files before you can use it. There are ebuilds for
 * some of these named app-vim/vim-spell-*. If your language of
 * choice is not included, please consult vim-spell.eclass for
 * instructions on how to make a package.
 * To see what's new in this release, use :help version7.txt
 * Regenerating GNU info directory index...
 * Processed 80 info files.
removing /var/tmp/catalyst/tmp/default/livecd-stage1-i686-2007.1/tmp/chroot-
functions.sh from the chroot
--- Running action sequence: unbind
--- Running action sequence: clean
Cleaning chroot: /etc/resolv.conf...
Cleaning chroot: /var/tmp/*...
Cleaning chroot: /tmp/*...
Cleaning chroot: /root/*...
Cleaning chroot: /usr/portage...
--- Running action sequence: clear_autoresume
Removing AutoResume Points: ...
Emptying directory /var/tmp/catalyst/tmp/default/.autoresume-
livecd-stage1-i686-2007.1/
lockfile does not exist '/var/tmp/catalyst/tmp/default/livecd-
stage1-i686-2007.1/.catalyst_lock'
lockfile does not exist '/var/tmp/catalyst/tmp/default/livecd-
stage1-i686-2007.1/.catalyst_lock'

However no livecd-stage1 was created.

localhost catalyst # ll /var/tmp/catalyst/builds/
total 105424
    rw-r--r-- 1 root root 107951479 Apr 20 02:21 stage3-x86-2007.0.tar.bz2

This is my spec file.

localhost catalyst # cat /etc/catalyst/livecd-stage1_template.spec |grep -v
"#"
subarch: i686
version_stamp: 2007.1
target: livecd-stage1
rel_type: default
profile: default-linux/x86/2007.0
snapshot: virge_snapshot
source_subpath: stage3-x86-2007.0
portage_confdir: /etc/portage
pkgcache_path: /tmp/packages
livecd/use: -* ipv6 socks5 livecd fbcon ncurses readline ssl branding
livecd/packages: livecd-tools dhcpcd acpid apmd syslog-ng parted dosfstools
nfs-utils jfsutils xfsprogs e2fsprogs reiserfsprogs ntfsprogs pwgen screen
iputils hwsetup lvm2 evms vim mdadm ethtool


Do I miss anything obvious (I have 2.0.5_pre3 installed)?

Thank you

Robert Smol

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

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

* Re: [gentoo-catalyst] no stage1 created
  2007-10-04 16:51 [gentoo-catalyst] no stage1 created Robert Šmol
@ 2007-10-04 16:57 ` Andrew Gaffney
  2007-10-04 19:11   ` Nelson Batalha
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Gaffney @ 2007-10-04 16:57 UTC (permalink / raw
  To: gentoo-catalyst

Robert Šmol wrote:
> Hello,
> I'm trying to follow the guide at 
> http://gentoo-wiki.com/HOWTO_build_a_LiveCD_with_Catalyst_for_newbies , 

There's your first problem.

> However no livecd-stage1 was created.

What are you expecting?

> Do I miss anything obvious (I have 2.0.5_pre3 installed)?

Yes, you're missing knowledge of what livecd-stage1 actually does. livecd-stage1 
is nothing but "part 1" of the livecd creation process. It doesn't actually 
create anything. You need to complete a livecd-stage2 build to actually get an 
ISO output.

-- 
Andrew Gaffney                                 http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer             Catalyst/Installer + x86 release coordinator
-- 
gentoo-catalyst@gentoo.org mailing list



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

* Re: [gentoo-catalyst] no stage1 created
  2007-10-04 16:57 ` Andrew Gaffney
@ 2007-10-04 19:11   ` Nelson Batalha
  2007-10-04 19:29     ` Robert Šmol
  2007-10-05 14:10     ` Andrew Gaffney
  0 siblings, 2 replies; 12+ messages in thread
From: Nelson Batalha @ 2007-10-04 19:11 UTC (permalink / raw
  To: gentoo-catalyst


Citando Andrew Gaffney <agaffney@gentoo.org>:
> Robert Šmol wrote:
>> Hello,
>> I'm trying to follow the guide at  
>> http://gentoo-wiki.com/HOWTO_build_a_LiveCD_with_Catalyst_for_newbies  
>> ,
>
> There's your first problem.

I wrote that guide, there's no problem there.

>> However no livecd-stage1 was created.
>> localhost catalyst # ll /var/tmp/catalyst/builds/
>> total 105424
>> rw-r--r-- 1 root root 107951479 Apr 20 02:21 stage3-x86-2007.0.tar.bz2

The things built in the livecdstage1 are in the tmp folder. You're fine.
--
gentoo-catalyst@gentoo.org mailing list



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

* Re: [gentoo-catalyst] no stage1 created
  2007-10-04 19:11   ` Nelson Batalha
@ 2007-10-04 19:29     ` Robert Šmol
  2007-10-04 19:35       ` Nelson Batalha
  2007-10-05 14:10     ` Andrew Gaffney
  1 sibling, 1 reply; 12+ messages in thread
From: Robert Šmol @ 2007-10-04 19:29 UTC (permalink / raw
  To: gentoo-catalyst

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

Hi,thanks both of you. I will read more docs and try tomorrow again.

>
> > There's your first problem.
>
> I wrote that guide, there's no problem there.


Right after "The final livecd-stage2"
you write
You $storedir/builds folder should now be populated with the livecd-stage1
you just built,

And I find this a bit confusing.



>> However no livecd-stage1 was created.
> >> localhost catalyst # ll /var/tmp/catalyst/builds/
> >> total 105424
> >> rw-r--r-- 1 root root 107951479 Apr 20 02:21 stage3-x86-2007.0.tar.bz2
>
> The things built in the livecdstage1 are in the tmp folder. You're fine.


Ok, thanks.

--
> gentoo-catalyst@gentoo.org mailing list
>
>

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

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

* Re: [gentoo-catalyst] no stage1 created
  2007-10-04 19:29     ` Robert Šmol
@ 2007-10-04 19:35       ` Nelson Batalha
  2007-10-05 13:03         ` Robert Šmol
  0 siblings, 1 reply; 12+ messages in thread
From: Nelson Batalha @ 2007-10-04 19:35 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Versão da mensagem em texto simples --]
[-- Type: text/plain, Size: 369 bytes --]



  Citando Robert Šmol <smol.robert@gmail.com>: 

>   
> 
>   You $storedir/builds folder should now be populated with the livecd-stage1 you just built,
> 
> And I find this a bit confusing.  

  Lol, sorry I missed that. Errors like this happen everywhere. But I find it nice that the only problem you got was that you didn't find your successful build ;). 

[-- Attachment #2: Mensagem em texto formatado (HTML) --]
[-- Type: text/html, Size: 528 bytes --]

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

* Re: [gentoo-catalyst] no stage1 created
  2007-10-04 19:35       ` Nelson Batalha
@ 2007-10-05 13:03         ` Robert Šmol
  2007-10-05 14:04           ` Andrew Gaffney
  2007-10-05 17:25           ` Chris Gianelloni
  0 siblings, 2 replies; 12+ messages in thread
From: Robert Šmol @ 2007-10-05 13:03 UTC (permalink / raw
  To: gentoo-catalyst

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

OK, I was reading official docs yesterday and it seems there is only
reference guide, but no high level view on how things works together. So
first, thanks for the newbie guide. Is there any documentation about what
exactly is catalyst trying to do at any specific moment?

Anyway:

At livecd-stage2_template.spec you refer to livecd1:

source_subpath:default/livecd-stage1_example-2007.1

and form reference guide:
source_subarch: "Location of seed stage, path relative to
${clst_sharedir}/builds"

and I actually found it at:

/var/tmp/catalyst/tmp/default/

So after I change stage2 config I got error with genkernel:

* Linux Kernel 2.6.22-gentoo-r8 for x86...
* kernel: >> Running mrproper...
* config: Using config from /var/tmp/gentoo.config
*         Previous config backed up to .config.bak
*         >> Running oldconfig...
* kernel: >> Cleaning...
* kernel: >> Making dependencies...
*         >> Compiling 2.6.22-gentoo-r8 bzImage...
*         >> Compiling 2.6.22-gentoo-r8 modules...
* Copying config for successful build to /etc/kernels/kernel-
config-x86-2.6.22-gentoo-r8
* Creating kernel cache
* module-init-tools: >> Configuring
*                    >> Compiling...
*                    >> Copying to cache...
* busybox: >> Configuring...
* busybox: >> Compiling...
* busybox: >> Copying to cache...
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Appending busybox cpio data...
*         >> Appending lvm2 cpio data...
*               LVM2: Adding support (using local static binaries)...
*         >> Appending dmraid cpio data...
* DMRAID: Adding support (compiling binaries)...
* device-mapper: >> Compiling...
*         >> Copying to cache...
* dmraid: >> Configuring...
* dmraid: >> Compiling...
*       >> Copying to bincache...
*         >> Appending evms2 cpio data...
*               EVMS2: Adding support...
*         >> Appending insmod cpio data...
*         >> Appending modules cpio data...
* Creating minimal kernel package
cp: cannot stat `/var/tmp/genkernel/System.map-2.6.22-gentoo-r8': No such
file or directory
* ERROR: Could not copy System.map for the kernel package!


I have sys-kernel/genkernel-3.4.8. Tyring to find System-map* anywhere on
the disk is unsuccessful. Any hints?

Thank you

Robert

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

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

* Re: [gentoo-catalyst] no stage1 created
  2007-10-05 13:03         ` Robert Šmol
@ 2007-10-05 14:04           ` Andrew Gaffney
  2007-10-05 17:25           ` Chris Gianelloni
  1 sibling, 0 replies; 12+ messages in thread
From: Andrew Gaffney @ 2007-10-05 14:04 UTC (permalink / raw
  To: gentoo-catalyst

Robert Šmol wrote:
> OK, I was reading official docs yesterday and it seems there is only 
> reference guide, but no high level view on how things works together. So 
> first, thanks for the newbie guide. Is there any documentation about 
> what exactly is catalyst trying to do at any specific moment?

A more "high level" guide for catalyst will come later as we "stabilize" the 
inner workings of catalyst-2.x and get the reference guide finished.

> Anyway:
> 
> At livecd-stage2_template.spec you refer to livecd1:
> 
> source_subpath:default/livecd-stage1_example-2007.1
> 
> and form reference guide:
> source_subarch: "Location of seed stage, path relative to 
> ${clst_sharedir}/builds"
> 
> and I actually found it at:
> 
> /var/tmp/catalyst/tmp/default/

Well, catalyst actually looks in two places. It will first look under 
/var/tmp/catalyst/tmp/${source_subpath} and try to rsync the contents. If that's 
not found, it will look for /var/tmp/portage/builds/${source_subpath}.tar.bz2 
and try to untar that.

In the case of livecd-stage1->livecd-stage2, there is no .tar.bz2 file, but 
there will be stuff in the first location from the livecd-stage1 build.

> * Creating minimal kernel package
> cp: cannot stat `/var/tmp/genkernel/System.map- 2.6.22-gentoo-r8': No 
> such file or directory
> * ERROR: Could not copy System.map for the kernel package!

You need to stabilize a newer genkernel (3.4.9_preX is fine) in your snapshot. 
This is a bug in genkernel-3.4.8.

-- 
Andrew Gaffney                                 http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer             Catalyst/Installer + x86 release coordinator
-- 
gentoo-catalyst@gentoo.org mailing list



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

* Re: [gentoo-catalyst] no stage1 created
  2007-10-04 19:11   ` Nelson Batalha
  2007-10-04 19:29     ` Robert Šmol
@ 2007-10-05 14:10     ` Andrew Gaffney
  2007-10-05 14:12       ` Andrew Gaffney
  1 sibling, 1 reply; 12+ messages in thread
From: Andrew Gaffney @ 2007-10-05 14:10 UTC (permalink / raw
  To: gentoo-catalyst

Nelson Batalha wrote:
> 
> Citando Andrew Gaffney <agaffney@gentoo.org>:
>> Robert Šmol wrote:
>>> Hello,
>>> I'm trying to follow the guide at 
>>> http://gentoo-wiki.com/HOWTO_build_a_LiveCD_with_Catalyst_for_newbies ,
>>
>> There's your first problem.
> 
> I wrote that guide, there's no problem there.

I was referring to gentoo-wiki in general. However, when I last looked at that 
article on the wiki, there were quite a few "inaccuracies". I fixed a bunch of 
them at the time, but I haven't looked at it since, and I don't recall what they 
were.

-- 
Andrew Gaffney                                 http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer             Catalyst/Installer + x86 release coordinator
-- 
gentoo-catalyst@gentoo.org mailing list



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

* Re: [gentoo-catalyst] no stage1 created
  2007-10-05 14:10     ` Andrew Gaffney
@ 2007-10-05 14:12       ` Andrew Gaffney
  2007-10-05 15:36         ` Robert Šmol
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Gaffney @ 2007-10-05 14:12 UTC (permalink / raw
  To: gentoo-catalyst

Andrew Gaffney wrote:
> Nelson Batalha wrote:
>>
>> Citando Andrew Gaffney <agaffney@gentoo.org>:
>>> Robert Šmol wrote:
>>>> Hello,
>>>> I'm trying to follow the guide at 
>>>> http://gentoo-wiki.com/HOWTO_build_a_LiveCD_with_Catalyst_for_newbies ,
>>>
>>> There's your first problem.
>>
>> I wrote that guide, there's no problem there.
> 
> I was referring to gentoo-wiki in general. However, when I last looked 
> at that article on the wiki, there were quite a few "inaccuracies". I 
> fixed a bunch of them at the time, but I haven't looked at it since, and 
> I don't recall what they were.

Actually, I take that back. It was the "HOWTO build a LiveCD with Catalyst" 
article I was thinking about. I've never looked at your entry. I apologize.

-- 
Andrew Gaffney                                 http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer             Catalyst/Installer + x86 release coordinator
-- 
gentoo-catalyst@gentoo.org mailing list



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

* Re: [gentoo-catalyst] no stage1 created
  2007-10-05 14:12       ` Andrew Gaffney
@ 2007-10-05 15:36         ` Robert Šmol
  2007-10-05 17:27           ` Chris Gianelloni
  0 siblings, 1 reply; 12+ messages in thread
From: Robert Šmol @ 2007-10-05 15:36 UTC (permalink / raw
  To: gentoo-catalyst

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

Thanks for all that. Unmasking genkernel has fixed that issue and now I have
working iso image.

I still have some questions (like how to do my own stage3), but I'll dig
through archives and play with catalyst for now.

It is fantastic tool, guys you rock!

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

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

* Re: [gentoo-catalyst] no stage1 created
  2007-10-05 13:03         ` Robert Šmol
  2007-10-05 14:04           ` Andrew Gaffney
@ 2007-10-05 17:25           ` Chris Gianelloni
  1 sibling, 0 replies; 12+ messages in thread
From: Chris Gianelloni @ 2007-10-05 17:25 UTC (permalink / raw
  To: gentoo-catalyst

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

On Fri, 2007-10-05 at 15:03 +0200, Robert Šmol wrote:
> OK, I was reading official docs yesterday and it seems there is only
> reference guide, but no high level view on how things works together.

The reference guide is for catalyst 1.x and was never updated for
catalyst 2.x, don't use it.

-- 
Chris Gianelloni
Release Engineering Strategic Lead
Alpha/AMD64/x86 Architecture Teams
Games Developer/Foundation Trustee
Gentoo Foundation

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-catalyst] no stage1 created
  2007-10-05 15:36         ` Robert Šmol
@ 2007-10-05 17:27           ` Chris Gianelloni
  0 siblings, 0 replies; 12+ messages in thread
From: Chris Gianelloni @ 2007-10-05 17:27 UTC (permalink / raw
  To: gentoo-catalyst

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

On Fri, 2007-10-05 at 17:36 +0200, Robert Šmol wrote:
> I still have some questions (like how to do my own stage3), but I'll
> dig through archives and play with catalyst for now. 

You take a stage3 tarball as a seed, then build stages 1, 2, then 3, in
order.  One thing to realize is the stages are not very customizable, so
if you're not compiling for a specific architecture/subarch, the only
way to really customize a stage is by modifying the profile which it
uses.  If you want completely customizable stages, you want a stage4.

-- 
Chris Gianelloni
Release Engineering Strategic Lead
Alpha/AMD64/x86 Architecture Teams
Games Developer/Foundation Trustee
Gentoo Foundation

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2007-10-05 17:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-04 16:51 [gentoo-catalyst] no stage1 created Robert Šmol
2007-10-04 16:57 ` Andrew Gaffney
2007-10-04 19:11   ` Nelson Batalha
2007-10-04 19:29     ` Robert Šmol
2007-10-04 19:35       ` Nelson Batalha
2007-10-05 13:03         ` Robert Šmol
2007-10-05 14:04           ` Andrew Gaffney
2007-10-05 17:25           ` Chris Gianelloni
2007-10-05 14:10     ` Andrew Gaffney
2007-10-05 14:12       ` Andrew Gaffney
2007-10-05 15:36         ` Robert Šmol
2007-10-05 17:27           ` Chris Gianelloni

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