=== lemao [n=lemao@24.2.130.50] has joined #ubuntu-installer [01:12] got an Edgy Eft installation issue. Is this the right place to ask? [01:13] it is [01:24] Trying to install Edgy Eft Server in MacBookPro Parallels VM but I am getting the following when booting for the first time after the install: "Unknown interrupt or fault at EIP" [01:24] Then I found this: https://launchpad.net/distros/ubuntu/+bug/71594 [01:24] Now I am stuck trying to replace the kernel from my install to a kernel that was not compiled with HIGHMEM64G support [01:25] so I booted from the install cd again and enter the "rescue" mode [01:25] got shell access [01:26] found many kernel images using apt-cache search linux-image, but dont know which one to use. Tried one that is recommended here: http://forum.parallels.com/post25984-2.html without success [01:26] Any ideas? === mark doesn't [01:47] ok. thanks [04:35] lemao: you probably want linux-image-generic [04:35] (or linux-generic, for all the bits including restricted firmware/drivers) [04:36] that forum post recommends -686, which is gone in edgy, replaced by -generic [04:36] I've shoved that bug over to the right place === jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has joined #ubuntu-installer [10:35] Hi all [10:36] I use kickstart and i want define two kickstart %post section : %post --nochroot ... and %post (with chroot) [10:37] but it seems second doesn't work, can you confirm ? === jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has left #ubuntu-installer [] === jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has joined #ubuntu-installer === allmanj [n=allmanj@66.249.86.140] has joined #ubuntu-installer [11:17] hi all - i was on yesterday looking for help customising debian-installer. Specifically, finding a way to stop it from scanning a mirror === allmanj nods to cjwatson [11:42] bbias === allmanj [n=allmanj@66.249.86.140] has joined #ubuntu-installer === cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer [02:23] jerom1: you only get one, I'm afraid, but that's OK because you can do 'chroot /target foo' in the --nochroot one [02:23] hmm, actually, more than one *should* work [02:24] order of execution is not defined at the moment, though [02:25] if you make them independent of what order they're executed in, then that should be enough; otherwise I'd like a bug report on kickseed [02:25] cjwatson: i see you're alive. do you have time to give me a hand with my problem? [02:25] allmanj: hi. any particular mirror, or all network mirrors, or what? [02:25] and do you want to replace it with a different mirror? [02:25] i want to disable scanning of all mirrors. the idea is that the modified cd could run on a machine without network connectivity (or with limited connectivity) [02:26] the install should be doable from the cd [02:26] i find mention of respecting base_installable when i'm trawling through the code but i'm really at a loss as to how to take advantage of it [02:26] allmanj: preseeding apt-setup/use_mirror to false should disable the normal mirrors [02:27] base_installable isn't what you want [02:27] *gasp* [02:27] there's an apt-setup/use_mirror option? i didn't spot that! [02:27] to disable the security mirrors as well, preseed apt-setup/security_host to the empty string [02:27] one sec while i test... [02:27] I think that should be everything [02:29] i'll find out in a moment. regenerated an iso and attempting to install it on a vmware machine [02:30] as sadly usual, this is probably only "documented" in the source ... [02:31] :( i've tried various techniques to work out preseed options from the source but apparently they're not complete as they didn't yield that one! [02:31] feel free to file a bug on installation-guide about the lack of documentation of apt-setup/use_mirror. apt-setup/security_host is documented though [02:31] look at .templates files [02:31] i spotted that one - have that option set already [02:32] then cross-reference with the source that db_get's them to find out what they do, if the .templates file doesn't say [02:32] (if it doesn't, it usually should) [02:32] cheers [02:32] hopefully i wont need to play with it too much more [02:32] btw - is there an easy way to change the defaults? For example, i want to prompt for the hostname but want a default other than "ubuntu" [02:33] it's installing the base system now, hopefully in a moment i'll see it skipping the scanning of the mirror... [02:34] allmanj: preseed as normal, then 'd-i question/name seen false' in the preseed file [02:35] (after preseeding the value of the question) [02:36] (or if you want to do that for all questions, there's a giant preseed/interactive override - I really just added that for kickstart, though) [02:36] crud. it's still "Scanning the mirror..." :( [02:38] you'll still see that, but it should only be brief? [02:38] nope:( it's sticking there [02:38] oh, when I said that base_installable wasn't what you want, it does need to exist in .disk on the CD [02:38] going through my preseed now [02:38] i.e. apt-setup/use_mirror=false is only functional if /cdrom/.disk/base_installable exists [02:38] it does (it's there by default, right?) [02:38] yes, should be, but it's easy to leave .disk out by accident so I thought I'd check [02:39] it's me being stupid [02:39] forgot to put in boolean [02:39] may be worth booting with DEBCONF_DEBUG=5 and punting the enormous syslog in my direction, if you can't figure it out [02:39] oh, right, cool [02:40] I dunno, half the time I wonder why we bother with having the type in the preseed file format [02:40] but it's probably too hard to change now [02:40] and I think it does matter to debconf a bit more than to cdebconf (which basically doesn't care) [02:42] do you know what package is responsible for setting the hostname? trying to work out what the preseed option i'm looking for is === lemao [n=lemao@c-24-2-130-50.hsd1.ct.comcast.net] has joined #ubuntu-installer [02:59] allmanj: netcfg [02:59] that one should be documented in the installation-guide ... [02:59] yep - spotted it. netcfg/get_hostname [02:59] right [03:00] thanks. btw - i'm not sure i've come accross the full installation guide. can you send me a link? [03:01] it's in the installation-guide-$arch package, e.g. installation-guide-i386 [03:01] the versions on the web are rather out of date at present, I think [03:01] you'll probably find the appendix on preseeding useful [03:02] https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/preseed-contents.html ? [03:02] it's still scanning the mirror:( [03:02] aha, yes, that would do it [03:02] 13:39 < cjwatson> may be worth booting with DEBCONF_DEBUG=5 and punting the enormous syslog in my direction, if you can't figure it out [03:02] that applies, then [03:03] cool - thanks. [03:03] thanks for that link :) I didn't know they'd done that at last [03:04] pasting my preseed options in. maybe you could eyeball them? i'll send you a link in a mo (whenever pastebin wakes up) [03:06] d-i apt-setup/use_mirror boolean false is right, right (sanity check) [03:06] sure [03:06] (to both) [03:06] pastebin is crawling for me. know of another handy way to paste up stuff? [03:07] paste.ubuntu-nl.org? [03:07] there are a bunch of pastebins - I usually just google for pastebin and don't bother remembering a URL [03:07] cheers: http://paste.ubuntu-nl.org/35914/ [03:08] most of those options probably aren't needed. i've been playing around a lot [03:08] will attempt the debug now... [03:09] is this dapper or edgy? [03:09] dapper [03:09] apt-setup/hostname doesn't exist [03:09] anna-install apt-cdrom-setup is definitely weird - that should be done automatically by cdrom-detect [03:09] as in, it's unused? fair enough - shouldn't cause any problems though [03:10] yeah - i was trying some weird things. my logic was that if apt-cdrom-setup provides apt-mirror maybe i can stop apt-mirror from being installed [03:10] or would any of those options cause the problem? [03:10] base-config is dead - remove all that. tzconfig/gmt becomes 'd-i clock-setup/utc boolean true' [03:11] use 'd-i apt-setup/...' rather than 'base-config apt-setup/...' (saves the options hanging around post-reboot, but won't cause this problem) [03:11] apt-setup/another doesn't exist any more [03:11] prebaseconfig becomes finish-install [03:11] anyway, this is just linting - I don't think any of this causes your problem [03:12] in dapper? i'm not seeing finish-install in the packages on the cd... [03:12] oh, you're right, that wasn't renamed until edgy [03:13] not really relevant to this conversation, but folks here may be interested: https://wiki.ubuntu.com/InstallerDevelopment [03:13] it's a fairly quick run-through, but I'd be interested in where it needs to be fleshed out, as I don't have the necessary perspective [03:14] rebooting now with debug set to 5... === jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has left #ubuntu-installer [] [03:20] k - worked out i can use nc with the install system. will get syslog once it gets as far as scanning [03:21] spotted this in the syslog at this point: [03:21] Dec 8 05:51:09 debconf: --> SET apt-setup/use_mirror falseDec 8 05:51:09 debconf: <-- 10 apt-setup/use_mirror doesn't exist [03:21] bit messy - but you see what i mean... [03:27] http://paste.ubuntu-nl.org/35923/ is the syslog [03:27] it's a little on the crazy big side though... [03:35] that's ok, it doesn't exist when the preseeds are being processed because that's done before apt-setup is retrieved [03:38] hmm. what the ... oh, *dapper*. [03:39] crap. it's doable in edgt. [03:39] edgy. [03:39] apt-setup-mirror does seem to have some references to use_mirror [03:39] not in dapper, at least in the source I have [03:40] which is probably canonical since I uploaded it :) [03:40] it's definitely in apt-mirror-setup.templates from the initrd i extracted from the cd? [03:41] apt-mirror-setup isn't in the initrd, so that's doubleplusweird [03:41] from what URL did you download this CD? [03:42] d'oh - ignore me [03:42] i is stupid [03:42] i'm not looking at the initrd [03:42] i'm looking at the debian-installer source [03:42] d'oh [03:42] oh, that would probably be much more current than what you have then [03:42] especially if you're e.g. looking at the upstream d-i source [03:43] i was. looked at the apt-setup source for dapper and you're right, it's not there [03:43] ideas? [03:43] I can think of one horrible, horrible kludge [03:43] i'm listening... === jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has joined #ubuntu-installer [03:44] in a preseed/early_command, write out /usr/lib/base-installer.d/01apt-setup-kludge (remember to make it executable) that does 'rm -f /usr/lib/apt-setup/generators/50mirror.ubuntu' [03:44] you can't just remove it directly in early_command because that's run before apt-setup is retrieved [03:44] but a base-installer hook (or post-base-installer) will do [03:44] this is a smart kludge! [03:44] one moment [03:44] oh, you may have to mkdir /usr/lib/base-installer.d first [03:45] You can do basically anything with preseeding. The only question is how hard it's going to be. :) [03:45] My chroot in post nochroot work fine, thanks. But now when i restart, i have errors : [03:45] unable to mount root device [03:45] kern panic [03:45] unknown block device 0,0 [03:45] (and how much of the installer internals you need to know in order to get it done) [03:46] jerom1: looks like it can't find the initramfs [03:46] check out bootloader configuration and make sure it matches what's on the disk [03:47] thanks, ok i look now [03:48] cjwatson: testing kludge... [03:48] d-i preseed/early_command string mkdir -p /usr/lib/base-installer.d; echo -e '#!/bin/sh\nrm -f /usr/lib/apt-setup/generators/50mirror.ubuntu' > /usr/lib/base-installer.d/01apt-setup-kludge; chmod a+rx /usr/lib/base-installer.d/01apt-setup-kludge [03:50] echo -e probably won't work in busybox; that's a bashism [03:50] oh, no, it does work [03:51] grooviness [03:51] I'd have done (echo '#! /bin/sh'; echo 'rm -f /usr/lib/apt-setup/generators/50mirror.ubuntu') > ... but whatever [03:51] cjwatson : it seems grub is correct [03:52] would the redirect catch output from both commands? silly q. also - i beleive mines a little shorter and neater :p [03:52] jerom1: I'm afraid it's going to be very hard to work this out remotely; this is something you'll probably have to debug yourself [03:52] allmanj: yes, it would given the parentheses [03:53] I just habitually avoid non-POSIX sh, that's all :) [03:53] but no matter [03:53] kludge script appears to have been created correctly [03:53] jerom1: might be worth doing zcat /boot/initrd.img-whatever | cpio -itto make sure it's a correct initramfs [03:53] er, ... | cpio -it [03:54] and it appears to have removed the 50mirror.ubuntu script! [03:54] cjwatson, oki i test now great thanks [03:58] it worked! score! [03:58] that has been bugging me for days! [04:03] this doesn't seem to work: d-i netcfg/get_hostname string console [04:03] d-i netcfg/get_hostname seen false [04:03] i'm sure it's something stupid... [04:07] i have the priority set to critical if that's relevant [04:09] it is - the hostname question's only asked at high [04:09] one of the things you can't really do with preseeding yet is modify the priority at which a question gets asked - that's entirely programmatic [04:10] I'd probably be inclined to drop back to the default priority (high) and preseed anything extra that gets asked as a result [04:16] sounds sensible - thanks [04:45] if i wanted to create a second, unprivileged user, would late_command be the way forward? [05:07] yeah [05:08] chroot /target adduser ... [05:10] groovy. i think i'm fairly happy that i've got the system i wanted. Thanks a million for your hellp - i'd be still scratching my head and frowning a lot without it [05:11] can i use preseeding for packages installed afterwards? it's prompting me for X things... [05:13] no worries. yes, you can, just make sure the owner is the package and not 'd-i' [05:14] should be an example of doing that in the guide, I think ... [05:14] excellent - thanks [05:17] i'll make sure i've double checked the guide in future === davidef [n=davide@host234-1-static.104-80-b.business.telecomitalia.it] has joined #ubuntu-installer === davidef [n=davide@host234-1-static.104-80-b.business.telecomitalia.it] has left #ubuntu-installer [] === jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has left #ubuntu-installer [] === bat0 [n=mcoz@n1-24-205.dhcp.drexel.edu] has joined #ubuntu-installer