1 |
On Monday 02 December 2002 2:30 am, daveman@××××××××××××.net wrote: |
2 |
|
3 |
> This sounds interesting, I figure I'll give a stab at how I might begin to |
4 |
> approach such a thing ;-) |
5 |
> |
6 |
> * Make yourself a loopback filesystem of about 640MB in size and mount. |
7 |
|
8 |
No need for a loopback filesystem. Just chroot into an ordinary directory. |
9 |
|
10 |
> * Mount /var and /tmp and /proc from regular filesystem into your new |
11 |
> filesystem and chroot. |
12 |
> |
13 |
> * Do your regular gentoo install. When your done, perhaps clean out the |
14 |
> /usr/portage area? Unmount. |
15 |
|
16 |
Or mount your /usr/portage from the outer filesystem like you describe above |
17 |
for /proc. I do the same for /usr/src too, since I dont want kernel sources |
18 |
on my livecd |
19 |
|
20 |
* build isolinux. The origin site has a later version than in portage |
21 |
|
22 |
* copy the initrd image from the original livecd. (no need to modify it) |
23 |
|
24 |
* look at the isolinux config file from the original livecd. you might want to |
25 |
tweak it |
26 |
|
27 |
* grep for CDBOOT in the original livecd /etc directory. There are a few |
28 |
baselayout files that have been tweaked from the original portage versions. |
29 |
In this bugzilla entry I suggested it would be nice to standardise this: |
30 |
http://bugs.gentoo.org/show_bug.cgi?id=11330 |
31 |
|
32 |
> * Make an el torito CD.(not entirely sure how to do this part) |
33 |
|
34 |
My build script uses the command: |
35 |
|
36 |
mkisofs -x "/rescuedisk/image/usr/share/doc" -x |
37 |
"/rescuedisk/image/usr/share/man" -o disk.iso -J -r -nobak -b |
38 |
isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 |
39 |
-boot-info-table /rescuedisk/image |
40 |
|
41 |
> * Copy over filesystem image to the CD. |
42 |
> |
43 |
> * I'm thinking you'll probably need a RAMDISK for temporary file storage |
44 |
> and whatnot. |
45 |
|
46 |
The original livecd initrd takes care of all that nicely. |
47 |
|
48 |
> Sounds like it would be a fun project. If someone has already done such a |
49 |
> document it would be very interesting to see. If not, it might be fun to |
50 |
> write. ;-) |
51 |
|
52 |
its on my todo list |
53 |
|
54 |
|
55 |
|
56 |
-- |
57 |
gentoo-dev@g.o mailing list |