/srv/irclogs.ubuntu.com/2008/07/09/#ubuntu-installer.txt

udit99an anyone tell me how to generate a preseed file from an existing ubuntu installation?...like just get a sample answers file from whatever option I chose at install time00:22
cjwatsonudit99: https://help.ubuntu.com/8.04/installation-guide/i386/preseed-creating.html00:35
CIA-1partman-base: cjwatson * r99 ubuntu/ (debian/changelog lib/base.sh):00:44
CIA-1partman-base: Add support for explicit 'b' or 'B' suffixes on partition sizes to force00:44
CIA-1partman-base: interpretation as bytes.00:44
CIA-1partman-base: cjwatson * r100 ubuntu/ (test/conversions debian/changelog debian/rules lib/base.sh): Add a small test suite for longint2human and human2longint.00:46
giosue_ccould someone tell me what the differences between $dist $dist-proposed $dist-security $dist-updates01:23
giosue_cI was noticing that the xubuntu hardy seeds require stuff out of both hardy and hardy-updates01:24
TheMusogiosue_c: $dist-proposed is used for testing packages for stable release updates. $dist-updates is where all tested packages are placed when a stable release update is made available. $dist-security is for security updates.01:26
giosue_cso are the seeds updated as things are promoted to dist-updates?01:26
giosue_cfor example if a new kernel comes out... it will be in $dist-security or $dist-updates and will have a higher version number.  The seeds then have to reference that higher number.01:28
TheMusogiosue_c: The seeds do not reference versions of packages. The seeds only reference package names, and the infrastructure is told whether to fetch packages from -updates or -security as appropriate.01:45
giosue_cbut the kernel module seeds have their versions in the package names.01:51
TheMusogiosue_c: Yes but they have metapackages to refer to them, linux-generic, linux-restricted-modules-generic, etc.01:59
giosue_cTheMuso: Ok.  I'm trying to get everything to make sense to me.  I'm looking at the installer seed in platform.hardy...  I see a line like this:02:04
giosue_c * Kernel-Version: 2.6.24-19-generic02:04
giosue_cThen i noticed that all the modules for that kernel are in hardy-updates02:04
giosue_csooo..  I guess the seeds are updated any time the kernel version is promoted?02:05
TheMusogiosue_c: Yes for the installer they have to be updated.02:24
sorencjwatson: So, you had some other options for implementing the server seed thing?10:43
S[h]O[r]TI'm trying to understand how I would go about loadgin a "preseed/run" script as described here https://help.ubuntu.com/7.04/installation-guide/powerpc/preseed-contents.html#preseed-network. So that I can re-load the network configuration with a static IP as it talks about10:58
S[h]O[r]TBut i'm not sure what I need to exactly place into my preseed to load the script with the arguments it mentions10:59
cjwatsonS[h]O[r]T: does https://help.ubuntu.com/7.04/installation-guide/powerpc/preseed-advanced.html help? you put the script in the same directory as the preseed file, and just give its file name11:02
S[h]O[r]Twhy yes it does :D gonna give it a go right now11:05
* S[h]O[r]T thinks it worked11:12
S[h]O[r]Thave to wait till the install is over to find out11:12
CIA-1casper: cjwatson * r518 casper/ (debian/changelog scripts/casper): Fix mount argument ordering for klibc mount.12:33
CIA-1casper: cjwatson * r519 casper/debian/changelog: releasing version 1.13512:34
cjwatsonsoren: Right. The problem here is that there's no way to preseed tasksel into selecting a given task but still displaying the task question, because it uses the seen flag a bit oddly.12:38
cjwatsonsoren: I think it would be a good thing to fix that anyway ...12:38
cjwatson(ubuntustudio has wanted it in the past)12:38
cjwatsonthe alternative I had in mind does bad things to netboot installations so on reflection probably isn't a great idea12:39
cjwatsonsoren: I don't think there should be something that installs ubuntu-minimal without ubuntu-standard, personally.12:39
sorencjwatson: Well, nor do I.12:43
sorencjwatson: However...12:43
sorenif you read the recent thread on ubuntu-server about this stuff, there seems to be two major camps:12:43
sorenThe ones who want a *really* lean system and the ones who would want the server seed as well.12:44
cjwatsonpeople who want ubuntu-minimal on its own can use debootstrap12:44
sorenAlso, having it only install minimal, would remove the need for a JeOS ISO altogether.12:45
cjwatsondo the ones who want a really lean system really want a system without cron?12:45
sorenYes.12:45
cjwatsonor iptables?12:45
sorenYes.12:45
cjwatsonor ssh?12:45
sorenI'm not kidding.12:45
sorenOh, yes.12:45
cjwatsonthen I have to ask "why?"12:45
sorenssh in particular seemed to annoy them.12:45
cjwatsonwe can't work on "seemed to annoy"12:45
cjwatsonwe need coherent, justifiable reasons12:45
sorenSomething along the lines of not wanting any client tools at all on their servers.12:46
cjwatsonevery option we add here adds overhead, translation requirements, confusion12:46
cjwatsonI think it should be the server team's job to weed out the "requirements" that just don't make sense12:46
sorenYes. That's why I would like to just have one option that installs the server seed, and one option that install minimal, and nothing in between.12:46
sorenIt was a very tiresome debate on the mailing list. Truly.12:47
cjwatsonthis is the trouble with mailing lists ;-)12:47
sorenI ended up concluding to myself that they don't really want a server distro, but just a platform of some sort. That's the only way I can make it make sense in my head.12:47
cjwatsondesign decisions should not be taken by democracy12:47
* soren nods frantically12:48
cjwatsonI can see the argument about removing the need for JeOS, though be careful as that means you need to ship the -virtual kernel and stuff12:49
cjwatsonand usplash12:49
cjwatsonwell, minimal install: as you wish12:49
sorenYes, I'll be putting the -virtual kernel on there.12:50
sorenI also plan to extend the CPU detection code in the install a bit.12:50
cjwatsonok12:50
sorene.g. to choose the virtual kernel based on CPUID..12:50
cjwatsonas long as you extend the test suite too :)12:50
soren:)12:51
cjwatsonso, tasksel. are you OK with having a go at that?12:51
sorenSomeone suggested adding the -generic kernel to the server ISO, too.12:51
soren...since that doesn't require PAE.12:51
sorenSo the installer would need to be taught to make decisions based on that as well.12:51
sorenI'm not sure about that, though.12:51
sorenIt's another 100MB or so, I imagine.12:52
cjwatsonone of the problems with the -server mailing list seems to be that nobody actually checks facts12:52
sorenHahah :)12:52
cjwatsoncjwatson@antimony:~$ grep linux-generic cdimage/www/full/ubuntu-server/daily/current/intrepid-server-i386.list12:52
cjwatson/pool/restricted/l/linux-meta/linux-generic_2.6.26.3.4_i386.deb12:52
cjwatsonit's been there forever12:52
sorenOh, really? Well, then it's just the installer that needs a bit of love.12:52
cjwatsonnow, the default server preseeding rather stomps all over that12:52
sorenYeah.12:52
cjwatsonand the reason for that is to make netboot sensible12:53
cjwatsonnetboot should prefer generic to server, I think (no information about intended profile) while the CD needs to prefer server to generic where possible12:53
sorenRight. It's the "where possible" that needs a bit of readjustment. :)12:53
sorenIt /is/ rather counterintuitive that you can install the system just fine (since that uses the generic kernel), but you can't boot it when you're done, if you have a non-pae capable system.12:55
cjwatsonyes, it's a bug12:56
cjwatsonthat was a rather cheesy base-installer hack. Fabio made me do it12:57
cjwatson;-)12:57
sorenOh, it's on purpose?12:57
cjwatsonerr, in the sense that I knew I was introducing the bug, yes12:57
sorenAh :)12:57
cjwatsonnot in the sense that I think it's a good idea12:57
cjwatsonit's done by simply overriding base-installer's idea of the right kernel to install and saying "always install -server"12:58
sorenWell, if a big Italian dude was standing next to me telling me to do things... y'know..12:58
soren:)12:58
sorenRight.12:58
sorenHmm... Why /is/ the generic kernel .deb on the server cd?12:59
sorenIs there any way (without dropping to a shell) to actually install it?13:00
cjwatsonwhy as in mechanism, or why as in reason?13:00
cjwatsonthe mechanism is that it's in the boot seed13:00
cjwatsonreason: surely server people are not typically scared of shells13:00
sorenHeh :)13:01
sorenThat's true.13:01
sorenOk, so to get back to the server seed..13:02
sorenWhat can we do instead of installing the a new server task? Install an ubuntu-server meta package through pkgsel?13:03
cjwatsonwe could fix tasksel13:05
cjwatsonhonestly, I think that's the best approach13:05
cjwatsonpkgsel/include is supposed to be reserved for the user and I don't think we should use it in CD preseeding13:05
sorenOk.13:06
sorenSo the bug is... what? If the question hasn't been seen, it clears the list of selected packages, and if it has been seen, the user doesn't get to choose additional tasks?13:07
cjwatsonthe bug is that it does not distinguish preseeded-and-marked-seen from preseeded-and-not-marked-seen13:07
cjwatsonif tasksel/first is marked seen, then it should just do what it says without asking the question (it does this now)13:08
cjwatsonif tasksel/first is preseeded but not marked seen, then it should use that as the default but ask the question13:08
sorenRight.13:08
cjwatsontasksel/tasks is potentially different because that's what's used when you re-run tasksel, and seen flag handling is not really what you want there13:09
cjwatsonbut for tasksel/first it should use installer-style seen flag handling13:09
sorenis any of this something you'll be looking at?13:09
cjwatsonnot this month ...13:10
sorenOk.13:11
sorenI'll try to squeeze it in myself, then.13:11
CIA-1ubiquity: cjwatson * r2694 ubiquity/debian/changelog: line length17:33
CIA-1ubiquity: cjwatson * r2695 ubiquity/debian/ (changelog ubiquity.install-any): Update file name for apt-setup 1:0.32.17:37
CIA-1ubiquity: cjwatson * r2696 ubiquity/debian/ (changelog ubiquity.install-any): Add apt-setup local generator to improve preseeding facilities.17:38

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!