1 |
Hi, |
2 |
We've made a lot of progress on livecds in the past couple of weeks. |
3 |
Catalyst is now able to build all steps minus the actual mkisofs |
4 |
call, which I have provided a x86-isogen.sh script to assist those |
5 |
people who are not familiar with mkisofs. This script works for both |
6 |
x86 and amd64, and should be called from _within_ the cdroot directory |
7 |
of the livecd stage3 (and will create a gentoo.iso in the parent directory). |
8 |
|
9 |
The good news is the cd boots, gets through the initrd which mounts the |
10 |
loopback filesystem that catalyst creates, and execs /sbin/init which |
11 |
starts up the standard gentoo boot process. But what happens after that |
12 |
is the scripts that are part of baselayout are not properly detecting |
13 |
that we're booting a livecd, so we get oddities: |
14 |
|
15 |
1) It tries to run fsck on our tmpfs filesystem which is where the |
16 |
root is mounted, obviously this should not be done :/ It obviously |
17 |
fails, and you have to hit CTRL-D to continue the boot process. |
18 |
|
19 |
2) (after fsck stuff) You'll see a lot of error messages about it trying |
20 |
to write to /lib. The reasons for these failures is /lib is a symlink |
21 |
back to the /lib directory of the _readonly_ loopback filesystem, so |
22 |
it can not be written to. I do not believe whatever is trying to write |
23 |
to /lib is necessary, so it may be able to be commented out. If it does |
24 |
prove to be something necessary, let me know, as I'll have to rework some |
25 |
of the way the initrd works, as it's what populates the tmpfs rw (read/write) |
26 |
filesystem, and I'll have to probably copy rather than symlink the /lib |
27 |
dir. |
28 |
|
29 |
3) It does not auto-login, you get a root prompt, but no root password |
30 |
is set. I assume we need to provide a proper mingetty, and autogen |
31 |
a random root password. |
32 |
|
33 |
Also, please note that a lot of these scripts may also be able to use |
34 |
the $CDBOOT variable, and the reason for the failures is that that variable |
35 |
is not set in the environment. We need to have something at the beginning |
36 |
of the boot process parses the kernel command line /proc/cmdline and looks |
37 |
for 'cdroot' if it exists, then export the $CDBOOT variable (please note |
38 |
cdRoot vs cdBoot) |
39 |
|
40 |
We need volunteers to help out, I am limited on time, and so is drobbins. |
41 |
Hand it to drobbins though, he's devoted a lot of time to getting catalyst |
42 |
up and running, what's left is totally outside the scope of catalyst. |
43 |
|
44 |
Please reply to this e-mail if you have time to devote to this. |
45 |
|
46 |
Also, please note, you may need to KEYWORD genkernel-3.0.1_beta4 for |
47 |
your arch if it is not already (keyword it as STABLE, otherwise catalyst |
48 |
won't use it). _beta4 is the only working genkernel release for livecds. |
49 |
|
50 |
Thank you very much! |
51 |
|
52 |
-Brad |
53 |
|
54 |
-- |
55 |
gentoo-releng@g.o mailing list |