/srv/irclogs.ubuntu.com/2008/10/15/#ubuntu-installer.txt

james_ware they required to be fat32 formatted?00:00
TheMusokirkland: For some reason I am unable to merge your branch: bzr: ERROR: Cannot lock LockDir(lp-29098832:///~vcs-imports/grub-installer/main/.bzr/branchlock): Transport operation not possible: readonly transport00:00
kirklandTheMuso: huh?00:00
kirklandTheMuso: weird00:00
TheMusokirkland: good question.00:00
james_wTheMuso: are you trying to commit in a checkout of a http branch?00:01
TheMusojames_w: I am trying to merge a branch into a lightweight checkout.00:01
evandjames_w: yeah, it looks for a vfat partition, if it doesn't find one, it gives you an option to format the entire device to create one00:01
james_wevand: it may well be a bug there, give me a few to play a bit more00:01
evandI suspect the calls to partman might be lacking certain necessary options as there's been more than one bug report about this00:01
james_wTheMuso: I suspect you have a lightweight checkout over http:// rather than bzr+ssh://00:02
evandjames_w: perhaps try setting the lba flag using parted00:02
kirklandTheMuso: I was able to branch bzr branch lp:~kirkland/grub-installer/28149200:02
TheMusojames_w: I am almost certain I don't, but I will double check.00:02
james_wTheMuso: "bzr info" may help00:02
xivulon_evand, isn't proper_mountpoints supposed to be run after autopartition-loop?00:04
evandxivulon_: yes, it will be as it's in check.d00:04
xivulon_does not look like autopartition-loop has been executed at all by the time check.d is run00:05
james_whey xivulon_, how are you/00:05
xivulon_hi james_w00:05
kirklandTheMuso: any luck?00:06
TheMusokirkland: Seems better once I used the full URL to checkout the main branch of grub-installer and merging yours now. Very weird.00:06
kirklandTheMuso: so i've tested this patch, and it works00:07
james_wTheMuso: do you have "bzr launchpad-login" set?00:07
TheMusokirkland: Great.00:07
kirklandTheMuso: the only thing that bothers me is that I never did figure out *where* frdisk was getting set00:07
TheMusojames_w: Yes I do, as I use it elsewhere.00:07
kirklandTheMuso: but this patch definitely "un-sets" it in the /dev/vd* case00:07
TheMusokirkland: The best way I have tracked such things down is to use set -x on the script, and open the execution path and the script side by side, and follow them both to see what logic is used and where variables are set.00:08
kirklandTheMuso: true, that's my method too ;-)00:08
xivulon_yep it looks like autopartition-loop is not being run00:09
TheMusokirkland: uploaded.00:17
xivulon_seems that autopartition-loop is supposed to be started by 10initial_auto, but that one exits quite early because of get_auto_disks return null00:37
xivulon_cjwatson, evand ^00:37
xivulon_/var/lib/partman/devices/ is empty00:39
xivulon_which is because in partman/init.d/parted: # Exclude devices that have mounted partitions.01:30
xivulon_well far too late, bed time01:32
xivulon_ah preseeding partman/filter_mounted does the trick...01:47
xivulon_evand please upload wubi rev 511 which corrects the above01:53
xivulon_really bed time01:54
=== bdmurray_ is now known as bdmurray
evandah, my mistake for not mentioning that.  It didn't immediately occur to me that it would affect you.04:56
evandWill do.04:56
evandxivulon: done, it should show up in the next CD build.05:15
evandI think it would be wise for me to start making mention of new preseed keys on ubuntu-installer@lists.ubuntu.com.  I've made a note to remember to do that next time as part of the ubiquity release process.05:22
TheMusocjwatson: Seems that a recent update probably to grub has solved the netboot dmraid installation alongside windows issue I was seeing.06:11
evandTheMuso: root-by-uuid or something else?06:15
TheMusoevand: Not sure.06:15
TheMusoIt works, thats all I'm really concerned about now.06:15
evand:)06:15
=== ago_ is now known as xivulon_
xivulon_cjwatson, could you please apply the fix mentioned in 283520?08:27
xivulon_fyi I also found the reason of "No root file system" see ^^08:28
CIA-14grub-installer: cjwatson * r749 ubuntu/ (debian/changelog grub-installer):09:21
CIA-14grub-installer: Cope with new UUID-style groot when handling09:21
CIA-14grub-installer: grub-installer/bootdev_directory (LP: #283520).09:21
CIA-14grub-installer: cjwatson * r750 ubuntu/debian/changelog: releasing version 1.32ubuntu809:23
evandI was hoping to have a fix for the Kubuntu issue to upload with ubiquity, but I can no longer reproduce that, so rather hold up the release I'll take care of uploading it now.09:24
evandrather than09:24
evanderm, actually09:25
evandI should probably wait for that grub-installer upload to hit the archive09:25
davmor2evand: which one on Kubuntu?09:26
evandoh good, you're here09:26
davmor2I'm doing smoke test latter I can see if I can still reproduce it.09:26
evanddavmor2: can you still reproduce bug 27042309:26
evandwith the latest daily-live Kubuntu CDs?09:26
evandok09:27
evandmuch appreciated09:27
davmor2evand: I'll ping you after and let you know09:29
cjwatsonevand: as I noted in the bug I suspect my fix might actually be wrong ...09:29
cjwatsonI'm not sure what the semantics of translating UUIDs to grub4dos ought to be09:30
cjwatsonif you happen to know, please take a look09:30
yannickm1cjwatson: Are you there ?09:37
cjwatsonyannickm1: phone09:38
yannickm1k09:38
xivuloncjwatson, evand, did you see ^?09:50
xivulondo you want me to contact grub4dos devs?09:50
xivulonI would need to add UUID discovery to wubi too (was under the impression that UUID were not going to land in time), now grub4dos uses heuristics (find --set-root)09:52
xivulonah 283520 is fixed already, many thanks cjwatson09:58
evandxivulon: not necesarily.  See what cjwatson said above.09:59
* evand bed09:59
xivulonah one sec have a bit of catch up to do10:00
xivulonhmm cjwatson I an not sure UUID/relative/path is supported in wubi (using "root ()/relative/path" will certainly work)10:05
xivuloneven if support was added and the change goes into hardy updates we would need to ship a new grub4dos10:06
xivulonand that does not really change things much, since wubi has a first (embedded) menu.lst that loads a second menu.lst (the one edited by update-grub) using heuristic10:09
xivulonthe second menu.lst does not really change the root device (that is why an empty () is used), setting root there will not help matters10:10
xivulonI can change all of that but at this stage isn't it a bit late? Also the heuristic while clearly not elegant, has worked quite well so far and I had no complaints about that. It does not suffer from the multiple disks issues10:12
xivulonadmittedly far from bullet proof10:13
yannickm_cjwatson, i sent the logs and all related files to the mailing list10:13
davmor2cjwatson: is there meant to be an option in ubiquity to enable encrypted folder?10:37
davmor2evand: Seems to be working now :-/10:51
davmor2Kubuntu that is10:51
cjwatsondavmor2: no, didn't make it11:07
cjwatsonxivulon: ok, thanks, I'll tweak grub-installer11:07
davmor2cjwatson: Okay wonder if it was in and not showing up, that's okay then :)11:07
=== baali_ is now known as baali
CIA-14grub-installer: cjwatson * r751 ubuntu/ (debian/changelog grub-installer):11:17
CIA-14grub-installer: grub4dos can't handle UUIDs, so tweak previous change to continue using11:17
CIA-14grub-installer: groot=()/ubuntu/disks in that case (LP: #283520).11:17
CIA-14grub-installer: cjwatson * r752 ubuntu/debian/changelog: releasing version 1.32ubuntu911:19
cjwatsonxivulon: ^- should sort it out11:26
xivuloncjwatson thanks (I do not think there is any need to have anything inside of () but in practice it will work)11:27
xivulonsince groot=NULL -> groot=UUID -> groot=()/rel/path -> /me happy11:29
cjwatsonxivulon: yes, the result of the above will be ()/rel/path11:30
cjwatsonyannickm_: ok, got it, watch for a reply on the list shortly11:30
xivulondavmor2 can you please test the above once it reaches the ISO? (wubi rev511 + grub-installer 1.32ubuntu9)11:32
yannickm_cjwatson: Got you reply thanks for the help12:40
cjwatsonevand: I'll take care of ubiquity, sorry for holding you up earlier with grub-installer13:31
CIA-14ubiquity: cjwatson * r2901 ubiquity/ (d-i/manifest debian/changelog):13:34
CIA-14ubiquity: Automatic update of included source packages: grub-installer13:34
CIA-14ubiquity: 1.32ubuntu8, hw-detect 1.63ubuntu4, partman-base 121ubuntu8.13:34
cjwatsonor at least I will once translations download13:35
evandoh, no worries.  I held it up with Kubuntu.13:58
cjwatsontranslations downloading now14:01
james_wevand: hey, did you see my casper persistence assessment?14:05
evandchecking now14:06
james_wI apologise in advance for the patches14:07
evandjames_w: ah!  Thanks a bunch.  I'll give that a test and some more thought.14:09
evandFWIW, if you boot with break=top you can sed in changes to the casper scripts.14:09
james_wah, cool, that will be fun14:09
cjwatsonjames_w: I actually thought the first hack-patch was fairly reasonable :)14:55
james_wheh :-)14:56
xivulonevand by the way you could also have used grubinst/grub4dos in the live USB creator, not that it changes much, but it's confy to stay in the grub world15:00
cjwatsonCDs aren't in the grub world anyway15:04
xivulonif you extract the content of the ISO into a folder, you can load the kernel/initrd therein which will then do the rest15:05
cjwatsonlet's keep it as it is :)15:05
xivulons/folder/directory/15:05
persiaxivulon, One of the advantages of using syslinux over grub for USB is that one needn't worry about either the representation of the drive to grub in the booted system or calculating the UUID of the install media at media creation time.15:09
xivulonpersia, not that it matters, but I don't think that either issue would be a major stumbling block, as the grub4dos bootloader (grldr) can set the root based on a file match, and you could easily get the UUID of the target partition for use in kopt15:24
evandYou'd lose isolinux.15:26
evanderr gfxboot15:26
xivuloncorrect15:26
xivulonbut things such as kernel upgrades would be easier15:27
evandI think you're confused as to the purpose of this image.15:27
persiaThat's not ideal.  One of the things I don't like about the ubuntu-{mid,mobile} images is the lack of gfxboot.  While I'm unlikely to try to sort it for intrepid, making it definitely not work for USB is not ideal.15:27
evandIt does not get updated, it's effectively a live CD.15:27
persiaWell, with persistence, it could be updated, although I'd think it would be better to just do an install on a USB key for people who wanted that sort of thing.15:28
xivulonah you'll probably need casper in the initrd though15:30
xivulonso "upgrading" to a stock initrd will not get you very far...15:30
CIA-14ubiquity: cjwatson * r2902 ubiquity/debian/ (14 files in 2 dirs): Update translations from Launchpad.16:03
james_wI've just done some break=top testing, and the first patch does indeed fix it16:33
james_wit boots, and changes are present on second boot16:33
evandfantastic!16:34
evandI'll continue setting up a test after the meeting.16:34
james_wwill $PERSISTENT=1 become the default when it works?16:37
evandjames_w: can you elaborate on what you mean?16:38
cjwatsonwe'll be setting it on USB installs if the relevant widget is selected in usb-creator16:39
james_wgood16:40
james_wit would be pretty confusing otherwise :-)16:40
evand272318 is going to be difficult to fix as the labels are what is growing the partition bar to a large size, and I'm not sure how I could fit all of that text.  Any objections to me stuffing it in a scrolledwindow?16:45
cjwatsonnot I16:46
cjwatsonat this point, whatever gets the job done16:46
evandnoted16:48
CIA-14ubiquity: cjwatson * r2903 ubiquity/ (d-i/manifest debian/changelog):16:53
CIA-14ubiquity: Automatic update of included source packages: grub-installer16:53
CIA-14ubiquity: 1.32ubuntu9.16:53
CIA-14ubiquity: cjwatson * r2904 ubiquity/debian/changelog: releasing version 1.10.616:57
=== baali_ is now known as baali
charlie-tcaSomething went wrong fixing the manual partition thing, I think. It now takes my system 18 minutes to boot the live-cd dated 2008-10-1517:42
evandcharlie-tca: why do you suspect a fix for manual partitioning is the cause of the live CD booting slowly for you?17:57
charlie-tcaIt wasn't so slow yesterday.17:58
charlie-tcaCould have been another change, I guess.17:58
evandI suspect so.  The installer is completely removed from the boot process, save the "Install Ubuntu" menu option.18:00
charlie-tcaOkay, I'll try #ubuntu-testing then. Thanks18:01
evandno problem, sorry that I cannot offer more help than that.18:01
CIA-14casper: evand * r550 casper.trunk/ (debian/changelog scripts/casper-helpers):18:11
CIA-14casper: Skip remounting read-only in try_mount as it's unnecessary and18:11
CIA-14casper: breaks persistence. Thanks James Westby (LP: #274076).18:11
evand^ james_w: Thanks a lot.  It worked for me as well.18:12
CIA-14casper: evand * r551 casper/debian/changelog: releasing version 1.14818:16
james_wexcellent18:16
james_wI'll test again when that hits the dailies18:16
evandthanks18:16
james_wI get lots of errors on shutdown, I'm not sure whether it's to do with persistence, I need to boot again without "quiet splash"18:17
james_wI imagine it will be aufs troubles18:17
evandyikes18:17
cjwatsonI wonder if things are getting unmounted in the right order18:18
james_wevand: is it easy to capture a casper log like you did in that bug?18:20
evandquite18:20
cjwatsonit's saved in /var/log/casper.log18:20
cjwatsonoh, you mean with set -x?18:20
james_wif possible18:20
james_wand this is on shutdown18:20
cjwatsonwe should do a "debugging initramfs-tools and casper" session at UDS18:21
cjwatsonby "we" I mean "somebody else"18:21
evandhahaha18:22
james_w:-)18:22
evandjames_w: I just ran sed -i '2i set -x' scripts/casper after break=top.18:23
james_wand that ends up in /var/log/casper.log?18:24
evandit should18:24
evandor if it dies before you escape the initramfs, /casper.log18:24
james_wI need the shutdown part though, is that on volatile storage?18:26
cjwatsondepends how late you need it18:26
cjwatsonthe most practical approach might be to spew it to console and disable the actual reboot bit ...18:26
cjwatson(and turn off usplash so you can see it)18:27
davmor2cjwatson: I'm just trying the manual partitioning I'm getting a partman failed with exit code 14118:42
evanddavmor2: what version of ubiquity?18:43
charlie-tcaI got the same fail on todays cd18:43
cjwatsonI'm going out for a bit, will look later18:44
evandI suspect it's the segmented_bar bug18:45
davmor2evand 1.10.518:45
evanddavmor2: if I'm correct, that problem should disappear tomorrow.18:45
evandas the fix is in 1.10.618:45
davmor2evand would an update fix it?18:45
evandah, duh18:46
evandyes18:46
evandwell18:46
evandonce 1.10.6 hits the archive18:46
=== ago_ is now known as xivulon_
CIA-14ubiquity: evand * r2905 ubiquity/ (configure configure.ac): Bump to 1.10.719:57
CIA-14ubiquity: evand * r2906 ubiquity/ (debian/changelog ubiquity/frontend/gtk_ui.py):21:03
CIA-14ubiquity: Pack the table containing the partition bars in a scrolled window21:03
CIA-14ubiquity: (LP: #272318).21:03
xivulon_evand 01unmount_root create also issues, I assume I have to use ubiquity/partman-skip-umount22:30
xivulon_I meant 01unmount_busy22:33
xivulon_yep ubiquity/partman-skip-mount seems to work22:37
xivulon_but on post-inst I get a hard freeze when X starts22:37
julien_hello22:42
julien_I need help for installing ubuntu mobile edition (MID)22:42
julien_is it the right place for that?22:43
cjwatsonsome people here do know about it, but #ubuntu-mobile would be better I think22:43
julien_ok thanks22:44
xivulon_cjwatson is ^ correct? It will require a new22:50
xivulon_wubi release22:50
cjwatsonpreseeding ubiquity/partman-skip-unmount for wubi doesn't sound too bad22:54
cjwatsonif you spell it right :)22:54
cjwatsonI have no idea about the X freeze22:54
xivulon_on it's way...22:55
xivulon_X freeze is annoying not even alt+sysrq works22:55
cilkaycjwatson: Hi. I saw one difference between what I passed to the kernel for my preseed installation and what you suggested in your response to my question on the list. I have: append auto locale=en_CA console-setup/layoutcode=en_US You suggested console-setup/layoutcode=us Is that significant?22:58
cilkayAnd en_CA is not the same as en_CA.UTF-8 as far as I can tell.22:59
cilkayI want to end up with en_CA.UTF-8 for locale at the end of the installation.22:59
cjwatsoncilkay: yes, console layouts are not the same as locales23:00
cjwatsonconsole-setup/layoutcode is the same as what you would put in XkbLayout in xorg.conf23:01
cjwatsonthere is no XKB layout called "en_US"23:01
cilkayok23:01
cjwatsoncilkay: you can safely set locale=en_CA.UTF-8, although I think it may actually default to that anyway (the code is a bit twisty, I'd have to try it to be absolutely sure)23:02
cilkayI'm going to try another installation right now.23:02
cilkayFrom what I recall, I had tried setting to locale=en_CA.UTF-8 but I had gotten the prompt for locale when the system booted.23:03
cilkayIt was a week ago so that might not be accurate.23:03
cilkayI'll try right now.23:03
cjwatsonok, I'm seriously not getting any further with 283861 until I have coffee23:06
cjwatsonyou know when you zone out, read the same thing you just read, zone out, read the same thing you just read ...?23:06
cilkayNo, never happens here :)23:07
* TheMuso can agree with cjwatson on that one, although sleep is usually the fix for me. I am not a fan of pumping myself with coffee.23:07
cilkayI haven't been able to preseed away the prompt for removing existing logical volumes either so I gave up on LVM and just went for regular partitions.23:07
cjwatsonTheMuso: it definitely isn't good long-term23:08
TheMusocjwatson: Indeed, which is why I just stay away. :)23:08
cjwatsoncilkay: the hardy installation guide is wrong here - the correct rune is "d-i partman-lvm/device_remove_lvm boolean true"23:09
cilkaythanks23:10
cilkayI probably won't use LVM in any case because I haven't figured out how to specify a different volume group name per machine. I don't like naming them all the same thing because I've run into problems when I've had to move a physical disk from one machine to another and had a name clash on the volume group.23:11
=== ago_ is now known as xivulon_
xivulon_evand, please upload Wubi rev 51223:12
cilkaycjwatson: Just did another preseed installation taking into account your suggestions. Same problem. The keyboard mapping seems to be wrong because when I type, I see diamonds. I've pasted my configuration here: http://dpaste.com/84699/23:28
cilkayRats! It seems ssh is not running on the freshly-installed system.23:30
cilkayThat's because it wasn't installed. Doing another installation.23:32
cilkayThe keyboard mapping is fine, though I have no idea why.23:40
cilkayThe *only* thing I changed between the previous broken mapping and this one is that I enabled a commented out line for installing OpenSSH server23:40
cilkayI suspect that the "server" task has files for locales whereas "standard" might now.23:41
cilkaynot23:41
cilkayPreviously, I had:23:41
cilkaytasksel tasksel/first multiselect standard23:41
cilkayThe keyboard mapping was wrong and I couldn't ssh to the box to correct it.23:42
cilkayI commented out that line and removed the comment from the following line:23:42
cilkayd-i tasksel/first multiselect OpenSSH server23:43
cilkayNow the locale is fine and all is right with the world.23:43
cilkayI think I had two problems.23:43
cilkay1. I had set the layoutcode to en_US.23:43
cilkay2. Locales weren't being installed.23:44
cilkayAll the irrelevant bits that I had in the preseed file regarding console-setup probably had nothing to do with it.23:44
cilkayI had added those out of desperation when nothing else seemed to be working.23:44
cilkayI had the much simpler preseed file, as per the paste I have above, before and the keyboard mapping was wrong.23:45
cilkayAnyway, cjwatson thank you very much for putting me on the right track.23:45
cilkayI plan to document the whole thing once I've finished.23:46
cilkayI have a nice setup now with apt-cacher, PXE, and preseeding.23:46
cilkayI have to configure KDE with the kiosk tool and figure out how to deploy those changes.23:47
cilkayI'll probably use cfengine to handle change management.23:47
cilkayOh, another item on the TODO list... figure out how to get all these preseeded machines authenticating against OpenLDAP or OpenLDAP/Kerberos.23:49
cilkayI'm scarred by past encounters with both so I'm a bit wary of them but I figure the third time around might go smoother.23:50
cjwatsoncilkay: thoroughly bizarre - (a) locales aren't part of the server task (b) they shouldn't affect console-setup anyway!23:51
cjwatsoncilkay: (neither task has them, but pkgsel is supposed to install them anyway)23:52
cjwatsoncilkay: that said you ought to be putting openssh-server not OpenSSH server in tasksel/first23:52
cjwatsoncilkay: usually in order to figure out what's wrong with console-setup I need /etc/default/console-setup after the broken installation23:53
cilkayWhich I couldn't get to you because I didn't have sshd running.23:53
cjwatsoncilkay: I'm still somewhat interested in what's causing it, even though it's fixed for you, since you aren't the first person who's had the problem and I haven't really got to the bottom of it23:53
cilkayIt's easy for me to reinstall this and try to repeat it.23:53
cilkayIt takes only a few minutes.23:53
cilkayI have all the packages sitting in my apt-cacher cache and with PXE booting, it's a matter of me rebooting and typing "auto" at the grub prompt.23:54
cilkayBTW, the OpenSSH bit, I found that on-line somewhere.23:55
cjwatsonoh, hmm, I can't say I really support the 'auto' stuff, that's something that Phil Hands developed in Debian and I haven't taken a good look at yet23:55
cilkayNo, no. That's just my GRUB boot label.23:55
cilkayI could have called it "mickey mouse" and it would still work.23:55
cjwatsonit is? you have "append auto ..."23:56
cilkayOh that part.23:56
cilkayAgain, that I copied/pasted from someplace, don't recall where.23:56
cilkayGet rid of the "auto" there?23:56
cjwatsonTBH it probably doesn't make any difference, we don't have that stuff in our initrd :)23:57
cilkayI was talking about the boot label.23:57
cjwatsonthat doesn't matter23:57
cilkaycjwatson: Isn't this wrong? ==> tasksel tasksel/first multiselect standard23:59
cilkayNote the leading tasksel.23:59
cilkayThat should be "d-i", I think.23:59
cilkayThat could have been why it was borked.23:59

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