cjwatson | heh, amusing | 12:32 |
---|---|---|
mark | joeyh's "hack" was serving wikipedia I am afraid ;-) | 12:33 |
cjwatson | grin | 12:37 |
cjwatson | unsuccessfully, I imagine | 12:37 |
mark | well unless people were looking for [[Syslog] ] ;-) | 12:38 |
mark | I 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 | ||
jerom1 | hello | 02:29 |
jerom1 | how 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 |
cjwatson | What kind of modules? | 02:49 |
jerom1 | cciss | 02:50 |
jerom1 | in order to define dynamically size of partition | 02:50 |
cjwatson | You can't load that in %pre. I suggest making your code to do that a preseed/early_command instead. | 02:51 |
cjwatson | hmm | 02:51 |
cjwatson | actually, wait, that won't work either ... | 02:52 |
cjwatson | I 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 once | 02:54 |
cjwatson | Could 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 |
cjwatson | a partman script shouldn't need to load cciss, by the way; it should already be loaded by the time that runs | 02:55 |
=== xm [n=xavierm@LAubervilliers-151-13-68-86.w217-128.abo.wanadoo.fr] has joined #ubuntu-installer | ||
jerom1 | can you check my %pre here : http://sharengo.org/ks.cfg please ? | 03:06 |
cjwatson | no, that's not right | 03:11 |
cjwatson | you want something more like: | 03:11 |
cjwatson | cat >/lib/partman/auto.d/10cciss <<EOF | 03:11 |
cjwatson | #! /bin/sh | 03:11 |
cjwatson | if [ -f /var/lib/partman/initial_auto ] ; then exit 0; fi | 03:11 |
cjwatson | list-devices disk >/tmp/disk-debug.txt | 03:11 |
cjwatson | # whatever else you need to do in here | 03:11 |
cjwatson | EOF | 03:12 |
cjwatson | chmod +x /lib/partman/auto.d/10cciss | 03:12 |
jerom1 | thank you very much of your assistance and your patience, I test | 03:14 |
cjwatson | no problem; hope that works ... | 03:33 |
cr3 | feisty 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 |
cr3 | reordering the boot parameters so that ask_detect is earlier doesn't prompt anymore but other parameters get truncated :( | 04:11 |
cjwatson | show me your boot parameters? they may not all be needed | 04:11 |
cr3 | append 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=us | 04:12 |
cjwatson | lose ramdisk_size=16417 root=/dev/ram rw and the spurious space | 04:12 |
cr3 | cheers | 04:12 |
cjwatson | you might be able to shorten the URL by using a non-fully-qualified hostname? | 04:12 |
cjwatson | oh, and preseed/url => url, debian-installer/locale => locale | 04:13 |
cjwatson | there are aliases in place for those since edgy | 04:13 |
cjwatson | that should do it | 04:14 |
cjwatson | could you file a bug on preseed to add some aliases for console-setup? | 04:14 |
cr3 | cjwatson: sure, should I subscribe you to it? | 04:15 |
cjwatson | I already get its bugmail automatically | 04:15 |
cjwatson | (well, now, ubuntu-installer does, but that includes me) | 04:15 |
jerom1 | it'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 |
cjwatson | that's correct | 04:33 |
cjwatson | you can probably just remove that; partman only lets you autopartition one disk anyway | 04:33 |
jerom1 | and 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 | ||
allmanj | i 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 |
cjwatson | I'm on the phone now and then have to go out to training, but later, sure | 07:08 |
cjwatson | this is the right place | 07:08 |
allmanj | groovy - 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!