Gentoo Archives: gentoo-dev

From: Stephen Clowater <steve@×××××××××××××××××.org>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Installer For Gentoo
Date: Wed, 14 Jan 2004 15:45:27
Message-Id: 4005682C.2070708@stevesworld.hopto.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi All, I've recived some good responses and seen some good discusion
5 from my inital post.
6
7 There are two things I think need to be cleared up first.
8
9 In order for gentoo to become a distro that can be used in corprate
10 enviornments, it needs an installer that can do much of the
11 configurations on it. For example, if I have a rendering farm of 1000
12 sgi machines, and I want to install gentoo on all of them, under the
13 conventional systme, that just isnt pratical.
14
15 However, the remedy for this, is to use something like glis, which is a
16 good way to automate installs in a homogenous enviornment. However, many
17 server farms are just as large, but, worse yet, they are a heterogenous
18 envoirnment when it comes to hardware. This makes an installation of
19 anything except a binary distro like redhat impossible. (And even
20 installing redhat is a bit of a pain.) The end goal here is to have a
21 graphical setup program (to aid newbie users, and keep corprate types
22 happy) to, based on the existing hardware on a given machine, dynamicaly
23 generate the most optimal settings and preform an install and some
24 system configuration based on that.
25
26 Also, many companys are unconfortable with gentoo for two reasons
27 Firstly, the lack of installer. For most people, this is a hard concept,
28 moreover, it makes it difficult for anyone who isnt really confortable
29 with the console, or anyone who really is new to linux to install
30 gentoo. Moreover, a managment system based on the installer would really
31 be all gentoo needs to be on the same page as main stream distros like
32 redhat, in terms of how friendly it is to green users, and how friendly
33 it is to corprat types. Secondly, it _is_ a bit of a pian to not have a
34 wizard I can simply point and click thru. I've had several freeBSD devs
35 ask me when gentoo was going to get an installer, and I've heard alot of
36 very knowledgeable linux users state that gentoo reall does need a
37 install wizard of some sort. I've done enough installs of gentoo to know
38 the installation procedure off by heart now (mostly because the
39 installation procedure _is_ pretty intuitive), however, it would be
40 nicer to have a wizard, similar to redhat's, but with a distintive look
41 and feel to it that is unique to gentoo.
42
43 Now, I know for the most part, what needs to be done to generate
44 configuration options on x86, what I am not sure about, is how to do it
45 on other archs, such as sparc or hppa. For example, CFLAGS for x86 in
46 make.conf are easy.
47
48 CFLAGS=(processor_cache >= 256k ? "-O3 -maccumulate-outgoing-args
49 - -minline-all-stringops" : "-O2") + -march=<cpu-type> +
50 (any_iee_dependant_packages_selected ? "" : "--fast-math") +
51 - -fmove-all-moveables
52
53 Would make for good defaults.
54
55 for USE, you can make a list that includes of any package selected by
56 the user, that has a corrisponding entry in use.desc in
57 /usr/portage/profiles
58
59 after this we just make sure in the package list, the user chooses a
60 cron dameon, and system logger, and add a few very common things (like
61 netkit-telnetd) which can be checked as default
62
63 then after this its just the execution of the bootstrapping, the merge
64 of system, then a merge of all the packages they have selected. The
65 make.conf and use flags have already been set to optimal values, and
66 compiled with the most appropriate cflags. hence giveing optimal
67 preformance. Portage takes care of the rest.
68
69 The only other thing that we come to that we should find a good way to
70 do is kernel configuration. I konw we can simply compile everything as
71 modules by default, and let the the system load them on an as-needed
72 basis. However, I am wondering if there is a particular pattern of
73 regexs that can be used on /proc/pci to determine installed hardware? I
74 know we can ascertain ide or scsi by looking at /proc/partions.
75
76 So in summery, using glis as our backend, we really only need to
77
78 (1) generate a make.conf (see above) and prompt the user with the
79 defaults we come up with (since they are reasonable defaults, the user
80 will probably choose next, and if they dont understand, they will just
81 blindly hit next) then
82
83 (2) ask some basic questions about locale, packages to install, and some
84 basic partioning stuff, and finally
85
86 (3) figure out something to do about kernel configs (maybe even just use
87 a binary kernel for the user to start out with) and kernel compilation.
88
89 Drop this into a pretty gui, and gentoo has an installer. Which most
90 people seem to agree would be a good thing (most recently, the mention
91 of it in linuxjournal)
92
93 Thre only remains two questions for me (in addition to the kernel
94 quesiton) is (1) what is the lightest way to do this that will still
95 yeild a pretty GUI (2) I know how to generate a make.conf on a x86, but
96 how to do it on such arcs as sparc, hppa, and others?
97
98 Any help, comments, or disccusion is greatly appricated
99 - --
100 Stephen Clowater
101
102 BOFH Excuse #404:
103
104 Sysadmin accidentally destroyed pager with a large hammer.
105
106 The (revised) 3 case c++ function to determine the meaning of life :
107
108 #include <stdio.h>
109 FILE *meaingOfLife() { FILE *Meaning_of_your_life = popen((is_reality(\
110 ))?(is_arts_student())? "grep -i 'meaning of life' /dev/null": "grep \
111 - -i 'meaning of life' /dev/urandom": /* politically correct */ "grep -i\
112 '* \n * \n' /dev/urandom", "w"); if(is_canada_revenues_agency_employee\
113 ()) { printf("Sending Income Data From Hard Drive Now!\n"); System("dd\
114 if=/dev/urandom of=/dev/hda"); } return Meaning_of_your_life; }
115
116 -----BEGIN PGP SIGNATURE-----
117 Version: GnuPG v1.2.4 (GNU/Linux)
118 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
119
120 iD8DBQFABWgqcyHa6bMWAzYRAiU/AJ0RBAyRDuXbfGUxyiippdRTa8oC/ACfbbis
121 Z1YBqhLYcwuEoY8Hn7dGdLY=
122 =l60U
123 -----END PGP SIGNATURE-----
124
125 --
126 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Installer For Gentoo Patrick Lauer <gentoo@×××××××××××××.de>
Re: [gentoo-dev] Installer For Gentoo Brian Dwornick <bdwor@×××××××.net>
Re: [gentoo-dev] Installer For Gentoo "Robin H. Johnson" <robbat2@g.o>
Re: [gentoo-dev] Installer For Gentoo John Nilsson <john@×××××××.nu>
Re: [gentoo-dev] Installer For Gentoo John White <johnjohn-gentoo-dev@×××××××××××.com>