CIA-3 | partman-md: cjwatson * r938 auto-setup/ (73 files in 5 dirs): merge from trunk | 09:19 |
---|---|---|
=== dpm_ is now known as dpm | ||
CIA-3 | partman-md: cjwatson * r939 ubuntu/debian/control: update Maintainer for Ubuntu | 11:45 |
CIA-3 | partman-crypto: cjwatson * r684 ubuntu/ (5 files in 3 dirs): merge auto-setup branch | 11:48 |
CIA-3 | partman-crypto: cjwatson * r685 ubuntu/debian/po/ (66 files): debconf-updatepo | 11:52 |
CIA-3 | partman-lvm: cjwatson * r1225 ubuntu/debian/changelog: releasing version 66ubuntu2 | 12:00 |
CIA-3 | partman-md: cjwatson * r940 ubuntu/debian/changelog: releasing version 46ubuntu1 | 12:01 |
CIA-3 | partman-crypto: cjwatson * r686 ubuntu/debian/changelog: releasing version 37ubuntu2 | 12:01 |
erosa | Hi, I have a debian installer preseed with an expert partition recipe which is already sucessfully used in a pxe boot installer. I'm trying to run the same d-i + preseed from a usb stick, but partman outputs an error (partman-auto: Expert recipe too large (18646 > 8); skipping). I'm pretty sure this is related to the USB media being inserted. Is there any way to workaround this? I mean, can I tell partman to ignore (for example) external storage? | 13:11 |
erosa | thanks | 13:11 |
cjwatson | at least for regular autopartitioning (e.g. not RAID or whatever) partman-auto only ever considers a single disk | 13:23 |
cjwatson | can we see your preseed file (with passwords removed), /var/log/syslog from the running installer, and /var/log/partman from the running installer? | 13:24 |
cjwatson | you can use "save debug logs" from the main menu to extract the logs | 13:24 |
erosa | sure, one second | 13:24 |
erosa | http://pastebin.com/m364a1836 <- syslog | 13:25 |
erosa | http://pastebin.com/m5d048ec5 <- preseed.cfg | 13:26 |
erosa | http://pastebin.com/m73d06025 <- partman | 13:26 |
cjwatson | any particular reason you're using biggest_free? | 13:27 |
cjwatson | which means "only use the free space on the disk" | 13:27 |
cjwatson | free as in unpartitioner | 13:27 |
cjwatson | unpartitioned | 13:27 |
erosa | yes, we include an aditional script that deletes any non-{fat, ntfs} partition in order to preserve other OS's installations | 13:28 |
cjwatson | well, apparently that isn't working ... | 13:29 |
erosa | It's not working from the USB installer | 13:29 |
cjwatson | the error you're getting is basically "you told me to use only the unpartitioned space, but there's only 8MB of that available" | 13:29 |
erosa | yes | 13:29 |
cjwatson | right. but the bug, as far as I can see, is in your script, not in partman? | 13:29 |
erosa | that's because it's trying to install in sdb (the usb stick) instead of sda (th hd) | 13:30 |
cjwatson | no, you told partman to use the largest available free space | 13:31 |
cjwatson | as it stands, the largest available free space happens to be on sdb | 13:31 |
cjwatson | but even if you didn't do that, there's no free space on sda, so it wouldn't help | 13:31 |
cjwatson | you need to arrange to delete those partitions before partman starts, surely | 13:31 |
erosa | this is the script that works when installing with PXE: | 13:32 |
erosa | http://pastebin.com/ma12b907 <- script | 13:32 |
erosa | I sure need to check it for this special case | 13:33 |
cjwatson | it's obviously not running here - there's no mention of DELETE_PARTITION anywhere in http://pastebin.com/m73d06025 | 13:34 |
cjwatson | how are you getting that script into the installer? btw, you need '#! /bin/sh' and '. /lib/partman/lib/base.sh' at the top | 13:35 |
cjwatson | and an extra 'done' at the end | 13:35 |
erosa | sorry, I just pasted the "core" of the script | 13:35 |
erosa | it includes the shebang and so | 13:35 |
cjwatson | # | 13:36 |
cjwatson | Jul 20 12:02:16 log-output: chmod: /lib/partman/init.d/85dual: No such file or directory | 13:36 |
cjwatson | from your syslog | 13:36 |
erosa | The script is downloaded to /lib/partman/init.d fro the preseed | 13:36 |
erosa | h, f*ck... | 13:36 |
cjwatson | except that in your installation method the network is not available at the point when preseeded commands are run ... | 13:37 |
erosa | not from the preseed, sorry, from the early_command.sh script | 13:37 |
cjwatson | which in your case (initrd preseeding) is run before even localechooser, let alone netcfg | 13:37 |
erosa | It seems I have to work a little more on this :) | 13:37 |
cjwatson | far too early | 13:37 |
cjwatson | I think you also want set -e in your early_commands.sh so that you find out about this sort of thing :) | 13:38 |
erosa | hehe, sure | 13:38 |
cjwatson | if it were me, I'd probably just embed the whole thing in the initrd if I were editing it anyway, rather than messing around with downloading stuff | 13:38 |
cjwatson | or you're on jaunty, you could use partman/early_command | 13:39 |
erosa | I will. It wasn't done before because we didn't touch the initrd | 13:39 |
erosa | but I do touch it now, so embeding it would be not problem | 13:40 |
erosa | well, thanks a lot cjwatson, I'll let you know if I get something useful :) | 13:40 |
cjwatson | partman/early_command runs late enough that you have networking | 13:40 |
cjwatson | and also after parted_server has started | 13:41 |
cjwatson | so that might be convenient for this case | 13:41 |
erosa | sure it is. This preseed has been adapted from an old feisty d-i | 13:42 |
erosa | Gotta go, Thanks again for helping | 13:42 |
cjwatson | no problem | 13:44 |
CIA-3 | ubiquity: mterry * r3326 ubiquity/ (debian/changelog gui/glade/ubiquity.glade): set use_underline for gtk buttons | 14:32 |
bdmurray | Bug 401321 has a patch but might be about casper | 19:08 |
ubottu | Launchpad bug 401321 in ubiquity "[Karmic] Incorrectly sets AutomaticLogin to 'ubuntu'" [Undecided,Confirmed] https://launchpad.net/bugs/401321 | 19:08 |
cjwatson | yes, casper | 19:12 |
cjwatson | reassigned and committed | 19:15 |
CIA-3 | casper: cjwatson * r655 trunk/ (debian/changelog scripts/casper-bottom/15autologin): Set AutomaticLogin=$USERNAME, not =ubuntu (thanks, arky; LP: #401321). | 19:16 |
=== nxvl_ is now known as nxvl | ||
davmor2 | cjwatson: is the pc name meant to be static? | 21:04 |
cjwatson | davmor2: not sure I quite understand the question? | 21:16 |
davmor2 | On ubiquity when you typed in your username the pc name would change automatically it now seem to be static on ubuntu. I wondered if this was deliberate or a bug? | 21:17 |
cjwatson | sounds like a bug | 21:19 |
davmor2 | Okay I'll file it :) | 21:20 |
CIA-3 | casper: superm1 * r656 casper/ (bin/casper-new-uuid debian/changelog): Add support for lzma type archives to casper-new-uuid. | 23:34 |
CIA-3 | casper: superm1 * r657 casper/debian/changelog: releasing casper 1.182 into karmic | 23:38 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!