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

CIA-1usb-creator: evand * r46 usb-creator/ (debian/changelog usbcreator/backend.py):07:06
CIA-1usb-creator: Fix crash when the shutdown function would get called before the install07:06
CIA-1usb-creator: process began (LP: #277869).07:06
CIA-1usb-creator: evand * r47 usb-creator/ (4 files in 3 dirs): Added an icon (taken from Ubiquity until we have an icon of our own).07:17
davmor2evand, cjwatson: netboot mini.iso still stop at the boot: prompt rather than the selector screen.08:48
CIA-1usb-creator: evand * r48 usb-creator/debian/changelog: Added LP bug reference.08:48
evandnew kernel?08:49
evandI don't think it would be, but can anyone see anything especially evil with doing the following as part of usb-creator's bootloader installation: dd if=/usr/lib/syslinux/mbr.bin of=/dev/sdb bs=446 count=1 conv=sync09:18
evandin addition to calling syslinux regularly09:19
evandI'm trying to mitigate issues people are having with No Bootloader Found messages and the possibility that users could have another bootloader already installed to the MBR09:20
evandwhere /dev/sdb is the parent device of the target install partition.09:21
persiaevand, It should be safe under the assumption that people don't already have a bootloader on their USB stick.09:28
evandthat they don't want to keep using, of course09:29
evandbut right09:29
persiaevand, Well, given the effort to ask users to manually delete stuff when using usb-creator twice on the same key, it's probably worth thinking about a more robust solution for jaunty, but for now, that seems a reasonable hack.09:33
evandWhat do you mean by delete twice on the same key?09:34
persiaLast time I used usb-creator, if I wanted to put a different image on the same 1GB key, I was given a nautilus window to delete stuff to make space for the image.  That's what I mean, although if you changed it, it becomes moot.09:35
evandoh, of course.  It doesn't currently factor in what files its going to delete as part of the free space calculation.  That's a glaring bug that I need to fix.09:36
evandpersia: However, does this connect somehow to the bootloader discussion?  That's where I'm getting confused.09:36
persiaJust that because the tool is careful about the contents of the data partition, being similarly careful about the contents of the boot partition seems reasonable.09:37
persiaMind you, that's not something worth fixing now, as it's a string change, and would break translations, etc.09:38
evandpersia: ah, indeed and noted.  Thanks for the advice.09:39
ganescjwatson, i didnt get the help from ubuntu for getting the output from grub prompt .. please if you know tell me11:00
ganescjwatson, i didnt get the help from #ubuntu for getting the output of grub prompt to any file .. tell me if you know the answer11:13
persiaganes, Repeating yourself here is very unlikely to make any difference in the response you get, other than perhaps comments like this one discouraging repetition.11:16
ganespersia, ok11:22
nebuchadnezzarcjwatson: thanks again :-) it works12:27
cjwatsoncool12:27
cjwatsonsorry it's so kludgy, it gets a bit easier in intrepid (with the introduction of partman/early_command) but we could still do with a more direct syntax12:27
nebuchadnezzarcorrectly wrapping lines and a little comment above make it really understandable12:29
ganescjwatson, can you answer me12:55
cjwatsonno, sorry.12:55
cjwatsonthis is a developer channel, not for user help12:55
cjwatsonI'm happy to help people out when it stands a good chance of the installer being improved as a result, but you're just repeating questions over and over again. I've already given you the basic tools that may help you get where you need to go, but beyond that I'm afraid you're going to have to sort it out yourself12:57
ganescjwatson, ok , you gave command with that i tried eventhough it is not solving my problem12:58
cjwatsonok, I'm sorry but I am not available to help you any further12:58
cjwatsonplease do not ask further questions about redirecting output from grub to a file in this channel12:59
ganesganes, i have customised the hardy ubuntu filesystem but the ubiquity is not working12:59
ganesganes, before getting the password .. it is searching & stopping there itself why13:00
ganescjwatson, the above query is for you .. sorry13:01
ganescjwatson, little bit tense13:01
cjwatsonganes: this is a developer channel.13:01
cjwatsonif you have customised it and it broke, it is up to you to figure out which of your customisations was responsible.13:02
cjwatsonI have told you this before.13:02
ganescjwatson, but i have not changed anything in ubiquity13:02
ganescjwatson, that only surprising me13:03
cjwatsonYou produced a customised image. Your image is broken where the original is not. Therefore your customisations were responsible.13:03
cjwatsonThis is really simple logic.13:03
davmor2cjwatson: netboot mini.iso is still stopping on that first boot: prompt rather than the install selection screen.13:03
cjwatsonganes: I accept that you do not believe you have changed anything in ubiquity, but I cannot help with everyone's customisations of Ubuntu. I have enough to do with Ubuntu itself.13:03
cjwatsonganes: Please do not ask us any further questions about your customised image unless you're coming with suggested patches.13:04
ganescjwatson, it is booting every application is running perfectly execpt this ubiquity.. i shown to many peoples .. but there is no solution13:04
cjwatsonI'm sorry to have to say that but you have been badgering us for weeks.13:04
cjwatsondavmor2: I know, haven't figured out that bug yet :(13:04
davmor2cjwatson: okay np's just letting you know :)13:05
ganescjwatson, ok thanks for your kindness13:05
cjwatsonganes: the installer is quite sensitive to some relatively small details of CD construction (e.g. the presence of .disk, which most applications won't care about). You have to get it exactly right.13:05
=== davmor2 is now known as davmor2_lunch
ganescjwatson, you said this before itself .. i did eventhough13:06
cjwatsonWe need to be able to use this channel for development. I must ask you to stop asking customisation questions here.13:06
ganescjwatson, anyhow i am happy of seeing my customised image .. following your ubuntu docs13:07
ganescjwatson, ok stopping13:07
cjwatsonthank you13:07
xivulonfyi my issue with X was due to having left nolapic boot arg13:31
jussi01persia: decided to wander in at least13:39
jussi01:)13:39
jussi01evand: Im told you may be interested in having a peek at bug 28695013:40
jussi01err, no ubottu clone in here? have to fix that...13:40
persiajussi01, Don't put a bug bot in here, please.13:41
jussi01persia: ok.13:41
cjwatson286950 is Forbidden13:42
cjwatsonso a bug bot would make little difference, as it wouldn't be able to see it13:42
jussi01cjwatson: but it would give a url...13:43
cjwatsonI'd be OK with a bug bot in here13:43
StevenKbugs.launchpad.net/<bug number>13:43
cjwatsonbugs.launchpad.net/bugs/<bug number> you mean13:43
StevenKEr, yes13:44
StevenKTo be perfectly honest, I have a Firefox shortcut 'lpbug <number>' and it just fixes it13:44
cjwatsonjussi01: install gksu13:44
jussi01cjwatson: if you want her gone, ping me13:44
cjwatsonshould be fine, thanks13:44
jussi01cjwatson: seems to be working fine now. perhaps we need to add a dep to the package?13:48
cjwatsonshould fix the privilege escalation instead. all the world doesn't use gksu :)13:48
cjwatsonbut a dependency would be good for now, yes13:48
cjwatsonanyway, wait for evand to show up :)13:48
jussi01ok, (and yeah, Id love to see it using kdesu )13:48
cjwatsonthat would make more sense if it had a KDE frontend, don't you think? :)13:50
jussi01cjwatson: exactly my point... ;)13:50
jussi01anyway, I hang around for evand if he needs any info.13:52
=== davmor2_lunch is now known as davmor2
CIA-1usb-creator: evand * r49 usb-creator/debian/ (changelog control): Add dependency on gksu. Thanks Colin Watson (LP: #286950).14:05
evandjussi01: ^14:06
sorencjwatson: Do you remember if the installer does anything special w.r.t. to /var/run/network ? I'm trying to work out why https://bugs.edge.launchpad.net/vmbuilder/+bug/276365 is necessary.15:15
ubottuLaunchpad bug 276365 in vmbuilder "/var/run/network is not created" [Undecided,Fix committed]15:15
cjwatsonI don't see how it could, that would be cleared on boot15:15
sorencjwatson: Exactly.15:16
cjwatson/etc/init.d/loopback creates /var/run/network15:16
cjwatsonI don't suppose you've removed ifupdown?15:16
sorenWell, it makes a bit of a difference..15:16
cjwatsonsince that's where that init script lives15:16
sorenif /var/run/network exists on the filesystem, it'll be availabale before /var/run is mounted and /var/run/network is created, but I don't see why it's necessary.15:17
sorencjwatson: Let me check..15:17
soren14:11:27 < nijaba> soren: it only occurs when /var is on a separate partition/disk15:18
soren14:12:14 < nijaba> soren: when the vm first start, there is a process that tries to create /var/run/network during first boot, but fails as it tries to do so before /var is  mounted15:18
soren14:12:31 < nijaba> soren: subsequently all network operations fail15:18
sorenAh, so it might jsut be that /var/run needs to exist on the root file system..15:19
sorenThat still doesn't explain why nijaba's patch fixes anything, though.15:19
cjwatsonnow, there is some careful stuff in the installer for /var/run15:19
jussi01evand: thanks :)15:20
sorencjwatson: Don't spend any time on it. I'll work it out. I just wanted to hear if you knew that you did something special to handle it in the installer.15:20
sorencjwatson: Oh, really?15:20
cjwatsonsee partman-target/finish.d/mount_partitions15:20
cjwatsonif /var is a separate filesystem then you need to arrange to create /var/run and /var/lock on the root filesystem *before* /var is mounted15:20
sorencjwatson: Got it, thanks.15:21
cjwatsonsee bug 4414215:21
ubottuLaunchpad bug 44142 in partman-target "Doesn't create /var/run or /var/lock directories underneath /var mountpoint" [Critical,Fix released] https://launchpad.net/bugs/4414215:21
james_wI've reproduced the persistence shutdown errors on another machine, but I can't get a different USB stick to boot. I can buy another if you think it could be the stick's fault.15:55
evandjames_w: where does the boot fail?15:57
james_wevand: no it's the (aufs?) errors on shutdown that I'm seeing15:57
evandjames_w: indeed, I was just curious as to why you couldn't get the other USB stick to boot.15:58
evandjames_w: Can you create a bug report with your findings thusfar so we can track this?15:58
evandIf you have not done so already15:58
james_woh, the BIOS just doesn't pick it up for some reason, I'll try another machine15:58
james_wit is a lot larger, so I don't know if it's just too large for that machine to use15:59
evandjames_w: Created using usb-creator?  It's a bug, install-mbr /dev/$device should fix that for you.15:59
james_wthat'll be it15:59
james_wthis machine is a bit more verbose15:59
james_w/dev/sdx not /dev/sdx1 I assume?16:00
evandcorrect16:00
james_wwould you like the bug on casper?16:01
evandindeed, thanks16:01
james_wyep, second key (same manufacturer) shows the same symptoms.16:09
james_wbug 28702716:17
ubottuLaunchpad bug 287027 in casper "persistence leads to filesystem errors on shutdown" [Undecided,New] https://launchpad.net/bugs/28702716:17
evandthanks16:21
superm1xivulon, http://pastebin.com/f557ba44f is the log16:24
superm1xivulon, oops that's not it, let me find the right one16:25
superm1xivulon, http://pastebin.com/f67afbe64 is the right one.  it only happens if you are connected to a network, but NOT connected to the internet16:25
CIA-1tasksel: cjwatson * r1384 ubuntu/ (debian/changelog tasksel.pl):16:32
CIA-1tasksel: Tell apt to install Recommends, just in case tasks are incomplete in16:32
CIA-1tasksel: this regard (e.g. a task containing a metapackage that manually depends16:32
CIA-1tasksel: on a metapackage for another task; LP: #276317).16:32
cr3might there be an appropriate place to set gconf variables for a particular user during the installation process?17:05
cr3worst case, I'll just do: in-target sudo -u user gconftool-2 ...17:07
cjwatsonthat's about the best available17:08
=== davmor2 is now known as davmor2_tea
=== davmor2_tea is now known as davmor2
davmor2xivulon: wubi removal bar works well now :)18:51
kirklandcjwatson: http://pastebin.ubuntu.com/60623/19:02
kirklandcjwatson: i just confirmed a report that installs to raid0 and raid5 devices are broken19:03
kirklandcjwatson: i'm verfied that pastebin'd fix for the raid0 case19:03
kirklandcjwatson: i'm testing raid5 and regression testing raid1 now19:03
xivulondavmor2 cool19:36
xivulonsuperm1 the last log seems ok19:36
xivulondavmor2, I got stacked yesterday running the system cleanup utility, didn't dig though19:38
xivulonsuperm1, let me find the "wrong" log19:38
xivulonhmm all logs look good to me19:40
davmor2xivulon: system cleaner basically says there is no relatime option in the host fstab line19:41
superm1xivulon, yeah its just at the "reboot" screen that wubi's exe crashes19:44
superm1xivulon, so it did finish "successfully" doing all the other steps19:45
superm1you should be able to reproduce it if you set up virtualbox with networking but then disable your wireless or unplug your cat519:45
superm1i can reliably reproduce it by doing that19:46
xivulonsuperm1 will try that20:02
xivulonby the way I thought relatime was the default... having the old atime with no caching and syncio in ntfs isn't going to be to be too nice...20:04
xivulonwell in fact that should be mostly irrelevant20:07
xivulonbut is it now usual to have explicit relatime in fstab?20:08
evandxivulon: might be worth talking to liw about.  He's system-cleaner's main author.20:10
xivulonevand, will do20:12
xivulonevand liw suggests to add relatime to wubi, too late to do that? the change is simple enough on my side20:14
xivulonhmm maybe not, the / line is set in partman-auto20:15
xivulonwas thinking about /host20:15
evandxivulon: I am fairly certain that the only kind of change that can get in now is something very, very critical.  That said, slangasek and #ubuntu-release would be able to give you a much better assessment.20:16
xivulonlet me quickly find the relevant code20:16
evandFYI, slangasek stepped out for a bit, but I imagine he'd answer such a question promptly when he returns.20:17
kirklandevand: do you know anything about open_infifo?20:36
kirklandevand: /lib/partman/fstab.d/ext3 is hanging there20:36
kirklandcannot create /var/lib/partman/infifo20:37
kirklandthat file exists20:37
kirklandhas:20:37
kirklandPARTITIONS =dev=md020:37
kirklandbut that's all20:37
kirklandi have multiple md devices in this installation20:38
kirklandmd0 is raid120:38
kirklandmd1 is raid520:38
kirklandcjwatson: ^20:38
evandhrm, not sure.  Can I see a full set of logs (syslog and partman)?20:38
kirklandevand: http://pastebin.com/f7d917a8020:40
kirklandevand: http://pastebin.com/f5b0feafc20:40
kirklandevand: btw... i bought pair of lizard-skin cowboy boots last weekend ;-)  found a thrift store with some sweet deals on boots20:42
evandnice!20:43
evandkirkland: Can you repaste the second log to http://paste.ubuntu.com ?  Pastebin.com seems to be having issues.20:44
kirklandcjwatson: evand: I posted a one-line patch for https://bugs.edge.launchpad.net/ubuntu/+source/mdadm/+bug/28711220:44
ubottuLaunchpad bug 287112 in mdadm "intrepid installer hangs when installing to raid0 or raid5" [High,In progress]20:44
kirklandevand: http://pastebin.ubuntu.com/60655/20:44
kirklandevand: be back in 10 minutes, need to grab a coffee20:45
evandgiven your comment in the bug report about testing it against !raid1 and raid, I'd be happy to sponsor that.20:46
evandhrm, do we not keep this in a VCS?20:48
xivulontalking of raid0-1 I haven't tested wubi on that, could someone with software raids give it a go?20:51
evandindeed, looks like partman-auto-loop's fault20:52
evandit's my understanding that you cannot call close_dialog until you've read it all20:55
evandin fstab.d/hostboot that is20:55
evandmight be a red herring though20:55
xivulonevand are you talking about fstab mount options?20:56
xivulonI think that refers to the / line not sure adding mount options to bind mounts is a good idea (probably they would be ignored)20:57
evandyes, fstab.d/hostboot20:57
evandkirkland: can you stick a set -x at the top of that and give it another go20:57
kirklandevand: all of my raid testing has been in vm's20:58
xivulonevand, hostboot generates the /boot line in fstab, the / line is generated in some other partman library (forgot which) and having to use IE6+LP to search the code is less than optimal :(20:58
kirklandevand: at the top of what?20:58
evand /lib/partman/fstab.d/hostboot20:58
xivulonyep that generates boot, there is one other script that generates the line for /20:59
kirklandevand: and "give another go" means running it from the command line, or restarting the install20:59
evandrestarting the install please20:59
kirklandevand: okay, it takes me a while to do all of that partitioning, gimme a few minutes ;-)21:00
evandno worries, I'm here for another hour21:00
evandand will be back after that around 7-821:00
evandkirkland: I've sponsored your mdadm upload, but I'll leave it to you to take the case to -release for why it should be accepted and the CDs regenerated again.21:02
evandxivulon: sorry about that, I misread you the first time around21:03
kirklandevand: thanks21:04
kirklandevand: okay, i'm at the point in the installation just before the error21:13
evandok21:14
kirklandevand: i added -x to /lib/partman/fstab.d/hostboot21:14
evandset -x, right21:14
kirklandevand: and manually edited 07root_on_raid to add my fix21:15
evandok21:15
kirklandevand: i'll let the raid finish resyncing and then i'll pastebin the logs21:20
kirklandevand: what do you want?  syslog and partman again?21:20
evandja21:21
kirklandevand: http://pastebin.ubuntu.com/60670/21:23
kirklandevand: http://pastebin.ubuntu.com/60671/21:23
evandlooking21:35
kirklandevand: thoughts?21:42
evandnot sure, nothing is standing out21:45
cjwatsonkirkland: so only RAID1 can be degraded?21:58
kirklandcjwatson: well, RAID0 clearly cannot be degraded21:58
kirklandcjwatson: there's data missing in that case21:58
kirklandcjwatson: RAID5 should be able to be degraded21:58
kirklandcjwatson: but /boot can't be on a RAID5 device22:09
cjwatsonoh, right22:10
cjwatsonsure, patch seems fine then22:10
cjwatsoncheck that it does the right thing with non-RAID devices obviously (i.e. skips them ...)22:10
cjwatsonevand: hmm, yes, fstab.d/hostboot is on crack22:11
evandindeed22:39
TheMusoevand: Did you get around to filing that bug against dmraid?22:40
cjwatsonevand: something like http://paste.ubuntu.com/60697/ maybe?22:41
evandthemuso: not yet.  will do when i get home, but the good news is that dmraid definitely works on my borrowed Dell system22:41
evandcjwatson: no idea how to open a link from the ssh app in my blackberry, but ill take a look when i get back (roughly 1 hr)22:42
evandunless youre happy to just commit it22:43
AmenophisIIIhi, i tried to install kubuntu per netboot+netinstall on a encrypted lvm partition (tried several times manualy and guided paritioning). grub failed on reboot. is this the right channel to talk about it?22:45
TheMusoevand: Ok.22:45
cjwatsonAmenophisIII: what release?22:51
AmenophisIII8.10 beta22:51
cjwatsonAmenophisIII: we fixed a problem very like that just yesterday22:51
cjwatsonAmenophisIII: are you seeing /dev/dm-0 in the root= line in grub?22:51
AmenophisIIIiirc yes22:52
cjwatsonAmenophisIII: yeah, try again with a current archive22:52
AmenophisIIItried over the weekend... ended up with debian lenny :)22:52
cjwatsonAmenophisIII: this was ultimately due to dmsetup-udeb missing a set of udev rules22:52
cjwatsondevmapper (2:1.02.27-3ubuntu2) intrepid; urgency=low22:52
cjwatson  * Actually install udev rules in dmsetup-udeb, as was the case in hardy.22:52
cjwatson -- Colin Watson <cjwatson@ubuntu.com>  Mon, 20 Oct 2008 21:10:45 +010022:52
AmenophisIIIthanks22:53
cjwatsonI haven't tested with encryption yet, but it was broken without encryption too and I've verified that that case is fixed22:53
cjwatsonand yes, this is the right place :)22:53
AmenophisIIIjust to be sure... http://archive.ubuntu.com/ubuntu/dists/intrepid/main/installer-amd64/current/images/netboot/ these are the daily built ones.. with that patch included right?23:00
CIA-1ubiquity: cjwatson * r2916 ubiquity/debian/changelog: releasing version 1.10.723:01
AmenophisIIIim not familiar with ubuntu stuff at all, sorry :)23:01
CIA-1ubiquity: cjwatson * r2917 ubiquity/ (debian/changelog gui/qt/liveinstaller.ui): restore Jonathan's change23:02
cjwatsonAmenophisIII: err, yes and no23:02
cjwatsonAmenophisIII: the images in installer-*/current/ only contain the very core of the installer; it fetches the rest of itself from the archive23:03
cjwatsonAmenophisIII: so the patch is not included there, but only because the affected code isn't there either. If you simply rerun it using a current archive then it will fetch code including the patch23:03
AmenophisIIIroger23:03
AmenophisIIIlast question (hopefully :) the guided partitioning lacks functionallity: if there is an existing partition you dont want to touch, you geht asked, if you wanna use the remaining biggest block of free space or something... but you cant do lvm+encryption then23:06
AmenophisIIIit just makes a normal ext3 / and swap23:07
cjwatsonyou can do everything the automatic partitioner does manually if you prefer, it's just more work23:07
cjwatsonthat said I'm not sure why automatic lvm+crypto shouldn't work in that case23:08
AmenophisIIIok np for me... i just wanted to mention that, since im already here :)23:08
cjwatsonoh, it's a separate path - could you file that as a bug on partman-auto-crypto please?23:09
cjwatsonhttps://bugs.launchpad.net/ubuntu/+source/partman-auto-crypto/+filebug23:09
cjwatsonit's not done right now because it would require converting that into a two-level menu, I think23:10
AmenophisIII*registering23:10
AmenophisIIIhttps://bugs.launchpad.net/ubuntu/+source/partman-auto-crypto/+bug/287255 is that enough/what you were thinking about?23:22
ubottuLaunchpad bug 287255 in partman-auto-crypto "lack of options for remaining free block" [Undecided,New]23:22
cjwatsonyeah23:23
cjwatsonthanks23:23
evandcjwatson: obviously looks reasonable, but I don't have a Windows partition to test it with wubi (VMWare doesn't like 2.6.27).  kirkland can you test that it fixes the issue for your setup?23:46
kirklandevand: hmm, what are you asking me to test?23:47

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