/srv/irclogs.ubuntu.com/2009/01/05/#ubuntu-installer.txt

=== ubott2 is now known as ubottu
=== TheMuso_ is now known as TheMuso
davmor2morning xivulon cjwatson and a happy new year :)09:30
cjwatsonmorning10:00
xivulonhappy new year davmor2 and all the rest! :)10:00
TheMusoHappy new year all, hope everyone had a refreshing break.10:17
=== cjwatson_ is now known as cjwatson
arthur_lhi13:42
arthur_li'm looking for help on driving partman from d-i13:42
arthur_lam I in the right place ?13:42
cjwatsonyes13:43
cjwatsonwhat's up?13:43
arthur_lI would like have an if (i have 1 disk) do this, else if (i have 2 disks) do somethingelse, else do that13:44
arthur_lcjwatson: do you know if that's possible ?13:46
cjwatsonversion of Ubuntu?13:46
cjwatson(it's possible either way, just affects complexity)13:46
arthur_l8.0.413:46
cjwatson(that's 8.04)13:47
arthur_lindeed13:47
arthur_lmy fingers slipped13:47
cjwatsonok, so you get the more complex option :-/13:47
_MMA_Hi all.13:47
arthur_lcjwatson: where should i be looking ?13:48
_MMA_cjwatson: Any ETA on enabling the new Alt installer?13:48
_MMA_(in Jaunty)13:48
cjwatsonarthur_l: here are the pieces you need: preseed/early_command specifies a script to run towards the start of installation (although not necessarily after disks are detected); if you write an executable script from there into /lib/partman/display.d/00yournamehere, then that script will be executed just before the partitioner starts; you can use list-devices to output the available disks; you can use debconf-set or ...13:49
cjwatson... debconf-set-selections to dynamically preseed things13:49
cjwatsonarthur_l: (8.10 simplifies the first two into partman/early_command)13:49
cjwatson_MMA_: can you be more verbose please/13:49
cjwatson?13:49
cjwatsonwhat "new alternate installer"?13:49
_MMA_cjwatson: Sorry. The GTK one.13:50
cjwatsonno ETA, GTK/directfb is busted13:50
_MMA_Um... Unsure the exact name.13:50
_MMA_Ahhh. Ok. Thanx for the info.13:50
arthur_lcjwatson: thanks... I'll looking into that (stuck with 8.04 unfortunately)13:50
cjwatsonit crashes messily on startup13:50
_MMA_cjwatson: Barring that, is there any info as to what's needed/involved for customization? Since I'm still learning about it, I'm unsure as to what to search for.13:52
cjwatson_MMA_: what sort of customisation/13:52
cjwatson?13:52
cjwatsondamn that shift key anyway13:52
_MMA_cjwatson: Well I assume there's a certain amount of branding involved. Correct? So I'm looking into it to make sure Studio is ready.13:54
cjwatson_MMA_: there'll be no information on customisation until it actually boots at all, which may not be for jaunty13:56
cjwatsonso I wouldn't put the cart before the horse :) customisation is the least of my worries at the moment ...13:56
_MMA_cjwatson: Oh sure. Sure. I'm not trying to *do* anything now. Other than gather info on how it's *supposed to work. I don't wanna get caught at the last min on this. I'll bug you later in the cycle. Or maybe next UDS. (If you attend) :)13:58
cjwatsonI honestly don't know myself yet; I had been planning to look into it after it actually works. All I know is that it's all in the rootskel-gtk package; I hadn't been expecting it to be all that hard to customise13:59
cjwatson... and therefore hadn't been worrying about preparing in advance13:59
arthur_li have the d-i svn checkedout but which revision is used for 8.04 ?13:59
arthur_lis there a branch ? tag ?13:59
_MMA_cjwatson: np. Thanx for the info.13:59
cjwatsonarthur_l: not in svn at all. http://wiki.ubuntu.com/InstallerDevelopment14:01
arthur_lor should i use the bzr14:01
cjwatsonthere is no easy way to get "whatever was in 8.04" short of apt-get source, I'm afraid; although no doubt one could put it together using bzr14:02
arthur_lcjwatson: thanks14:03
CIA-3debian-installer: cjwatson * r930 hardy-proposed/ (9 files in 4 dirs): Move to 2.6.24-23 kernels.16:22
CIA-3debian-installer: cjwatson * r931 hardy-proposed/debian/changelog: releasing version 20070308ubuntu40.716:32
CIA-3partman-md: cjwatson * r909 ubuntu/ (debian/changelog init.d/md-devices):17:00
CIA-3partman-md: init.d/md-devices: Check for the existence of /dev/md as well as17:00
CIA-3partman-md: /proc/mdstat before exiting early, in order to cope with kernels where17:00
CIA-3partman-md: md-mod is built-in.17:00
CIA-3partman-md: cjwatson * r910 ubuntu/debian/changelog: bug reference17:01
CIA-3partman-md: cjwatson * r911 ubuntu/debian/control: Maintainer and Vcs-Bzr for Ubuntu17:04
=== kirkland` is now known as kirkland
CIA-3mdcfg: cjwatson * r1072 ubuntu/ (debian/changelog mdcfg.sh):17:19
CIA-3mdcfg: Do initial scan if /dev/md is missing as well as if /proc/mdstat is17:19
CIA-3mdcfg: missing, in order to cope with kernels where md-mod is built-in17:19
CIA-3mdcfg: (LP: #309555).17:19
CIA-3mdcfg: cjwatson * r1073 ubuntu/debian/control: Maintainer and Vcs-Bzr for Ubuntu17:21
CIA-3partman-md: cjwatson * r912 ubuntu/debian/changelog: releasing version 44ubuntu117:30
CIA-3mdcfg: cjwatson * r1074 ubuntu/debian/changelog: releasing version 1.28ubuntu117:41
=== robbiew1 is now known as robbiew
kirklandcjwatson: hi, i just downloaded and installed from the jaunty-server-amd64 daily iso19:17
kirklandcjwatson: it seems that you disabled the encrypt-my-home-directory screen19:17
kirklandcjwatson: i think the relevant bits are in the kernel now19:17
kirklandcjwatson: i'd like to test it in tomorrow's daily build19:18
kirklandcjwatson: could you, per chance, re-enable that code?19:18
kirklandcjwatson: actually, i have mispoken19:22
kirklandcjwatson: it's not in the kernel on the installer yet :-(19:22
kirklandcjwatson: well, that's not necessarily true ... rtg says that they're built in19:38
kirklandcjwatson: and i know we've gone in circles about this for several weeks now, builtin vs. crypto-modules-udeb19:38
phobiacI'm having a problem with the ubuntu installer that I thought I should ask the developers. Is anyone there?20:19
kirklandphobiac: ask your questions, and someone will answer, if they know20:20
phobiacOkay. During the install process, it doesn't auto detect my hard drive and asks me what driver to use. It's a Toshiba MK6028GAL ATA device according to windows, any ideas on what driver I should use?20:21
kirklandphobiac: what version of ubuntu?20:21
phobiacThe newest, I'm trying to to a netboot install over the internet.20:21
phobiacto do20:21
kirklanddo you mean the one that's under development right now?20:22
kirklandor the newest one to have officially released?20:22
phobiacNo, intrepid.20:22
kirklandah20:22
kirklandphobiac: that's an odd error20:22
kirklandphobiac: is this a notebook or a desktop?20:22
phobiacIt's notebook, or I guess a "netbook"20:22
phobiacFujitsu U82020:23
phobiacIt doesn't have a built in CD/DVD drive, so I figured netboot over internet was the easiest way to go.20:23
kirklandyeah20:24
kirklandit should just be a simple ATA disk driver20:24
phobiacShould I just pick whatever driver has ATA in the name?20:25
kirklandwhat are your options?20:25
phobiacIs it possible to break the HD or mess it up if I choose the wrong driver and try to partition it?20:25
phobiacIt gives me a huge list of drivers20:25
kirklandif you pick the wrong driver, the hard drive just won't show up in the installer20:26
kirklanduntil you find the right driver20:26
phobiacOkay. I'll just go through the list then. I should look for something with ata though?20:26
kirklandphobiac: sure.  what's odd is that it's not autodetected already for you....20:27
phobiacI've looked around on the internet, and it's a ZIF drive if that changes anything.20:28
cjwatsonkirkland: OK, not right now, but I'll have a look in a bit20:28
phobiacYeah, I don't understand how it can even read the files if it doesn't know what driver to use?20:28
cjwatsonphobiac: it's very unlikely that any selection from that list will help you20:28
kirklandcjwatson: thanks.  i'd really like to syncronize about this as soon as possible20:29
kirklandcjwatson: so that it doesn't slip another alpha20:29
cjwatsonphobiac: it can read the initial installer code because the BIOS does that; the problem is in getting Linux to do it20:29
phobiaccjwatson: Oh. What should I do then?20:29
kirklandcjwatson: i think a 3-way conversation, among you, me, and rtg would be beneficial20:29
cjwatsonphobiac: the easiest way to help us fix this is to boot a desktop CD, then run 'sudo lspci -vvnn' and post the output20:29
cjwatsonphobiac: it may just be that we need to tweak some simple things to get the driver delivered to the installer20:29
cjwatson(I'm off to watch Heroes now though, so stick around ...)20:30
phobiacIt doesn't have a CD drive and I have no external one, would running the live CD in a virtual environment work the same?20:30
cjwatsonno20:30
cjwatsonyou could try running 'lspci -vvnn' from alt-f2 in the installer environment20:30
cjwatsonyou then just have to get the output out of it somehow20:30
cjwatsonrunning 'anna-install openssh-client-udeb' will get you scp, if that helps20:31
phobiacAlright, I can just hand type it out into pastbin.20:31
cjwatsonit'll take a while20:31
cjwatsonbut if you have plenty of patience, sure20:31
phobiacThanks for your help.20:32
kirklandcjwatson: heroes airs early for the UK?20:32
cjwatson'lspci -n' is shorter and less convenient for us, but possibly more convenient for you to type out20:32
cjwatsonkirkland: DVD20:32
kirklandcjwatson: its not on here for another 5.5 hours!20:32
kirklandcjwatson: oh :-)20:32
kirklandcjwatson: i'll try to ping you very early my time tomorrow, to sync about encrypt-home in the installer/kernel bits20:33
cjwatsonkirkland: I'll look at it later today, it may not require any further kernel action20:33
cjwatsonif it's built-in, it shouldn't require any further kernel action20:33
kirklandcjwatson: rtg says it's builtin as of -4.520:34
cjwatsonthen that should be enough, let me poke at it20:34
kirklandcjwatson: in my vm, the installer kernel says 2.6.28-4-generic20:34
kirklandcjwatson: but cat /proc/crypto seems to disagree20:34
kirklandcjwatson: i need the cbc and ecb crypto drivers20:34
phobiacIs there a specific lspci entry you want? I can try to find just the section about the disk drive.20:36
cjwatsonif you can, yes20:36
cjwatsonI basically just need the ID of the disk drive so I can look up what driver is supposed to drive it20:36
phobiacAh okay20:36
cjwatson(but in general we just ask for the whole output since that saves on back-and-forth)20:36
kirklandphobiac: hit ctrl-alt-f220:37
kirklandphobiac: anna-install openssh-client-udeb20:37
kirklandphobiac: lspci -vvnn > /tmp/out20:37
kirklandphobiac: scp /tmp/out you@somewhere:/tmp20:37
kirklandphobiac: and pastebin that20:38
phobiackirkland: I'll try that20:38
phobiacWhen I do anna-install openssh-client-udeb, it doesn't give me an output.20:39
kirklandcjwatson: fyi, encrypted LVM is not working (yet) in the daily jaunty server build20:39
phobiacThe screen acts like I typed clear20:39
kirklandphobiac: do you have the scp command at your disposal now?20:39
phobiacscp: not found20:39
phobiacOh wait20:40
phobiacI'll try configuring the network.20:40
phobiacNo, that didn't work either.20:43
phobiacIs there a way to pause the output or something?20:46
phobiaclspci -vvnn is too large, I lose it about halfway through when I scroll back up.20:46
phobiaccjwatson, kirkland: http://pastebin.com/m5a03e4bf That's the output of lspci -n20:57
kirklandphobiac: can you do lspci -vvnn ?20:58
kirklandphobiac: that's more verbose20:58
phobiacYeah, but I lose the output about halfway through.20:59
phobiacI can do lspci -v20:59
kirklandphobiac: what about -vv ?20:59
phobiacNope, I lose it about halfway again.21:00
kirklandphobiac: "lose it" ?21:00
phobiacThe buffer isn't large enough, I think that's what it's called? When I shift+pageup to go back, it only goes back so far.21:01
kirklandphobiac: redirect to file21:01
kirklandlspci -vvnn > /tmp/out21:01
CarlFKcjwatson:  https://bugs.edge.launchpad.net/ubuntu/+source/debconf/+bug/31395021:01
ubottuLaunchpad bug 313950 in debconf "alt install: sda not listed as target option" [Undecided,New]21:02
phobiackirkland: That worked, how do I read the file though?21:03
phobiacOh wait, I have scp now.21:03
kirklandyup21:03
kirklandphobiac: and you can use cat /tmp/out | more21:03
kirklandphobiac: or nano /tmp/out21:03
CarlFKkirkland: http://dev.personnelware.com/carl/a/isshd.sh  script I use to install ssh and keys into the installer21:03
phobiackirkland: What was it you wanted me to use scp for? I'm not sure what the command does, what do I put in the you@somewhere part?21:04
phobiacOh duh, cat and nano.21:04
CarlFKkirkland: http://dev.personnelware.com/carl/a/e18/cpl.sh  script to tar/scp everything that might be useful21:04
CarlFKoh wait.. who has the bugy box?21:05
kirklandCarlFK: phobiac is the one21:05
kirklandphobiac: scp copies files21:06
CarlFKopps.21:06
kirklandphobiac: do you have another Linux machine on your network, running ssh?21:06
kirklandphobiac: if so, you can use scp to copy /tmp/out to another machine21:06
phobiackirkland: I have the one you're talking to me on right now, I don't think I have ssh on it though.21:07
kirklandphobiac: is it Ubuntu?21:07
phobiackirkland: Yes21:07
kirklandphobiac: if so, 'sudo apt-get install openssh-server'21:07
kirklandphobiac: then get your ip address, with 'ifconfig'21:07
kirklandphobiac: then, from the machine you're installing, do:21:08
kirklandphobiac: scp /tmp/out your-username@your-ip-address:/tmp21:08
kirklandphobiac: you need to figure out the values of your-username and your-ip-address21:08
phobiackirkland: On the buggy box, when it asks for my password for ssh do I give it my user logon password?21:10
phobiacThat worked21:10
phobiackirkland: http://pastebin.com/m1a5e6b7f That's the output of lspci -vvnn21:12
kirklandphobiac: excellent, that's what cjwatson needs21:12
kirklandphobiac: now, for bonus points, and to ensure that cjwatson doesn't loose it, i'd suggest filing a bug report in Launchpad ;-)21:12
phobiackirkland: Okay.21:12
kirklandphobiac: otherwise, you're just "hoping" that cjwatson comes back after Heroes and notices your message in IRC21:13
kirklandphobiac: Launchpad would ensure that he takes care of it21:13
phobiackirkland: I'll file one then.21:13
kirklandphobiac: https://bugs.edge.launchpad.net/ubuntu/+source/debian-installer/+filebug21:13
kirklandphobiac: attach that output to the bug21:13
phobiackirkland: What should I name the bug?21:15
kirklandphobiac: Fujitsu U820 Hard Disk not detected by the installer21:15
kirklandphobiac: or something like that21:16
phobiackirkland: I'll go with that21:16
phobiacShould I put the actual output, or the link to pastebin?21:17
phobiacI'll just put both.21:20
phobiackirkland, cjwatson: https://bugs.edge.launchpad.net/ubuntu/+source/debian-installer/+bug/314175 That's the bug, is there anything else I should put into it?21:21
ubottuLaunchpad bug 314175 in debian-installer "Fujitsu U820 Hard Disk not detected by the installer" [Undecided,New]21:21
phobiacI have to go. Thank you for your help, if there's anything else I can do to help out with the bug just contact me through launchpad or something.21:24
=== robbiew1 is now known as robbiew
kirklandcjwatson: actually, good news ...22:24
kirklandcjwatson: i dropped to a command shell in the installer and did "adduser --encrypt-home foo1"22:24
kirklandcjwatson: that seemed to work well22:24
kirklandcjwatson: so if possible, please re-enable the encrypt-home debconf question22:24
cjwatsonkirkland: ok, will do22:30
kirklandcjwatson: thx much!22:30
cjwatsonkirkland: some build system context might help you for the kernel confusion you had22:30
cjwatsonkirkland: firstly, I've probably said in the past that the installer kernel is an exact copy of the kernel in the archive (and modules are spread out among various other udebs, and built into the initrd)22:31
cjwatsonkirkland: what I may not have said is that the kernel is not copied afresh from the archive on each CD build22:31
cjwatsonkirkland: it's only copied when the debian-installer source package is built, by way of an ordinary source upload; and then CD builds fetch the pieces from its output22:31
cjwatsonkirkland: so put that together with the fact that d-i was last built against the *first* kernel in the -4 series, and that the set of things built in has changed throughout the -4 ABI series - and that explains the discrepancies you're seeing22:32
kirklandcjwatson: ah, so it's somewhat manually sync'd into the installer22:32
cjwatsonCarlFK: dunno why you've filed a bug showing an I/O error on /dev/sdb5 against debconf22:32
kirklandcjwatson: gotcha, i did seem to run up against various sync/race conditions, as to whether or not the kernel in the installer had the magik i needed ;-)22:33
cjwatsonCarlFK: you sure you don't have hardware trouble?22:33
cjwatsonkirkland: we used to do automatic daily builds, but that didn't work so easily when we switched to Soyuz, and we decided it wasn't all that important to continue doing so. It's very rare that it makes a difference - you've just been unlucky :-)22:40
kirklandcjwatson: :-)  gotcha.  i do realize this is quite the exceptional situation22:41
kirklandcjwatson: i did file a bug against partman-lvm, regarding lvm+crypt in jaunty, not yet working22:41
cjwatsonyes, I reassigned it to partman-crypto22:41
cjwatsonprobably more fallout from building in dm modules22:41
cjwatsonwill have a look in a bit22:42
kirklandcjwatson: doh, sorry, i should have known partman-crypto22:50
kirklandcjwatson: i thought that might be the case (fallout of builtins)22:50
kirklandcjwatson: which is why i tested that case22:51
=== TheMuso_ is now known as TheMuso
CarlFKcjwatson: i think it was caused by a improperly shut down win/ntfs session (probably just killed power)22:55

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