1 |
Hello ! |
2 |
|
3 |
I already posted a very short answer dealing with that : |
4 |
the subject was "building a stage 1 iso". |
5 |
Anyway, you needs very few things : |
6 |
1) A booting kernel for your hardware |
7 |
2) a ramdisk similar to the one included in the 'normal' gentoo cd |
8 |
(maybe you will have to include right kernel modules in it to support your hardware) |
9 |
3) the isolinux.bin file which allow to boot from a cd without limitations |
10 |
inherited from the floppy emulation (the limitation is the size of the ramdisk) |
11 |
4) the stages archives you want on this cd (you can also add prebuild packages for example, |
12 |
or some documentation, for example) |
13 |
|
14 |
To generate the iso image, you will have to mkisofs the directorie isolinux and your |
15 |
other files (stage archive, ...) with at least those params : |
16 |
-R -b isolinux/isolinux.bin -c isolinux/isolinux.cat -no-emul-boot -boot-load-size 4 -boot-info-table |
17 |
(You really should have a look at the mkisofs man page) |
18 |
|
19 |
The isolinux must contain |
20 |
- the kernel (don't name it somathing like foo.img) |
21 |
- the ramdisk : a small filesystem (probably ext2) containing basics tools, required library for those |
22 |
tools, kernel modules, and anything else you want. The ramdisk is very often named someting like 'initrd' |
23 |
or 'initrd.gz' |
24 |
- the isolinux.bin file (a kind of boot sector) |
25 |
- the isolinux.cfg, in which you configure wich kernel and wich ramdisk you may want to use |
26 |
|
27 |
the other directory of the CD are free, for what you want |
28 |
|
29 |
You should have a look at the existing ramdisk : |
30 |
gunzip initrd.gz |
31 |
mount -o loop initrd /mnt/initrd |
32 |
|
33 |
Documentation for isolinux : http://syslinux.zytor.com/ |
34 |
Ramdisk documentation : (from "The Linux Bootdisk HOWTO" |
35 |
http://www.tldp.org/HOWTO/Bootdisk-HOWTO/buildroot.html |
36 |
/usr/src/linux/Documentation/ramdisk.txt |
37 |
/usr/src/linux/Documentation/initrd.txt |
38 |
|
39 |
Now, i am sure it will help (if read ...) |
40 |
|
41 |
Regards |
42 |
|
43 |
sylvain |
44 |
|
45 |
Le Fri, 1 Nov 2002 12:18:28 +0100 |
46 |
Martin Schipany <elcondor+gentoo@×××××.net> a écrit: |
47 |
|
48 |
> |
49 |
> |
50 |
> I want to install gentoo on a compaq proliant DL620-G2 - since this |
51 |
> machine has some strange scsi controller and a gigabit-ethernet, the |
52 |
> ordinary gentoo install-cd does not work. |
53 |
> |
54 |
> has anyone done an installation on such a system yet? if not, where |
55 |
> can I find the source of the gentoo install-cd to make one myself with |
56 |
> the kernel patched to match the (strange) hardware of this server? |
57 |
> |
58 |
> |
59 |
> keep on gentooing ;) |
60 |
> |
61 |
> M. |
62 |
> |
63 |
> ******************************************************************* |
64 |
> * * |
65 |
> * Martin Schipany email: elcondor@×××××.net * |
66 |
> * IRC : ElCondor on channel #diddl * |
67 |
> * * |
68 |
> *****************************************************************' |
69 |
> |
70 |
> @a=(Lbzjoftt,Inqbujfodf,Hvcsjt);$b="Lbssz Wbmm";$b=~y/b-z/a-z/;$c= |
71 |
> " Tif ".@a." hsfbu wj"."suvft pg b qsphsbnnfs". ":\n";$c=~y/b-y/a-z/; |
72 |
> print"\n\n$c ";for($i=0;$i<@a;$i++){$a[$i]=~y/b-y/a-z/;if($a[$i]eq$a |
73 |
> [-1]){print"and $a[$i].";}else{print"$a[$i], ";}}print"\n\t\t--$b\n\n"; |
74 |
> _______________________________________________ |
75 |
> gentoo-dev mailing list |
76 |
> gentoo-dev@g.o |
77 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
78 |
> |
79 |
> __________________________________________________________________ |
80 |
> Haut D_bit: Modem offert soit 150,92 euros rembours_s sur le Pack eXtense de Wanadoo ! |
81 |
> Profitez du Haut D_bit _ partir de 30 euros/mois : http://www.ifrance.com/_reloc/w |
82 |
|
83 |
__________________________________________________________________ |
84 |
Haut Débit: Modem offert soit 150,92 euros remboursés sur le Pack eXtense de Wanadoo ! |
85 |
Profitez du Haut Débit à partir de 30 euros/mois : http://www.ifrance.com/_reloc/w |