On Sun, Mar 29, 2009 at 7:45 PM, Eric Thibodeau <kyron@...> wrote:
> I'll top-post this one since there are some errors in the LiveCD-Howto (a
> mix of two approaches I had). The HOWTO doesn't take clearly into
> consideration the fact that there can actually be 2 resulting CDs (normal
> and minimal). The process goes as follows:
>
> A) Build NFSroot Image:
> 1,2,3: build stage images
> 4: build nfstoot image
> The real PITA here is generally kernel + AuFS related. The package and
> kernel cache deletion steps are _required_ between rebuild, otherwise
> catalyst uses cached packages and things just won't work. There might be new
> features to fix that in newer catalysts.
>
> B) Build LiveCD
> 1,2,3: build stage images selecting the spec files that reflect the
> desired end CD (minimal or with desktop). The main difference are some USE
> flags, I'm not even sure the differentiation is still relevant.
> 4: build livecd-stage1
> 5: a) bind-mount the nfsroot image into the livecd's playgournd
> b) build the livecd-stage2 using catalyst.
>
> The rational behind 5 a) is that the LiveCD is actually built in 5 b) and
> pulls in everything that will reside in
> /var/git/clustering-livecd/catalyst/livecd/2008.0/overlay/ . This is the way
> to include "extra files" in the CD which aren't part of a regular Gentoo
> system.
>
> I'm sorry for the confusion, hope this clarifies the process and answers
> your questions.
>
> Eric
I rebuilt the CD image using these directions, and it was much easier
this time. Although, when I boot the CD it fails to mount the
squashfs and it displays this error:
mount: mounting /dev/loop0 on /newroot/mnt/livecd failed: No such device
Have you run into this problem before? I did have to exclude from the
live CD some packages that where giving me problems, but now that I am
familiar with the build process, I'll go back and see if I can resolve
some of those problems. It is possible I left out something
important.
-Tom
|