/srv/irclogs.ubuntu.com/2006/12/07/#ubuntu-installer.txt

cjwatsonheh, amusing12:32
markjoeyh's "hack" was serving wikipedia I am afraid ;-)12:33
cjwatsongrin12:37
cjwatsonunsuccessfully, I imagine12:37
markwell unless people were looking for [[Syslog] ]  ;-)12:38
markI guess I'll make it run on another port, and make our load balancer a bit more picky...12:40
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
=== cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer
=== cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer
=== cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
=== jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has joined #ubuntu-installer
jerom1hello02:29
jerom1how to load a kernel module in %pre ? it seems insmod or modprobe doesn't work ?02:45
cjwatson%pre is executed very early indeed. The modules you're trying to load might not be available yet.02:49
cjwatsonWhat kind of modules?02:49
jerom1cciss02:50
jerom1 in order to define dynamically size of partition02:50
cjwatsonYou can't load that in %pre. I suggest making your code to do that a preseed/early_command instead.02:51
cjwatsonhmm02:51
cjwatsonactually, wait, that won't work either ...02:52
cjwatsonI think your best approach is, in your %pre script, to write out a script called /lib/partman/auto.d/10cciss (or something like that) to do the work; make sure it's executable and that you have "if [ -f /var/lib/partman/initial_auto ] ; then exit 0; fi" near the top of the script so that it only runs once02:54
cjwatsonCould you file a bug on https://launchpad.net/distros/ubuntu/+source/kickseed/+filebug saying that it would be useful to have an easy way to run scripts just before partitioning in Kickstart?02:55
cjwatsona partman script shouldn't need to load cciss, by the way; it should already be loaded by the time that runs02:55
=== xm [n=xavierm@LAubervilliers-151-13-68-86.w217-128.abo.wanadoo.fr] has joined #ubuntu-installer
jerom1can you check my %pre here : http://sharengo.org/ks.cfg please ?03:06
cjwatsonno, that's not right03:11
cjwatsonyou want something more like:03:11
cjwatsoncat >/lib/partman/auto.d/10cciss <<EOF03:11
cjwatson#! /bin/sh03:11
cjwatsonif [ -f /var/lib/partman/initial_auto ] ; then exit 0; fi03:11
cjwatsonlist-devices disk >/tmp/disk-debug.txt03:11
cjwatson# whatever else you need to do in here03:11
cjwatsonEOF03:12
cjwatsonchmod +x /lib/partman/auto.d/10cciss03:12
jerom1thank you very much of your assistance and your patience, I test03:14
cjwatsonno problem; hope that works ...03:33
cr3feisty herd 1 netinstall prompts to detect the keyboard even though I specify console-setup/ask_detect=false in the boot parameters. syslog says GET console-setup/ask_detect, 0 true. /proc/cmdline says console-setup/ask_, so it seems the boot parameters get truncated.04:09
cr3reordering the boot parameters so that ask_detect is earlier doesn't prompt anymore but other parameters get truncated :(04:11
cjwatsonshow me your boot parameters? they may not all be needed04:11
cr3append vga=normal initrd=ubuntu-installer/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw  -- DEBCONF_DEBUG=5 preseed/url=http://midir.certification.canonical.com/feisty/i386/preseed.txt debian-installer/locale=en_US console-setup/ask_detect=false console-setup/layoutcode=us04:12
cjwatsonlose ramdisk_size=16417 root=/dev/ram rw and the spurious space04:12
cr3cheers04:12
cjwatsonyou might be able to shorten the URL by using a non-fully-qualified hostname?04:12
cjwatsonoh, and preseed/url => url, debian-installer/locale => locale04:13
cjwatsonthere are aliases in place for those since edgy04:13
cjwatsonthat should do it04:14
cjwatsoncould you file a bug on preseed to add some aliases for console-setup?04:14
cr3cjwatson: sure, should I subscribe you to it?04:15
cjwatsonI already get its bugmail automatically04:15
cjwatson(well, now, ubuntu-installer does, but that includes me)04:15
jerom1it's works, but i have anothe probem when i use : part ... --ondisk=cciss/c0d1, it seems ondisk is not supported, can you confirm ?04:31
cjwatsonthat's correct04:33
cjwatsonyou can probably just remove that; partman only lets you autopartition one disk anyway04:33
jerom1and i can configure my second volume in a post with cfdisk ...04:34
=== rrittenhouse [n=tad@cpe-76-188-35-66.neo.res.rr.com] has joined #ubuntu-installer
=== jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has left #ubuntu-installer []
=== allmanj [n=allmanj@66.249.86.140] has joined #ubuntu-installer
allmanji was just on #ubuntu asking about this but then spotted this channel. Can anyone here help me with customising debian-installer so that it doesn't scan a mirror?07:02
cjwatsonI'm on the phone now and then have to go out to training, but later, sure07:08
cjwatsonthis is the right place07:08
allmanjgroovy - unfortunately i've to head home (i'm in ireland and this is the evening). But i'll drop back tomorrow. Thanks!07:14

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