=== JanC_ is now known as JanC | ||
CIA-4 | ubiquity: superm1 * r4476 ubiquity/ (debian/changelog ubiquity/i18n.py): Don't show "No Localization" as a language option. (LP: #697326) | 08:15 |
---|---|---|
=== amichairo is now known as amichair | ||
CarlFK | append initrd=ubuntu/natty/amd64/initrd.gz locale=en_US console-setup/layoutcode=us ... | 14:26 |
CarlFK | alt installer is asking for keyboard... how do I preseed that? | 14:26 |
cr3 | how can I configure a network installation to install a personal udeb early in the installation process? the udeb is architecture specific, so wget from early_command might be a bit hairy | 15:55 |
CarlFK | cr3: let me look in my scripts while you ponder my prob: | 16:00 |
CarlFK | append initrd=ubuntu/natty/amd64/initrd.gz locale=en_US console-setup/layoutcode=us ... | 16:00 |
CarlFK | alt installer is asking for keyboard... how do I preseed that? | 16:00 |
cr3 | CarlFK: console-setup/layoutcode=us | 16:01 |
CarlFK | hmm, my early_command wgets a script that does anna-install openssh-server-udeb | 16:01 |
CarlFK | but it doesn't run it | 16:01 |
cr3 | CarlFK: that implies I need to add my udeb to the archive with the other udebs and the Packages file is updated too, right? | 16:02 |
CarlFK | i don't know if it would work when early_command runs. I run the script later when something breaks | 16:02 |
CarlFK | i guess so. I am just using the default archives | 16:03 |
CarlFK | but it looks like it takes care of the arch just like any other binary | 16:03 |
cr3 | CarlFK: the conflicting problems in my case are: 1. I want to avoid modifying the default archives as much as possible; 2. I have an architecture dependent udeb which benefits from the behavior of the default archive | 16:04 |
cr3 | CarlFK: but, if modifying the default archives is the way to go, this is feasible | 16:04 |
CarlFK | you can add an archive | 16:05 |
CarlFK | like a ppa that hosts just that one thing. | 16:06 |
CarlFK | on my keyboard problem: I already have that | 16:07 |
CarlFK | right? | 16:07 |
CarlFK | append initrd=ubuntu/natty/amd64/initrd.gz locale=en_US console-setup/layoutcode=us ... | 16:07 |
CarlFK | that worked for maverick, is not working for natty | 16:08 |
cr3 | CarlFK: try adding this too: console-setup/ask_detect=false | 16:08 |
cr3 | CarlFK: and you say it's prompting for the keyboard, right? | 16:08 |
CarlFK | right | 16:09 |
CarlFK | ill give that a shot | 16:09 |
cr3 | CarlFK: let me know how that goes, I'd like to avoid running into the same problem myself :) | 16:09 |
CarlFK | i wish there was a "just go with the defaults" option | 16:09 |
cr3 | CarlFK: I typically use debconf/priority=critical, which might affect some of the prompting | 16:10 |
cr3 | CarlFK: the problem with adding an archive is that the alternate archives that can be defined in the preseed probably don't apply to the udebs, just the debs installed later in the installation process | 16:11 |
CarlFK | I was wondering about that | 16:13 |
CarlFK | yay - no keyboard prompt: append initrd=ubuntu/natty/amd64/initrd.gz root=/dev/rd/0 rw locale=en_US console-setup/layoutcode=us console-setup/layoutcode=us console-setup/ask_detect=false netcfg/wireless_wep= netcfg/choose_interface=eth0 netcfg/get_hostname= DEBCONF_DEBUG=5 url=http://shaz/ubuntu/natty/preseed.cfg tasksel:tasksel/first="ubuntu-desktop" -- vga=6 | 16:14 |
CarlFK | I wonder if I can pull the locale=en_US console-setup/layoutcode=us console-setup/layoutcode=us | 16:14 |
CarlFK | hmm, definately don't need 2 ;) | 16:15 |
cr3 | CarlFK: indeed, be careful because I believe the maximum number of parameters is 512 characters | 16:18 |
CarlFK | yep, need all 3: append initrd=ubuntu/natty/amd64/initrd.gz root=/dev/rd/0 rw locale=en_US console-setup/layoutcode=us console-setup/ask_detect=false | 16:19 |
CarlFK | there was a max that got 'fixed' a few years ago, but I am guessing there is a new max. I would hope it isn't anything we need to worry about. | 16:20 |
CarlFK | cuz no one would ever need more than 640k | 16:20 |
cjwatson | console-setup is just plain buggy now. I'll be dealing with that soon. consider it broken right now. | 16:32 |
cjwatson | oh, mind you, I bet that has changed to keyboard-configuration/layoutcode=us in natty (but it's a bug that the old one doesn't work). | 16:33 |
cjwatson | it's definitely a bug that you need console-setup/ask_detect=false. | 16:33 |
CarlFK | thanks | 16:34 |
CarlFK | what is the limit on kernel parameters? | 16:34 |
cjwatson | it depends on the boot loader | 16:37 |
cjwatson | (seriously!) | 16:37 |
cjwatson | with Linux x86 boot protocol 2.05 and earlier, the maximum size was 255; with later versions of the boot protocol, assuming the boot loader takes special steps to support it, it depends on exact details of memory layout but I think it can potentially be as much as 24K or so | 16:40 |
CarlFK | so the thing that pxe boot roms load, right? filename "pxelinux.0" ; | 16:40 |
cjwatson | I believe that the syslinux family (including pxelinux) only supports up to 2.03 or so, so would be limited to pxelinux | 16:44 |
cjwatson | but I'm not actually very familiar with the internals of syslinux | 16:44 |
cjwatson | so this is to some extent a guess | 16:44 |
cjwatson | if that guess is correct, the limit would be 255 | 16:44 |
CarlFK | no prob - not really a problem for me right now. just curious. | 16:45 |
cjwatson | the kernel has its own limits in addition to that | 16:45 |
cjwatson | in particular, CONFIG_INIT_ENV_ARG_LIMIT governs the number of (a) arguments and (b) environment variables (separately) that it's prepared to read from the command line | 16:46 |
cjwatson | it defaults to 32 | 16:46 |
=== mark_ is now known as mark | ||
CIA-4 | ubiquity: superm1 * r4477 ubiquity/ (d-i/manifest debian/changelog): | 22:32 |
CIA-4 | ubiquity: Automatic update of included source packages: base-installer | 22:32 |
CIA-4 | ubiquity: 1.114ubuntu3, flash-kernel 2.28ubuntu12, hw-detect 1.81ubuntu2, | 22:32 |
CIA-4 | ubiquity: partman-btrfs 5ubuntu1, user-setup 1.28ubuntu13. | 22:32 |
CIA-4 | ubiquity: superm1 * r4478 ubiquity/debian/changelog: releasing version 2.5.9 | 22:32 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!