Gentoo Archives: gentoo-installer

From: Preston Cody <codeman@g.o>
To: gentoo-installer@l.g.o
Subject: [gentoo-installer] Major GLI Redesign!
Date: Wed, 18 Oct 2006 01:20:22
Message-Id: 5c18b7fe0610171819q4582eda4l6501b8d96a9e4fc1@mail.gmail.com
1 Greetings and salutations,
2 In GLI's 2.5 years or so of existence, we have achieved almost all of
3 the goals of the project. The first main goal of GLI was to make a
4 fully automated installation program that would work off of profiles,
5 be non-interactive, and architecture-generic. The other main goal was
6 to make an installer that could be used by end users for their
7 desktops without having to know XML and with pretty, easy-to-use
8 frontends that would help boost the reputation of Gentoo as not just a
9 super-l33t distro.
10
11 We have struggled and faught hard to achieve both goals at the same
12 time, but alas they are simply too different to be able to handle both
13 and do a *good job* at both.
14 The main problem, as was to be expected, is partitioning. Andrew
15 Gaffney has spent ages working on trying to support every insaine and
16 idiotic combination of partitions that users try to create, but there
17 are millions of combinations and the simple truth is we can't do it
18 right for everyone, and we're tired of the endless stream of people
19 complaining why their drive with 6 primaries isn't being supported.
20 Also, with the current partitioning, it is extremely hard to support
21 raid or lvm or other architectures in general for that matter.
22
23 After seeing the simplicity and ease of Quickstart, the solution
24 became clear: admit failure and split/branch GLI. So here's the plan:
25
26 Quickstart will become the primary method for automated installations.
27 It is designed to be able to be netbooted and will be the installer
28 integrated into Scire. It may also be added to the minimal livecd at
29 some point (why not, right?). Quickstart works with blank drives
30 only, and is not too user-friendly. Currently no frontend or
31 configurator exists though I have plans for a web-based one that will
32 plug in to Scire nicely.
33
34 GLI will be refactored to become slightly more interactive. There
35 will probably be about four main steps/stopping points/actions that
36 will occur.
37 1. Setup networking, logfiles, chroot_dir and such.. i.e. all the
38 client_configuration stuff. This already is done interactively from
39 the two main frontends. We can thus chuck the entire client_profile
40 (yea!!!!)
41 2. Drop to cfdisk or diskdruid to let the user do partitioning and
42 probably filesystem formatting too. This lets the user deal with
43 partitioning themselves and thus we don't get the blame when they
44 screw it up! :)
45 3. Define mountpoints.. these will replace the partition layout in the
46 install profile. Then we fetch/install the stage tarball and/or
47 portage. We will still keep the dynamic stage3 (as well as making
48 command-line tools for its use), because the installer-livecd isn't
49 changing. Having this step separate lets us choose profiles and
50 gather updated info about things like USE flags.
51 4. Everything else. There really isn't much benefit to separate out
52 the rest of the steps. We'll let people drop to a shell to make their
53 own kernel config, but I don't see much beyond that and I still like
54 the ability to configure at once and then let it go for a while.
55
56 These changes will drastically simplify the partitioning code and make
57 GLI much easier to port to other architectures.
58
59 The plan is to release a version of GLI like it is now with bugfixes
60 only for 2007.0 and target the new GLI (god forbid, should we call it
61 GLI 2.0? <cringe>) for 2007.1. If enough progress has been made, we
62 can try to put an experimental copy on the livecd and hide it (doesn't
63 make much sence to have an entirely different /experimental livecd
64 just for that). The new GLI will be written first and foremost with
65 gli-dialog as the frontend. The GTK frontend is quite bloated and a
66 pain to change and maintain, so it may disappear entirely and that is
67 ok by the installer devs.
68
69 That's about it, if you have any questions/comments, feel free to post
70 them. This list has like no traffic so it could use some discussion
71 every once and awhile.
72 Have a pleasant day,
73
74 -Codeman
75 -Installer Project Co-Lead.
76 --
77 gentoo-installer@g.o mailing list

Replies

Subject Author
Re: [gentoo-installer] Major GLI Redesign! Andrew Nishihira <andrewmorio@×××××.com>
Re: [gentoo-installer] Major GLI Redesign! Chris Gianelloni <wolf31o2@g.o>