/srv/irclogs.ubuntu.com/2010/03/13/#ubuntu-installer.txt

evcjwatson: thanks for fixing my retranslation bug10:52
evr3920, that is10:52
cjwatsons'ok, was just looking for easy crash bugs to hoover up10:53
happyaronhi, could you have a look at this bug? https://bugs.edge.launchpad.net/ubuntu/+source/ubiquity/+bug/52378912:16
ubottuLaunchpad bug 523789 in ubiquity "Chinese language packs included in LiveCD, but not installed in target system" [Undecided,Confirmed]12:16
cjwatsonhappyaron: in future, please attach logs as separate files, it's easier for us12:21
cjwatsonhappyaron: looks like a consequence of bug 527641, which is fixed.  please try to reproduce with a current daily build12:23
ubottuLaunchpad bug 527641 in apt-setup "OEM mode (in Desktop i386) does not include the oem-config package or icon" [Undecided,Fix released] https://launchpad.net/bugs/52764112:23
happyaroncjwatson: oh thanks.12:25
cjwatsonhappyaron: heh, of course, the current daily doesn12:26
cjwatson't have Chinese language packs on the CD12:26
cjwatsonso you probably won't be able to tell.  In your logs, it tried to download them and failed12:27
happyaroncjwatson: but when you log out and select zh_CN at gdm, it will display in zh_CN12:28
happyaroncjwatson: I mean the bug is that the installer does not use the language pack that is already in the CD12:28
cjwatsonhappyaron: you misunderstand me12:29
happyaron?12:30
cjwatsonhappyaron: the CD you were previously testing may have had Chinese language packs on it - but the *current daily build* does not12:30
happyaronoh12:30
happyaronsee it12:30
cjwatsonand as a result, you won't be able to tell whether or not this bug is fixed :(12:30
happyaroncjwatson: let me ask pitti soon about this issue, he told it will be included12:31
cjwatsonlangpacks are often dropped due to CD space constraints12:31
cjwatsonpitti added the Chinese langpacks, and then had to remove them again later12:31
cjwatsonthis sort of thing always fluctuates throughout the release12:31
happyaronoh12:32
cjwatsonit's not a bug in itself, we just can't physically fit everything in, and we try to prioritise as best we can but some people are always bound to lose out12:32
happyaronyes12:32
cjwatsonlooking at the current list, it should be testable with Spanish or Portuguese12:32
cjwatsonor with German or Bengali on i386 onoly12:33
cjwatsononly12:33
happyaronoh, my arch is amd64, and install with harddisk12:33
cjwatsonis that "install to hard disk"?12:33
cjwatson(I'm sure my Chinese is much worse than your English - I just want to make sure I know what you mean)12:34
happyaronno12:34
happyaronI put the iso on hard disk12:34
cjwatsonoh, that's not supported anyway *shrug*12:34
cjwatsonif it works, you got lucky12:34
happyaronand use grub's function to load it.12:34
happyaronthe installation works12:34
cjwatsonlike I say - you got lucky.  we may break that in the future.12:34
happyaronheh12:34
cjwatsonthe reason it's not supported is that having anything mounted off the hard disk means that the partitioner may have trouble in some cases12:35
cjwatsonnot in all cases, which is presumably why you got lucky12:35
happyaronoh12:35
cjwatsonbut we don't promise that this installation method will work12:35
happyaronI used umount -l /isodevice12:35
cjwatsondoesn't matter12:35
happyaronand LiveCD can work12:35
happyaronbut alternate cannot12:35
cjwatsonif it works, good for you, if not, please don't complain :)12:36
happyaronyes I know12:36
cjwatsonanyway, *probably* not really relevant to this bug as such12:36
happyaronyes12:36
CIA-3console-setup: cjwatson * r137 ubuntu/ (Keyboard/KeyboardNames.pl debian/changelog): releasing version 1.34ubuntu1113:04
persiaI'm trying to install lucid server on a machine that requires EFI, using LVM, and it seems to skip setting up physical volumes for my volume group.  Does anyone have suggestions on how to investigate this?18:55
* persia stops hunting and just formats the disk manually.19:10
cjwatsonpersia: no reason why that should be the case AFAIK; I would've started by putting 'set -x' in /lib/partman/lib/lvm-base.sh to dump out a full trace19:39
persiacjwatson: I'll try that, since I failed utterly at manual partitioning (no GPT support in fdisk, no parted available in default server install environment).19:40
cjwatsonthe only thing I can think of is that maybe VALID_FLAGS doesn't say lvm on gpT19:40
cjwatsonGPT19:40
cjwatsoneven just /var/log/partman ought to expose that if that's the case19:40
cjwatsonno parted available> anna-install parted-udeb19:40
persiaBut I'm currently finding kernel errors reading the partition table, and am trying to figure out if GPT is even supported by the -server kernel.19:40
cjwatsonthat might be another known parted issue ...19:41
cjwatsondebian.master/config/config.common.ubuntu:1018:CONFIG_EFI_PARTITION=y19:42
cjwatsonso all Ubuntu kernels should support GPT19:42
cjwatsonmy VALID_FLAGS hypothesis looks wrong19:43
persiaanna-install worked great.  Since I first failed, I also tried a completly automated partitioning (guided, use whole disk), which also failed.  Would it be useful for me to start over again from scratch, attempt the LVM format, and file a bug with the logs?19:47
cjwatsonyes please19:47
cjwatsonit's interesting that plain whole-disk partitioning failed19:47
cjwatsonit *might* be easier to debug that first19:47
persiaOK.  I'll start with that case.19:48
persiaWould it be useful for me to leave this machine uninstalled for now, and be a test case for you during the week?19:48
cjwatsonif it's feasible for you to do so, yes19:48
cjwatsonif there's a possibility that GPT is Just Broken, I want to stomp on that quickly19:48
persiaCertainly.  It's a remote build server that I wanted to use to reduce load on my laptop, but it can wait for a few days.19:49
cjwatsonwere you selecting GPT manually in any way?19:50
persiaNo.  The disk came that way.19:50
persiaJust to make sure I'm preparing good logs.  Once I get the error page ("Failed to create a file system"), do I just extract /var/log/parted and /var/log/syslog, or do I need to go back to the main menu first?19:52
cjwatsongo back to the main menu first19:53
persiaThanks.19:53
cjwatson(and /var/log/part*man*, fwiw)19:53
persiaSorry.  I get a little sloppy at 5am.19:54
* cjwatson tries a quick GPT install19:54
cjwatsonbit tedious since if the "natural" format for the disk is MBR then you have to use expert mode19:55
cjwatsonhmm.  thinking about it it's a bit silly that we force the biosgrub partition to be aligned19:56
cjwatson(don't mind me, just thinking out loud)19:56
persiaIs that why I had all those strange <1MB bits of free space?19:57
cjwatsonoh, those are showing up as free space?  we should suppress those somehow19:59
cjwatsonmaybe align the ends of new partitions too19:59
cjwatsonactually it's odd that that didn't happen already20:01
cjwatsonhopefully the logs will elucidate20:01
persiaI just hope I didn't mess something up by fiddling with it previously.20:02
cjwatsonwe align to 1MiB boundaries a lot of the time now, because that's what various other things are coming to require, and it makes sure that we don't radically degrade performance when moved from disk to disk20:02
cjwatsonwith different topologies20:02
persiaThis makes sense, but the small bits look messy.  We should hide those, if we can.20:03
cjwatsonwe shouldn't actually end up with small bits, in general20:04
cjwatsonif we align both start and end (which I thought we did, looking at the code), they should match up20:04
cjwatsonanyway, will look at logs20:04
persiaIt's bug #53853620:04
ubottuLaunchpad bug 538536 in debian-installer "Guided Partitioning (full disk) did not work with native GPT disk" [Undecided,New] https://launchpad.net/bugs/53853620:04
cjwatsonok, thanks20:05
persiaThe leftover bits might have been because I tried to leave the original EFI partition alone.20:05
persiaI'll just shut the machine down: let me know if you want me to play with it more.  I'd rather not construct too many CDs, because it doesn't have a boot-from-USB feature.20:05
cjwatsonbug 538100 may be related20:35
ubottuLaunchpad bug 538100 in linux "Linux fails to read GPT(EFI) partition table created by both GNU parted and OSX diskutil" [Undecided,Incomplete] https://launchpad.net/bugs/53810020:35
cjwatsonthough I'm not *entirely* confident in the analysis there20:36
persiaI suspect the original partition map was created in OS X, or by initialising a factory disk with a partition map from an OS X install.20:41
persiaThat analysis matches what I found from searching, which indicated that we use a "legacy mode" for GPT.  No idea how true that is, and one of the pages I found included a comment from you actively disagreeing with the suggestions.20:42
cjwatsonthe analysis is bogus for a reason I'm about to explain20:44
cjwatsonposted.  now to see how much this applies to your bug.  I see you're on an Apple system20:46
persiaYes.20:47
cjwatsonso, you indeed don't have an EFI System Partition (no FAT partition with the 'boot' flag set)20:48
persiaI used to have one of those.  It got et.20:48
cjwatsonwhich means ultimately that the kernel won't recognise your GPT table as valid20:48
cjwatsonwhat happened to it?20:48
persiaI'm not sure.20:48
persiaIt was there on first install attempt.20:49
persiaIt wasn't there after first Guided Install (entire disk) attempt.20:49
cjwatsonit's not entirely obvious that it's there at the start, although it could be the one that's labelled "unknown".  I wonder why I see no evidence of the "boot" flag, though20:49
cjwatsondo you know which partition it was at the start?20:50
cjwatsonsda2 perhaps?20:51
persiaYes.20:51
persiaWell, not quite.20:51
cjwatsonthat's kind of hyooge20:51
persia /dev never showed any partitions for it20:51
persiaBut it was the second partition listed in the partman interface.20:51
cjwatsonsda2 at the start of your installation is a 308GB partition20:52
cjwatsonsecond, after a bit of free space?20:52
persiaOriginally, yes.20:52
cjwatsonright, so sda120:53
persiaAfter doing the Guided Install, I lost that partition.20:53
cjwatsonso two problems: (a) your original EFI System Partition wasn't detected as fat32, let alone as an ESP (b) autopartitioning didn't create an ESP20:53
cjwatsonI guess there's no way to restore to the original state?20:54
persiaI can take it to the shop and tell them it's broken.20:55
persiaI could try an OS X install.20:55
persiaDunno if either of those really gets it to factory-original state.20:55
cjwatsonan OS X install would probably be enough, though was that what was on it to start with?20:56
cjwatsonthe original state was: (some random partition, maybe efi system; big fat32; linux-swap)20:56
persiaI presume so.  I try to avoid booting vendor-supplied operating systems.20:57
cjwatsonfat32 doesn't sound characteristic of os x20:57
persiaIndeed.  That doesn't sound like the original state.20:57
cjwatsonnor does linux-swap for that matter :-)  that's a weird pairing20:57
cjwatsonthat's what PARTITIONS said at the start of your partman log.  did you boot d-i multiple times?20:58
persiaI'll try to dig up the "restore" disk, and see if I can do a fresh install of OS X, and then an install of Ubuntu and replicate the issue.20:58
persiaThrice.20:58
cjwatsonaha.20:58
persiaOnce with the LVM failures.20:58
persiaOnce again to try Guided Partiitioning.20:58
persiaAnd then again to repeat the Guided Paritioning to get logs.20:58
cjwatsonso that 1mb partition at the start might actually have been a biosgrub partition20:58
persiaBut I think I won't do that again :)20:58
cjwatsonI think they're all the same thing20:59
persiaThat name sounds familiar.20:59
persia(one of) the problems with OS X is that it requires a mouse to install :(21:09
cjwatsonso I can easily correct part of this in parted.  the tricky bit is identifying bios_grub partitions on the way in; they're essentially just data containers.21:09
cjwatsonoh, and I left myself a comment a while back to note that the automatic creation of bios_grub partitions doesn't work with automatic LVM partitioning21:26
cjwatsonfor tedious internal reasons21:26
persiaaha!  That's probably the issue with the guided parition then.21:27
persiaThe OS X reformat dance seems to have put back the original state.  LVM failure logs attached.  Shall I again restore state, and try Guided?21:27
cjwatsonI don't think I should need that immediately - the original state was what I was most interested in21:30
cjwatsonI think I have enough now to be going on with.  Thanks!21:33
cjwatsonI'll ask you when I have something ready for testing21:33
persiaSure.  Thanks for jumping on this at such an hour.21:34
cjwatsonpersia: fortunately, there are hacks that allow me to reproduce this without having to sacrifice the Apple system that my wife is actively using at the moment ...22:52
persiaexcellent.  local repoduction is always best.22:55
cjwatson(documented in https://wiki.ubuntu.com/Installer/Development/Tips now)22:57
persiaBut do let me know if there's something you want me to run, or test.  I don't mind holding off finishing the install, and contrary to popular wisdom, believe Apple has the best price/volume ratio in small machines right now (the alternatives were larger, pricer, or not amd64-compatible).22:57
cjwatsonI will certainly want an end-to-end test after fixing the issues I can reproduce22:58
persiaOK.  I'm heading off to have a day soon, so it'll have to be during the week.22:59
cjwatsonyup23:00
cjwatsonthanks for the help so far23:01
persiaBy helping each other we help ourselves :)  I perceive this as you spending a lot of time helping me get my build server installed.  Thanks! :)23:02
cjwatsonheh23:02

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