/srv/irclogs.ubuntu.com/2009/03/27/#ubuntu-installer.txt

cjwatsoncody-somerville: cdrom-detect/try-usb is all that's available right now00:19
cody-somervilleAre you familiar with the load-media installer component? what does that do?00:20
cjwatsonnot familiar enough to explain it, no00:21
cjwatsonbut it fits in the same slot as load-cdrom (i.e. the "Loading installer components" step), not in the same slot as cdrom-detect00:22
cody-somervilleok00:23
cjwatsonmountmedia does mount fixed disks, but I have no experience with the whole assembly00:23
cjwatsonit *might* be a reasonable thing to experiment with if you need this, but it might be a red herring too :)00:23
cody-somerville:)00:24
cjwatsonload-media itself seems to be only on Debian's floppy images right now. its dependencies media-retriever and mountmedia are on a wider selection of images00:25
cjwatsonalthough that makes sense because any given image can only really have one of {load-cdrom, download-installer, load-media}00:25
cjwatsonanyway, meant to go to bed half an hour ago - night00:26
cody-somervilleNight :)00:26
cody-somervillehmm... it says my preseed file is corrupt :/00:32
CIA-28casper: TheMuso * r601 trunk/ (3 files in 3 dirs):00:45
CIA-28casper: - Fix incorrect paths when chowning files.00:45
CIA-28casper: - Don't use /root for the ubiquity hook accessibility script, /target is00:45
CIA-28casper:  where the installed system is located.00:45
CIA-28casper: TheMuso * r602 trunk/ (3 files in 3 dirs):00:55
CIA-28casper: Remove laptop detect code. Its not currently working, and getting it to00:55
CIA-28casper: work requires invasive changes.00:55
persiacjwatson, Thanks for the update.  I lost track of that bug, and had removed those as part of bug 347207 (for which I'm just cleaning up).01:01
ubottuLaunchpad bug 347207 in user-setup "Ubuntu MID preseed uses experimental preseed value" [Undecided,In progress] https://launchpad.net/bugs/34720701:01
CIA-28casper: TheMuso * r603 trunk/ (3 files in 3 dirs):02:35
CIA-28casper: Only set pulseaudio settings and create the .orca directory if sed02:35
CIA-28casper: packages are installed on the live filesystem and installed system.02:35
CIA-28casper: TheMuso * r604 trunk/ (debian/changelog ubiquity-hooks/30accessibility): ubiquity-hooks/30accessibility: Copy orca settings to the installed system.02:47
CIA-28casper: TheMuso * r605 trunk/debian/changelog: releasing version 1.16603:39
z1d4n3Hello.10:08
z1d4n3Anyone around? I'm having an issue with the installer in the 9.04 beta. It won't pick up any of my HDD's partitions.10:08
evandz1d4n3: Are any of the partitions mounted?10:11
z1d4n3No10:12
z1d4n3I can mount them. Ubuntu picks them up fine.10:13
z1d4n3The installer sees my drive, just sda.10:13
z1d4n3No partition table.10:13
evandSo just to clarify, the installer sees your disk and lets you install to it on the automatic partitioning page, but if you select advanced, it doesn't show any of the partitions that you know exist?10:14
evandz1d4n3: Does `sudo parted /dev/sda print all` show them?10:14
z1d4n3Yes, exactly10:14
z1d4n3Uhh, "Error: Can't have overlapping partitions."10:15
z1d4n3"sudo fdisk -l" lists them all.10:16
z1d4n3(Thanks for the help!)10:16
evandsounds like your partition table is a bit wonky.10:16
z1d4n3Any way to fix a wonky partition table, or do I need to reformat the disk?10:18
evandz1d4n3: first, I'd make some backups if there's anything you care about on there10:18
evandthen I'd use fdisk to make sure the partition boundaries don't overlap and line up properly.  It might be more trouble than it's worth, honestly.10:19
z1d4n3All the data is backed up, however I just spent ~3 hours setting up an XP install. Shame to waste it.10:20
z1d4n3Meh, thanks for the advice.10:20
z1d4n3Have a good weekend.10:20
evandWondering if we can handle that situation better by at least throwing up a dialog with that error message.  Might have a poke through the partman source code a bit later as I'm not sure how such errors are currently handled.10:22
davmor2evand: if he has installed xp over the linux install I bet it has something to do with the 8meg of blank space that xp install after it's partition :)10:22
evandsurely Microsoft's partitioner knows how to properly write a partition table10:23
evanddavmor2: link?10:23
davmor2evand: xp's partitioner is kinda screwy when it comes to linux like it sees it as an invalid partition10:25
davmor2vista's knows what is there10:25
davmor2xp sp3 I think knows what is there but sp2 and earlier definately have issues10:26
davmor2evand: you need to remember it's microsoft there is only one partition the one with windows on :D10:28
evandheh10:30
davmor2evand: I'll have a look for some info10:30
cjwatsonexceptions from parted normally propagate upward and eventually do show up as dialogs10:33
cjwatsonbut it depends on exactly where they're issued10:34
evandah10:52
cjwatsonmight be instructive to look into how it works anyway, it's quite a spectacular pile of software ;-)10:53
evandabsolutely, just need to find the time11:09
CIA-28base-installer: cjwatson * r357 ubuntu/debian/changelog: releasing version 1.98ubuntu411:44
CIA-28console-setup: cjwatson * r99 ubuntu/ (Keyboard/KeyboardNames.pl debian/changelog): releasing version 1.28ubuntu711:49
CIA-28grub-installer: cjwatson * r777 ubuntu/debian/changelog: releasing version 1.36ubuntu511:51
CIA-28hw-detect: cjwatson * r112 ubuntu/debian/changelog: releasing version 1.71ubuntu611:54
CIA-28libdebian-installer: cjwatson * r190 ubuntu/debian/changelog: releasing version 0.61ubuntu211:55
CIA-28lilo-installer: cjwatson * r434 ubuntu/debian/changelog: releasing version 1.29ubuntu211:56
CIA-28partman-base: cjwatson * r145 ubuntu/debian/changelog: releasing version 129ubuntu411:58
CIA-28partman-target: cjwatson * r756 ubuntu/debian/changelog: releasing version 58ubuntu612:00
CIA-28pkgsel: cjwatson * r135 ubuntu/debian/changelog: releasing version 0.20ubuntu1412:02
CIA-28apt-setup: cjwatson * r165 ubuntu/debian/changelog: releasing version 1:0.37ubuntu1112:04
ogracjwatson, if i have a pre-partitioned, pre-fromatted SD card the livesystem sits on, should i be able to install to the free partitions ?13:06
cjwatsonogra: yes in principle, though you won't be able to change them13:09
ograi.e. i have mmcblk0p1 with the livesystem, mmcblk0p2 as swap and mmcblk0p3 as an empty 4G partition ... i get a warning that the content of mmcblk0p3 will be erased, but then ubiquity tries to unmount /cdrom and kicks me back to the partitioner, telling me it needs to make changes to the part. table (which isnt true)13:09
cjwatsonogra: but the implementation is wrong right now13:09
ograah13:09
cjwatsonogra: I'd like to debug that13:09
cjwatsonogra: please file a bug with syslog and partman attached13:09
ograwhere do i find partman ? seems not to be in /var/log/installer13:09
cjwatson/var/log13:10
cjwatsonactually, just use 'ubuntu-bug ubiquity' please?13:10
ograah, i looked to deep down :)13:10
cjwatsonthat'll save you having to find them and will automatically give me everything13:10
* ogra wonders if that will work without him having his LP data handy 13:11
ograhmm, seems to13:11
cjwatsonyou'll need to log in I'm sure13:11
ograit didnt ask13:12
ograah, now it does ... was just slow13:12
xivulonevand any feedback on wubi in beta?13:15
ograwow, ubuntu-bug knows that /usr/share/ubiquity/install.py was modified manually ... cool !13:19
ogracjwatson, bug 34958113:19
ubottuLaunchpad bug 349581 in ubiquity "ubiquity does not allow to install to pre-partitioned, pre-formatted device if the device contains the live filesystem" [Undecided,New] https://launchpad.net/bugs/34958113:19
xivulonunfortunately they have merged the wubi forum with the general ones and it is more difficult now to get feedback13:20
cjwatsonubuntu-bug is pretty hot13:27
cjwatsonthough I wish it wouldn't gzip the logs13:27
evandI need to start using it.  Muscle memory keeps preventing me from doing so.13:28
evandxivulon: none that I've seen.13:28
cjwatsonogra: the reason it thinks it's changed is that apparently you're changing mmcblk0p3 from ext4 to ext313:31
cjwatsonogra: was that intentional?13:32
cjwatson(actually, as it happens, I don't think this should require changing the partition table; but it may indicate a different bug ...)13:32
ogracjwatson, only in the the second try (wasnt intentional, i just selected the wrong fs)13:33
* ogra has to rush out now ... back later13:33
cjwatsonogra: the second try is the only relevant one; in the first try it didn't think the partition table was changed13:34
xivulonevand: http://ubuntuforums.org/showthread.php?t=110795013:58
evandxivulon: thanks!14:07
evandxivulon: I'll be away next week on vacation, but if you need an upload of wubi, just shoot me an email and I should be able to take care of it as I'll have my laptop with me14:08
cody-somervillecjwatson, does the diff ubiquity does between filesystem.manifest and filesystem.manifest-desktop remove dependencies?14:14
CIA-28ubiquity: evand * r3136 ubiquity/ (3 files in 3 dirs):14:14
CIA-28ubiquity: Move selecting a disk from radio buttons to a drop down box on the14:14
CIA-28ubiquity: automatic partitioning page. This saves a lot of space when14:14
CIA-28ubiquity: multiple disks are present and makes the code a little cleaner14:14
CIA-28ubiquity: (LP 325958).14:14
ubottuLaunchpad bug 325958 in ubiquity "Jaunty Alpha 4: Ubiquity windows does not fit on 1024x600 screen" [High,Triaged] https://launchpad.net/bugs/32595814:14
cjwatsonfilesystem.manifest and filesystem.manifest-desktop are both already dependency-expanded14:14
cody-somervillecjwatson, ie. if I just remove ubiquity from filesystem.manifest-desktop will it do the right thing?14:14
cjwatsoncody-somerville: no14:15
cody-somervilleokay14:15
cjwatsonI don't think so14:15
cjwatsoncody-somerville: the easiest way is to make sure to spit out filesystem.manifest-desktop at the appropriate point in the livefs build process, before installing ubiquity14:15
cody-somervillecjwatson, is the live-installer d-i component in Ubuntu?14:18
cjwatsonit's in universe, but entirely unmaintained for Ubuntu14:18
cjwatsonyou could have answered this question using rmadison14:18
cody-somervilleoh, neat14:18
cody-somervillecjwatson, does d-i expect all its components to be in main?14:35
cjwatsonyes14:35
cjwatsoncody-somerville: you should be able to override this by preseeding mirror/udeb/components to "main, restricted, universe, multiverse" (it's "main, restricted" by default)14:36
cjwatsonalthough that could have other unintended consequences14:36
cjwatsonif you want to do it as a boot parameter, mirror/udeb/components=main,restricted,universe,multiverse should work14:36
cody-somervillelh is hard coded to download the d-i components from main14:37
cody-somervilleso I was thinking I could add support to it to download d-i components from all components enabled in the build and just put them in /main on the disk14:37
cjwatsonseems plausible14:38
persiacjwatson, I'm not opposed to allow-password-empty, I just think MID can be fixed to not use it, and didn't want to maintain it.  I'm happy to won'tfix bug #347207 if you want to use it for other things.14:40
ubottuLaunchpad bug 347207 in user-setup "Ubuntu MID preseed uses experimental preseed value" [Undecided,In progress] https://launchpad.net/bugs/34720714:40
cody-somervillecjwatson, Also, I noticed that d-i tries to setup a PPOE connection. How do I preseed it to not do that?14:41
cjwatsoncody-somerville: that's one of the unintended consequences of using udebs from universe14:43
cjwatsoncody-somerville: you'll have to look into that yourself; it's not something we maintain14:43
cody-somervilleso just excluding the udeb would work?14:46
cjwatsonyou'll have to look into that yourself14:50
cjwatsonpppoe is not part of the questions asked by the core installer in main14:50
xivulonevand: noted, I'll be away from the 10th, will try to sort out the most annoying bugs this w/e, you are around right?14:58
superm1cjwatson, now that grub-pc is in main and showing up on live dvds, it should be possible to just preseed db_get grub-installer/grub2_instead_of_grub_legacy in situations that grub2 would be preferred, right?15:29
cjwatsonyes, d-i grub-installer/grub2_instead_of_grub_legacy boolean true15:29
cjwatsonwe'd definitely appreciate testing of that15:30
superm1will most definitely.  it will help to lessen a very ugly delta in china installations that's currently there.15:30
cjwatsonTheMuso: can you have a look at bug 311179?17:02
ubottuLaunchpad bug 311179 in parted "libparted does not return the correct devices to ubiquity" [Undecided,New] https://launchpad.net/bugs/31117917:02
cjwatsonit makes some sense, but I'm not sure how to detect this reliably ...17:02
=== cjwatson changed the topic of #ubuntu-installer to: http://wiki.ubuntu.com/Installer/FAQ | Development of d-i and ubiquity in Ubuntu | http://wiki.ubuntu.com/Installer/Development | If nobody answers, try ubuntu-installer@lists.ubuntu.com
cjwatson(InstallerDevelopment -> Installer/Development)17:22
cody-somervillecjwatson, How do I preseed partman not to ask to umount disks?17:31
superm1  d-i ubiquity/partman-skip-unmount boolean true17:33
cjwatsonin general, to find out how to preseed something, first check the installation guide (although I don't think this is there) and then run the installer in debugging mode so that you can see what question it's asking17:34
cjwatsonhmm, superm1's advice is valid but omits that the question is also in partman-base now17:34
cjwatsonevand: if partman-base is handling this, should that script be removed from ubiquity?17:35
cjwatson(for the implementation in partman itself, the preseeding would be 'd-i partman/filter_mounted boolean false')17:35
superm1actually in our seed we have the combination of both of those as I look, i don't recall the reasoning for using both, but before removing the ubiquity one, it would be best to ensure that it's really not necessary anymore17:39
cjwatsonof course17:39
evandindeed, I suspect that chuck of code can go away18:44
evandthough, perhaps we should hal-lock disks in partman so we don't run into a situation where they mount a disk after the first partman check18:44
cjwatsonI'm not too worried about that, as it strikes me as a "doctor, doctor, it hurts when I do this" kind of situation18:45
evandheh, fair enough19:45
cody-somervilleWhen I try to mounting a squashfs, I get mount: mounting /dev/loop0 on /mnt failed: No such device20:15
cody-somervilleWhat might be the problem?20:16
cody-somervillehmm... I just called a segmentation fault in mount20:18
evandcody-somerville: mount -t squashfs -o loop /mnt ?20:22
evandor is this in the depths of partman now20:22
cody-somervilleThats what I'm doing20:22
cody-somervillebut I get mount: mounting /dev/loop0 on /mnt failed: No such device20:22
cody-somervilleThen I did something and it caused "BUG: unable to handle kernel NULL pointer dereference at 00000080"20:24
evandDoes /dev/loop0 actually exist?20:32
cody-somervilleyes20:34
evandNot sure, I'd ask in -kernel.20:38
btmdoes beta installer for jaunty have new gpg keys in it?20:44
btmfor the repositories?20:44
cjwatsonbtm: the archive's gpg key has not changed, so why would it need to?21:17
btmcjwatson: I was getting a GPG signature error using netboot=20081029ubuntu21. Moving to netboot=20081029ubuntu28 resolved the problem.21:18
btmduring the base install. last time I tested the installer was a couple weeks ago and it was working. 'spose it doesn't matter since the beta release works.21:21
cjwatsonI don't know why that would have been; it could have been due to Release and Release.gpg genuinely being out of sync on your mirror for a period, and it so happened that by the time you moved to ubuntu28 it was fixed21:29
cjwatsonat any rate, the keys definitely haven't changed21:29
btmI had a different issue with my local mirror, which lead me to testing against us.archive.ubuntu.com, which lead to the upgrade of the installer, but anyhow, it looks like it'll work locally as soon as apt-mirror finishes pulling in packages now.21:35
cody-somervillecjwatson, the squashfs module isn't in Ubuntu's d-i's initrd21:42
cody-somervillecjwatson, Is there a work around or what not to be able to mount squashfs?21:43
btmcody-somerville: could you copy the module from linux-image-2.6.28-11-generic over scp?21:50
cody-somervilleno21:51
shtylmanevand: apprently that battery thing has popped up again...21:55
shtylmansomeone reported having the bug...21:56
btmcody-somerville: why not?21:56
cody-somervillebecause it doesn't fix the actual problem21:59
btmI thought you were looking for a work around.22:03
cody-somervillea work around as in including the udeb that provides the squashfs modules22:04
btmI don't believe there is one, but a wget/insmod in preseed/early_command should work.22:15
evandhttps://bugs.edge.launchpad.net/ubuntu/+source/ubiquity/+bug/349937 - that's the second case I've seen of hw-detect and X failing (I'm assuming the former as a result of the latter)23:50
ubottuUbuntu bug 349937 in ubiquity "installation fails leaving PC unbootable" [Undecided,New]23:50

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