|
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer |
|
=== cjwatson [[email protected]] has joined #ubuntu-installer |
|
[08:05] <evand> cjwatson, any tips for detecting what partitions will still exist when partman commits? There doesn't seem to be a debconf question associated with it and my hunch is I'll have to look in /var/lib/partman/devices. |
|
[08:11] <cjwatson> evand: your hunch is more or less correct |
|
[08:12] <evand> ok, thank you |
|
[08:12] <cjwatson> evand: as long as parted_server is running (should be, if you're running after partitioning), 'from ubiquity.parted_server import PartedServer; parted = PartedServer(); parted.select_disk(blah); partitions = parted.partitions()' |
|
[08:12] <cjwatson> or words to that effect |
|
[08:13] <cjwatson> you'll have to iterate over parted.disks() yourself |
|
[08:13] <evand> neat. Ok, I'll see what I can come up with. |
|
[08:14] <evand> Also, the latest commit(s) on my branch has handling multiple errors in one pass working. Just wanted to give you a heads up. |
|
[08:14] <cjwatson> excellent |
|
[08:15] <evand> it's kind of hacky though. I had to modify ma-ask to accommodate it, but I played around with a few other options and this seems to be the cleanest and the only one that works 100%. |
|
[08:19] <lifeless> cjwatson: the changes needed for debians' casper are to change the /cdrom to /live_media, to reflect that it may not be a cdrom |
|
[08:19] <lifeless> cjwatson: that, or to reject that part of the debian casper changes |
|
=== dabaR [[email protected]] has joined #ubuntu-installer |
|
[08:30] <dabaR> I am trying to netboot install ubuntu on my ppc powerbook. I am using dnsmasq and tftpd-hpa. My tftpd-hpa is started standalone by running "/usr/sbin/in.tftpd -l -v -v -v -v -v -s /tftpboot -a 192.168.0.1:69", my dnsmasq.conf has the following line: "dhcp-boot=yaboot,dabar,192.168.0.1". The contents of my /tftpboot are same as http://archive.ubuntu.com/ubuntu/dists/feisty/main/installer-powerpc/current/images/powerpc/netboot/. I |
|
=== evand [n=evan@ubuntu/member/evand] has joined #ubuntu-installer |
|
[09:51] <cjwatson> lifeless: IMO that should be rejected; ubiquity uses code from d-i that assumes /cdrom |
|
[09:52] <cjwatson> dabaR: you were cut off after ".../netboot/. I"; IRC has a line length limit |
|
[09:52] <lifeless> cjwatson: fair enough. However, I'll let you and mithrandir have that discussion |
|
[09:53] <lifeless> cjwatson: I'm not advocating any specific approach, just that we dont break things :) |
|
[09:54] <dabaR> http://paste.ubuntu-nl.org/1024/ |
|
[09:56] <tepsipakki> dabaR: try /var/log/daemon |
|
[09:58] <cjwatson> personally I generally just strace the freaking tftpd to work out what it thinks it's doing |
|
[09:58] <cjwatson> I've found that to be the quickest approach in practice |
|
[09:58] <dabaR> k, I will try later. Thanks. |
|
=== mpt [[email protected]] has joined #ubuntu-installer |
|
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer |
|
=== cjwatson [[email protected]] has joined #ubuntu-installer |
|
=== secureboot [[email protected]] has joined #ubuntu-installer |
|
[03:48] <secureboot> how do I set the language and keyboard layout for edgy in the preseed OR on the append line in isolinux.cfg? |
|
[04:00] <cjwatson> see the installation guide, linked from http://help.ubuntu.com/ |
|
[04:00] <cjwatson> preseeding advice is in an appendix |
|
[04:09] <secureboot> cjwatson: yeah, that doesn't answer it correctly, I don't think |
|
[04:09] <secureboot> https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/preseed-contents.html lists a debian edgy example preseed that doesn't work |
|
[04:09] <secureboot> 404ed |
|
[04:09] <secureboot> i dont' see links on those pages to submit either modifications or bugs |
|
[04:09] <secureboot> http://archive.ubuntu.com/ubuntu/dists/breezy/main/installer-i386/current/doc/manual/en/apcs01.html |
|
[04:09] <secureboot> that's the appendix example I find |
|
[04:09] <secureboot> but it's for breezy |
|
[04:10] <secureboot> so not terribly surprising that it doesn't work for language choosing |
|
[04:23] <thom> cjwatson: is there any way to blacklist modules from the installer? i absolutely don't want to load usb_storage |
|
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-installer |
|
[04:44] <cjwatson> secureboot: debian-installer/locale should work - you just need to put it on the kernel command line |
|
[04:45] <cjwatson> "The locale can be used to specify both language and country. To specify the locale as a boot parameter, use locale=en_US" |
|
[04:45] <cjwatson> does that not work? |
|
[04:46] <cjwatson> hmm, yeah, http://www.debian.org/releases/edgy/example-preseed.txt is obviously a broken link |
|
[04:46] <secureboot> cjwatson: no - i still get asked for my language |
|
[04:47] <cjwatson> you can file bugs on https://launchpad.net/ubuntu/+filebug with 'installation-guide' as the source package |
|
[04:47] <secureboot> i'm trying debian-installer/locale and just locale |
|
[04:47] <secureboot> of course, both are listed as working - i wonder which it is supposed to be |
|
[04:47] <cjwatson> they're aliases, either should work |
|
[04:47] <secureboot> cjwatson: hmmm - i thought it was working before. I never got the keyboard map to work without intervention, but the language part was working in the past, i thought |
|
[04:48] <cjwatson> locale= is what our CD boot loader uses, so that really should work |
|
[04:48] <cjwatson> given that we test it ... |
|
[04:48] <cjwatson> keyboard has changed between releases; we test that via the CD boot loader, too |
|
[04:48] <cjwatson> console-setup/layoutcode= (and usually console-setup/variantcode= as well) is correct for edgy |
|
[04:49] <cjwatson> perhaps try locale=en_US.UTF-8 rather than plain en_US? |
|
[04:49] <secureboot> hmmm - why is that necessary sometimes? |
|
[04:49] <cjwatson> but IIRC gfxboot just passes en_US |
|
[04:49] <cjwatson> localechooser's locale parsing is a bit ad-hoc in places |
|
[04:49] <cjwatson> the correct locale name is en_US.UTF-8 |
|
[04:50] <cjwatson> strictly speaking en_US is a different (legacy, non-UTF-8) locale |
|
[04:54] <secureboot> append file=/cdrom/preseed/shamon.seed debian-installer/locale=en_US initrd=/install/initrd.gz ramdisk_size=16384 root=/dev/ram rw quiet -- |
|
[04:54] <secureboot> that is simply not working |
|
[04:55] <secureboot> and i'm baffled |
|
[04:56] <secureboot> i keep getting asked what my language is - this should eliminate that, no? |
|
[04:57] <secureboot> any ideas? |
|
[05:05] <thom> bah. looks like blacklist went in this month. suck. second question, then. will debian-installer/probe/usb=false disable usb always, or just during initial boot? |
|
[05:26] <thom> ok, usb=false suboptimal |
|
[05:37] <cjwatson> blacklist> right, unless you're lucky and /etc/modprobe.d/blacklist is honoured, but IIRC not guaranteeably |
|
[05:38] <cjwatson> AFAIK debian-installer/probe/usb=false only affects usb-discover |
|
[05:38] <cjwatson> (i.e. initial boot) |
|
[05:38] <cjwatson> TBH I'd just hack the initrd to remove usb-storage |
|
[05:39] <secureboot> figured it out! I had a bad timeoutline in the isolinux.cfg, and I guess that messed up the boot parameters |
|
[05:40] <cjwatson> that's surreal - I confess I wouldn't have thought of that |
|
[05:42] <thom> cjwatson: hrm, good call |
|
[05:57] <thom> ah, it's not in the initrd; must be in a udeb, so i guess i have to try and blacklist it in early_command |
|
[05:57] <thom> (i really don't want a custom d-i build if i can avoid it) |
|
[06:28] <cjwatson> what sort of install is this? CD, netboot, ...? |
|
[06:29] <thom> netboot |
|
[06:31] <cjwatson> net-retriever doesn't natively support exclusions, but if you can convince something to 'echo usb-storage-modules-2.6.17-10-386-di > /var/cache/anna/exclude' (or whatever the exact package name is) before anna runs then that would work |
|
[06:31] <cjwatson> s/would/should/ |
|
[06:31] <cjwatson> unfortunately early_command runs after anna, IIRC |
|
[06:32] <cjwatson> actually, no |
|
[06:32] <cjwatson> I think preseed/early_command should work for this |
|
[06:33] <thom> oh really? that seems a good deal better |
|
[06:34] <tepsipakki> just like I could run 'udpkg --unpack' for my own udeb in early_command, and the templates got registered and all :) |
|
[06:36] <tepsipakki> pretty neat |
|
[06:47] <thom> cjwatson: worked beautifully, ta |
|
[06:47] <thom> i must write my beer tracking webapp |
|
[06:47] <cjwatson> excellent |
|
[06:48] <tepsipakki> I have a keg waiting, where do I send it :P |
|
[07:10] <thom> right, sun x4100s now being flawlessly auto installed. time to go :-) |
|
=== robepisc [[email protected]] has joined #ubuntu-installer |
|
[08:46] <secureboot> i'd like to simply install ubuntu-minimal, plus a small list of packages - how can I do this? Right now, I'm just looking in the Packages in dists/blahblah/debian-installer/Packages to make sure I don't delete any of those |
|
[08:46] <secureboot> but the install is failing, from not having update-rc.d |
|
[08:46] <secureboot> is there any way I can see a list of pacakges I absolutely need? |
|
[08:49] <secureboot> i don't see a businesscard CD anywhere, that might make a good start |
|
[08:56] <cjwatson> what debootstrap installs is the minimum you need |
|
[08:56] <cjwatson> which is basically ubuntu-minimal, but you may be resolving some alternate dependencies the wrong way or something |
|
[08:57] <secureboot> i just want to know what packages I need to install on the CD for the default install to work |
|
[08:57] <secureboot> ubuntu-minimal is missing a lot of stuff, in its direct list - how can I get everything ubuntu-minimal depends on , and everything those things depend on, and so forth? |
|
[09:01] <cjwatson> debootstrap expands that out. |
|
[09:02] <cjwatson> alternatively, the germinate output |
|
[09:02] <cjwatson> http://people.ubuntu.com/~cjwatson/germinate-output/feisty/minimal |
|
=== heno [n=henrik@ubuntu/member/heno] has joined #ubuntu-installer |
|
[09:19] <heno> Has anyone else observed this bug #78722 ? |
|
=== cjwatson [[email protected]] has joined #ubuntu-installer |
|
[09:43] <heno> cjwatson: is this normal behaviour from the grub-installer? https://launchpad.net/ubuntu/+source/ubiquity/+bug/78722 |
|
|