[05:58] <CarlFK> cjwatson: yeah, I guess the kernel folks would know... and care, etc.  never mind :)
[12:02] <CIA-8> grub-installer: cjwatson * r792 ubuntu/ (6 files in 3 dirs): merge from Debian 1.39
[12:10] <CIA-8> grub-installer: cjwatson * r793 ubuntu/ (debian/changelog grub-installer):
[12:10] <CIA-8> grub-installer: If using grub2, then use ordinary grub-install for mdadm-managed RAID
[12:10] <CIA-8> grub-installer: /boot rather than trying to implement it ourselves.
[12:14] <CIA-8> grub-installer: cjwatson * r794 ubuntu/debian/changelog: releasing version 1.39ubuntu1
[16:30] <merkur2k> hey all
[16:31] <merkur2k> I am trying to run a script from preseed/late_command that needs to give feedback to the user and might need to ask questions. is there a way to get the installer to let the script be interactive, or is there a better way to do this?
[16:32] <cjwatson> welcome back
[16:32] <cjwatson> what release of Ubuntu are you running? (this is relevant to my answer ...)
[16:32] <merkur2k> intrepid
[16:33] <cjwatson> hmm, can you consider an upgrade to jaunty? it gets a lot easier if you can :)
[16:33] <merkur2k> unfortunately no, not yet. its been a long road getting to intrepid :)
[16:35] <merkur2k> if it is of any interest to you, I am working on an installer for LinuxMCE
[16:36] <cjwatson> that's unfortunate. In that case either some hackiness or some more complex development on your part will be required
[16:36] <cjwatson> the hacky approach would be to try using debconf-disconnect; it won't clean up the terminal very well, and you won't get a sensible terminal type, so you won't be able to run anything full-screen
[16:37] <cjwatson> you prefix a command with that and it runs it with stdio disconnected from debconf
[16:37] <merkur2k> my idea is to provide feedback using dialog
[16:37] <merkur2k> this is the alternate installer btw
[16:37] <cjwatson> you won't be able to do that with intrepid unless you do it the Proper Way
[16:38] <cjwatson> that being to turn your script into a udeb that ships debconf templates and interacts with the user using debconf
[16:38] <cjwatson> (udeb => installer component)
[16:38] <cjwatson> that will give you something that looks just like the rest of the installer
[16:39] <cjwatson> and you'd have all the same facilities
[16:39] <cjwatson> but it's undeniably more work than a preseed/late_command script
[16:39] <merkur2k> that is fine, as long as it fits the needs.
[16:39] <merkur2k> in all my travels looking for preseed info, i havent seen anything about udebs, is there any documentation you can point me to?
[16:43] <cjwatson> http://bazaar.launchpad.net/~ubuntu-core-dev/debian-installer/ubuntu/annotate/head%3A/doc/devel/modules.txt is a technical description, but it assumes you already know about Debian-style packaging
[16:44] <merkur2k> i know a little, but maybe thats enough
[16:44] <cjwatson> basically you build a Debian-style package with some special flags that make it spit out a udeb rather than a deb; the udeb will include some scripts that hook into appropriate places in the installer
[16:45] <merkur2k> one of my attempts was a simple deb that contained nothing but a postinst script
[16:45] <merkur2k> heh
[16:45] <cjwatson> debconf-devel(7) describes how you talk to debconf
[16:47] <cjwatson> the hook that corresponds roughly to preseed/late_command is that you drop a script into /usr/lib/finish-install.d/
[16:48] <cjwatson> the file name should start with a number between 00 and 99 - you'll probably want it to be quite small, preseed/late_command runs at 07
[16:49] <cjwatson> you write a debian/YOURPACKAGENAME.templates file describing the various dialogs you want to display
[16:49] <merkur2k> ideally i want to run this after all packages are installed, but before any changes have been made to apt sources.list
[16:51] <cjwatson> /etc/apt/sources.list is modified before all packages are installed, so that isn't possible ;-)
[16:51] <cjwatson> could you be more precise?
[16:52] <merkur2k> well i will be installing a number of packages from an extras pool on the cd, i just want to prevent it from downloading any newer ones that might happen to exist in the repositories
[16:52] <cjwatson> where does your user interaction come in?
[16:53] <merkur2k> right now there isnt any, but depending on how many network cards are detected it may need to ask the user some questions
[16:54] <merkur2k> a few of the steps take a very long time to run too, just want to let the user know whats going on
[16:54] <cjwatson> could those questions just be asked in the config/postinst script for some package installations?
[16:54] <cjwatson> what takes a long time other than package installation?
[16:54] <cjwatson> (if anything)
[16:55] <merkur2k> at one point it tarballs most of the system, for use as a diskless boot nfs root later
[16:55] <merkur2k> that takes awhile :)
[16:55] <cjwatson> I think it would help me if you could explain everything you're trying to do in one go, rather than in bits and pieces
[16:56] <cjwatson> you see, what I'm trying to do here is to see whether I can advise you of existing hooks that you could use, which would make your life simpler
[16:56] <cjwatson> you don't necessarily have to do everything in one piece
[16:56] <cjwatson> for instance, there are certainly existing hooks for installing extra packages, which take care of displaying progress information and so on ...
[16:57] <merkur2k> as far as i am concerned the existing install script itself for this project is a huge kludge and im just trying to hack something together so we can get a beta out the door. i am sure the "right" way is to make more use of pre- and post- install actions in the debs
[16:58] <merkur2k> but as to what it actually does... hmmm
[16:58] <purefusion> evand1, mind if I bug you about installing to usb?
[16:58] <evand1> purefusion: bug away
[16:58] <merkur2k> its really just installing a bunch of packages, with some glue shell script bits inbetween
[16:59] <purefusion> evand1, there doesn't seem to be any clear-cut instructions on this page: https://wiki.ubuntu.com/usb-creator
[17:00] <purefusion> ah, I think I clicked too early
[17:00] <purefusion> didn't realize it was a GUI utility :)
[17:00] <merkur2k> we have been desparately trying to attract qualified developers to the project, but it hasnt been happening :(
[17:01] <cjwatson> merkur2k: the bunch of packages could fairly easily be installed using the pkgsel/include hook, assuming that you also set up /etc/apt/sources.list using apt-setup's preseeding facilities
[17:01] <cjwatson> that'll make the rest of the problem a lot simpler, I'm sure
[17:01] <purefusion> wait, am I confusing Live USB Creator and USB Creator, evand1?
[17:02] <evand1> purefusion: liveusb-creator is Fedora's tool
[17:02] <evand1> but it's in the Ubuntu archive, I believe
[17:02] <purefusion> ah, ok... so I've got the live disc for 9.04 running, how do I use your utility? command line?
[17:03] <evand1> System -> Administration -> USB Startup Disk Creator
[17:03] <purefusion> ok
[17:04] <merkur2k> cjwatson: that may help, thanks
[17:04] <purefusion> is it possible to install grub on its own, right to the hdd without installing ubuntu on the hdd itself?
[17:04] <purefusion> (separate topic)
[17:06] <evand1> purefusion: sudo grub-install /dev/THE_DEVICE
[17:07] <purefusion> THE_DEVICE being the active partition of the main hdd, right?
[17:07] <purefusion> or do I need to install it to the boot sector?
[17:07] <cjwatson> either is possible, although there are lots of hidden gotchas with installing to a partition
[17:17] <merkur2k> cjwatson: as an example of one of the weird things this install script does, it creates a temporary /etc/default/nis file for the express purpose of preventing ypbind starting after it is installed
[20:17] <flaviosnm> could some  help me with ERROR 5 - ubuntu installation??
[20:21] <flaviosnm> could some  help me with ERROR 5 - ubuntu installation??
[20:27] <flaviosnm> Does any one know how to repair error 5 during installation? when it has 24% it drop and i have to reboot the machine
[20:27] <charlie-tca> !patience
[20:29] <flaviosnm> sorry. it is my first time here....
[20:29] <charlie-tca> no problem
[20:30] <charlie-tca> Almost everybody is a volunteer, and a lot of people are working.
[20:33] <flaviosnm> ok charlie. I will waiting and searching. thanks
[21:10] <NCommander> cjwatson_, any good ideas on what would cause the ia64 livecd to dump into d-i instead of starting the image?
[21:41] <cjwatson_> NCommander: I expect it either doesn't have the correct initrd on the CD, or the boot loader is configured to boot the wrong initrd
[21:42] <NCommander> cjwatson_, are there any architecture specific bits outside of the kernel needed to start the CD?
[21:43] <davmor2> cjwatson_: is it known that ubiquity in karmic has underscores on quit back and forward?
[21:44] <cjwatson> NCommander: kernel, initrd, boot loader
[21:44] <cjwatson> NCommander: should all be in debian-cd/tools/boot/karmic/boot-ia64
[21:44] <cjwatson> davmor2: not by me :)
[21:45] <NCommander> cjwatson, woo, sounds like I get the fun of setting up ubuntu-cd \o/!
[21:46] <NCommander> and setting up a livefs builder
[21:46] <davmor2> cjwatson: http://www.davmor2.co.uk/_install.png
[21:46] <cjwatson> ok, guess somebody gets the fun of debugging that at some point :)
[21:47] <davmor2> cjwatson: should I put a bug together so it doesn't get forgotten?
[21:47] <cjwatson> please do, yes
[21:48] <davmor2> np's
[21:54] <davmor2> cjwatson: bug 399005 I added the png to :)
[22:13] <davmor2> cjwatson: on intel because the kms is in the text for hit enter and eject cd are tiny is there anyway this can be altered or is it a set font size?
[22:15] <cjwatson> don't know, sorry
[22:15] <cjwatson> it's probably in the usplash theme
[22:16] <CIA-8> user-setup: cjwatson * r194 ubuntu/ (debian/changelog user-setup-apply):
[22:16] <CIA-8> user-setup: If a root user is being created so we aren't in sudo mode, configure
[22:16] <CIA-8> user-setup: libgksu to use su rather than sudo.
[22:18] <davmor2> cjwatson: ta :)
[22:23] <CIA-8> partman-lvm: cjwatson * r1217 ubuntu/ (choose_partition/lvm/do_option lib/lvm-base.sh): offer free space for automatic PV setup as well
[22:31] <CIA-8> partman-lvm: cjwatson * r1218 ubuntu/lib/lvm-base.sh: local variable tidy-up
[22:41] <CIA-8> partman-lvm: cjwatson * r1219 ubuntu/choose_method/lvm/choices: choose_method/lvm/choices needs lvm-base.sh, not just base.sh
[22:43] <CIA-8> partman-md: cjwatson * r931 mdcfg-merge/choose_partition/md/choices: drop requirement for mdcfg to exist
[23:14] <xivulon> evand hi