[05:58] cjwatson: yeah, I guess the kernel folks would know... and care, etc. never mind :) [12:02] grub-installer: cjwatson * r792 ubuntu/ (6 files in 3 dirs): merge from Debian 1.39 [12:10] grub-installer: cjwatson * r793 ubuntu/ (debian/changelog grub-installer): [12:10] grub-installer: If using grub2, then use ordinary grub-install for mdadm-managed RAID [12:10] grub-installer: /boot rather than trying to implement it ourselves. [12:14] grub-installer: cjwatson * r794 ubuntu/debian/changelog: releasing version 1.39ubuntu1 [16:30] hey all [16:31] 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] welcome back [16:32] what release of Ubuntu are you running? (this is relevant to my answer ...) [16:32] intrepid [16:33] hmm, can you consider an upgrade to jaunty? it gets a lot easier if you can :) [16:33] unfortunately no, not yet. its been a long road getting to intrepid :) [16:35] if it is of any interest to you, I am working on an installer for LinuxMCE [16:36] that's unfortunate. In that case either some hackiness or some more complex development on your part will be required [16:36] 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] you prefix a command with that and it runs it with stdio disconnected from debconf [16:37] my idea is to provide feedback using dialog [16:37] this is the alternate installer btw [16:37] you won't be able to do that with intrepid unless you do it the Proper Way [16:38] that being to turn your script into a udeb that ships debconf templates and interacts with the user using debconf [16:38] (udeb => installer component) [16:38] that will give you something that looks just like the rest of the installer [16:39] and you'd have all the same facilities [16:39] but it's undeniably more work than a preseed/late_command script [16:39] that is fine, as long as it fits the needs. [16:39] 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] 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] i know a little, but maybe thats enough [16:44] 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] one of my attempts was a simple deb that contained nothing but a postinst script [16:45] heh [16:45] debconf-devel(7) describes how you talk to debconf [16:47] the hook that corresponds roughly to preseed/late_command is that you drop a script into /usr/lib/finish-install.d/ [16:48] 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] you write a debian/YOURPACKAGENAME.templates file describing the various dialogs you want to display [16:49] ideally i want to run this after all packages are installed, but before any changes have been made to apt sources.list [16:51] /etc/apt/sources.list is modified before all packages are installed, so that isn't possible ;-) [16:51] could you be more precise? [16:52] 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] where does your user interaction come in? [16:53] 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] 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] could those questions just be asked in the config/postinst script for some package installations? [16:54] what takes a long time other than package installation? [16:54] (if anything) [16:55] at one point it tarballs most of the system, for use as a diskless boot nfs root later [16:55] that takes awhile :) [16:55] 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] 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] you don't necessarily have to do everything in one piece [16:56] for instance, there are certainly existing hooks for installing extra packages, which take care of displaying progress information and so on ... [16:57] 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] but as to what it actually does... hmmm [16:58] evand1, mind if I bug you about installing to usb? [16:58] purefusion: bug away [16:58] its really just installing a bunch of packages, with some glue shell script bits inbetween [16:59] evand1, there doesn't seem to be any clear-cut instructions on this page: https://wiki.ubuntu.com/usb-creator [17:00] ah, I think I clicked too early [17:00] didn't realize it was a GUI utility :) [17:00] we have been desparately trying to attract qualified developers to the project, but it hasnt been happening :( [17:01] 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] that'll make the rest of the problem a lot simpler, I'm sure [17:01] wait, am I confusing Live USB Creator and USB Creator, evand1? [17:02] purefusion: liveusb-creator is Fedora's tool [17:02] but it's in the Ubuntu archive, I believe [17:02] ah, ok... so I've got the live disc for 9.04 running, how do I use your utility? command line? [17:03] System -> Administration -> USB Startup Disk Creator [17:03] ok [17:04] cjwatson: that may help, thanks [17:04] is it possible to install grub on its own, right to the hdd without installing ubuntu on the hdd itself? [17:04] (separate topic) [17:06] purefusion: sudo grub-install /dev/THE_DEVICE [17:07] THE_DEVICE being the active partition of the main hdd, right? [17:07] or do I need to install it to the boot sector? [17:07] either is possible, although there are lots of hidden gotchas with installing to a partition [17:17] 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 === dpm is now known as dpm-afk === robbiew is now known as robbiew-afk [20:17] could some help me with ERROR 5 - ubuntu installation?? [20:21] could some help me with ERROR 5 - ubuntu installation?? [20:27] 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] !patience [20:27] Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. You can search https://help.ubuntu.com or http://ubuntuforums.org while you wait. [20:29] sorry. it is my first time here.... [20:29] no problem [20:30] Almost everybody is a volunteer, and a lot of people are working. [20:33] ok charlie. I will waiting and searching. thanks [21:10] cjwatson_, any good ideas on what would cause the ia64 livecd to dump into d-i instead of starting the image? === robbiew-afk is now known as robbiew [21:41] 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] cjwatson_, are there any architecture specific bits outside of the kernel needed to start the CD? [21:43] cjwatson_: is it known that ubiquity in karmic has underscores on quit back and forward? === cjwatson_ is now known as cjwatson [21:44] NCommander: kernel, initrd, boot loader [21:44] NCommander: should all be in debian-cd/tools/boot/karmic/boot-ia64 [21:44] davmor2: not by me :) [21:45] cjwatson, woo, sounds like I get the fun of setting up ubuntu-cd \o/! [21:46] and setting up a livefs builder [21:46] cjwatson: http://www.davmor2.co.uk/_install.png [21:46] ok, guess somebody gets the fun of debugging that at some point :) [21:47] cjwatson: should I put a bug together so it doesn't get forgotten? [21:47] please do, yes [21:48] np's [21:54] cjwatson: bug 399005 I added the png to :) [21:54] Launchpad bug 399005 in ubiquity "Karmic: Ubiquity has developed some underscores on buttons" [Undecided,New] https://launchpad.net/bugs/399005 [22:13] 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] don't know, sorry [22:15] it's probably in the usplash theme [22:16] user-setup: cjwatson * r194 ubuntu/ (debian/changelog user-setup-apply): [22:16] user-setup: If a root user is being created so we aren't in sudo mode, configure [22:16] user-setup: libgksu to use su rather than sudo. [22:18] cjwatson: ta :) [22:23] 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] partman-lvm: cjwatson * r1218 ubuntu/lib/lvm-base.sh: local variable tidy-up [22:41] partman-lvm: cjwatson * r1219 ubuntu/choose_method/lvm/choices: choose_method/lvm/choices needs lvm-base.sh, not just base.sh [22:43] partman-md: cjwatson * r931 mdcfg-merge/choose_partition/md/choices: drop requirement for mdcfg to exist [23:14] evand hi