/srv/irclogs.ubuntu.com/2008/05/06/#ubuntu-installer.txt

RydiaAny unetbootin devs around?06:09
xivuloncjwatson, was reviewing initramfs/scripts/local, in relation to bug #226622 and noticed a FIXME (I belive from you) for the mount line11:43
xivulon# FIXME This has no error checking11:43
xivulonWould it be possible to put that errorchecking in (at this stage) so that we also address #22662211:44
xivulon(and possibly do something similar for casper)11:44
cjwatsonI don't think that was from me11:44
cjwatsonthe error checking (such as it is) happens later when the initramfs system notices that the root device hasn't really appeared11:45
cjwatsonbut yes, it does produce something unclear; though I'm a little worried that there may be some expected failures at that point11:45
xivuloncan we maybe save $? and have a proper panic message within the if [ "LOOP" ] so that it is specific to wubi? Ideally the message should appear also if a user is on usplash11:47
cjwatsonerr, I'm really not sure, I didn't write that originally - it sounds reasonable11:48
xivulona clear error when ntfs mount fail because of unclean shutdown, would greatly reduce the number of tickets11:50
xivulon+/- http://paste.ubuntu.com/10492/12:08
xivulondoing that in casper might be slightly trickier though, since the partition is found heuristically12:11
xivulonin lupin-casper we could have an error message if iso-scan/filename is set but no ISO is found and similarly in custom-installation13:13
xivulonwe should also check whether the filesystem is mounted ro instead of rw.13:13
xivulonevand ^^13:13
evandindeed, that looks roughly reasonable.14:04
xivulongreat, I will do a proper diff later on then, for initramfs-tools and upload some new code into lupin/hardy.proposed as well14:10
xivulonps any idea when we will have new dailys with the latest fixes?14:11
evandcjwatson: ^ I've been wondering this myself.  Is that known yet, or is it still in the planning stage?14:12
xivulonerror codes for ntfs are listed in man ntfs-3g.probe(8)14:15
xivulondo we have error-remount-ro type of behaviour to worry about?14:17
cjwatsonevand: for hardy you mean?14:18
evandcjwatson: sorry for not being specific, yes14:18
cjwatsonevand: poke slangasek about that - he has all the equipment now to do it14:18
evandwill do14:18
xivulonevand, at the end of autopartition-loop we run `apt-install lupin-suport`, when is lupin-support actually installed? in particular is it ok to call update-initramfs in .postinst and is /etc/default/locale available at that stage?14:38
xivulonthis is re #13668214:39
xivulonI would assume it is fine, but would like confirmation14:41
evandchecking14:46
xivulonthx14:52
evandat least in the case of ubiquity, that happens sufficiently late for that to work.  And yes, that should be fine.14:52
xivulongood, I'll let Tormod know14:53
cjwatsonxivulon,evand: fancy doing a demo of wubi at UDS?15:11
cjwatsonxivulon: I gather you're only there part of the week?15:12
evandsure, I'd love to help with that15:13
xivuloncjwatson: absolutely15:13
xivulonI will be there the last two days, so we can do that thu or fri!15:13
cjwatsonok, cool15:14
cjwatsonI've asked Scott et al to pencil that in15:14
xivulonnot with my laptop though because it does have ACPI issues :(  (#146692)15:14
evandcjwatson: speaking of which, did you get the emails on two wubi sessions?15:14
evandI can furnish a laptop for the task.15:15
xivulongreat15:15
cjwatsonoh, I did, but my agenda is actually oversubscribed right now - if I get it down to the point where they'd fit, that would be fine, otherwise maybe put them into a whiteboard-scheduled slot?15:15
xivulonwe can squeeze in 1 hour I guess if required (as mentioned in my reply)15:16
evandworks for me.  If we run out of time, we can always find vacant space in a hallway.15:17
xivulonsound good to me too!15:17
xivulononly requirement is for cking or some other kernel dev to be around when we discusso kernel stuff15:18
cjwatsonxivulon: I'll check with Ben in case he has vacant space on his track - doesn't all need to be on the platform track of course15:23
xivuloncjwatson: thanks15:23
xivulonas mentioned by evand, might help to szaka on voip when that happens15:25
cjwatsonthe other one's actually already on my track15:25
cjwatsonI've replied by mail15:25
xivulonsouds good, is the migration topic going to be on a separate session?15:29
cjwatsonyes15:29
xivuloncan we have that too thu-fri pls?15:30
xivulonby the way I was thinking of providing a preliminary script to migrate people over since LVPM has not been update15:30
xivulond15:30
xivulonshould be a matter of copying over files + edit menu.lst/fstab + grub-install15:31
xivulonthat is assuming that a target partition is already available15:31
xivulontalking of which...15:34
cjwatsonI've made a note about your attendance times15:36
xivulonit might also be possible to migrate to a real partition without installing grub... I.E. reusing C:\ubuntu\disks\boot and only changing kopt root15:36
cjwatsontarget partition> this is why it needs to be integrated with ubiquity so that it gets a proper partitioner, boot loader installation, etc.15:36
cjwatsonotherwise you're going to find yourself gradually reinventing ubiquity, even if it seems like a small job at first15:37
xivulonas mentioned in boston I am in favor of ubiquity integration :)15:37
cjwatsonI think it's better to reinstall grub - otherwise a user might quite reasonably think they could delete Windows and then bang goes Ubuntu too15:37
xivulonmakes sense15:38
xivulonthe script mentioned above is only to "fill the hole" while LVPM and or Ubiquity are ready15:38
xivulonI would assume that the Ubiquity migration functionality is supposed to be used via CD, correct?15:56
xivulonany chance of making that also available as an app (possibly using unpartitioned space and/or partitions with no fs/files)?15:57
cjwatsonI don't think it's fair to make assumptions about something that hasn't really been designed yet ... :-)15:57
cjwatsonthere's no reason you couldn't run ubiquity from a regular system as long as it had something stable to copy from15:58
cjwatsonwhile it needs to know about CDs, it's not intrinsically tied to them15:58
xivulonAh I was thinking more in terms of feature freeze15:59
xivulonsince that would require a new ubiquity to be installed in 8.0415:59
evandxivulon: I'm confused.  What does this have to do with 8.04?16:04
xivulonevand, say users of wubi in 8.04 want to migrate to a real partition, can we still help them out once the migration facility is in ubiquity?16:10
xivulonone way is to wait for ubiquity 8.10 on CD, the other is to let such users install a version of ubiquity to 8.04 with migration facility and use that16:10
xivulonsorry if I wasn't clear16:11
xivulonI guess that they can use LVPM in the meantime, no biggie16:14
evandwell, we can discuss this at length at UDS, but regardless of the technical merits, I don't think a brand new feature like this is going to make it into hardy-proposed.16:28
xivulonyeah was expecting that.16:30
cjwatsonI'm sure it would be possible to build something unofficial16:30
xivulonsince the migration tool will be unofficial anyway for 8.04 users (whethere my own scripts or LVPM) we might also consider some early PPP ubiquity build maybe16:31
xivuloncjwatson you beat me :)16:31
xivulons/PPP/PPA16:32
xivulonevand I think that Tormod branch is almost ready for hardy.proposed (#13668216:43
xivulonI would like to do some changes to the panic messages in lupin-casper re #226622 but I guess it is better to keep things separately16:44
evandxivulon: ok, I'll have a look at it and merge it in.16:46
xivuloncan we also have ubuntu-testing to play with http://launchpadlibrarian.net/14240142/lupin-support_0.16%2Blocale110_all.deb16:46
xivulonevand I already have a hardy.proposed branch https://code.launchpad.net/~ubuntu-installer/lupin/hardy.proposed (which is now same as final)16:49
evandok16:54
mario_limonciellevand, i saw that there is a udeb for gptsync.  is that actually used anywhere right now/16:54
xivulonnot sure if overriding LANG in /etc/default/locale is desirable16:54
xivulonotherwise code looks good to me :)16:56
mario_limoncielleither rdepends doesn't appear to work on udebs, or i don't believe it's in use at all16:56
evandmario_limonciell: as far as I can tell it's done inside partman now:17:00
evandpartman-efi (11ubuntu3) feisty; urgency=low17:01
evand  * Remove gptsync code; parted does this itself now as of version17:01
evand    1.7.1-3ubuntu3.17:01
evandparted (1.7.1-3ubuntu3) feisty; urgency=low17:01
evand  [ Matthew Garrett ]17:01
evand  * gptsync.dpatch: Perform automatic GPT/MBR partition table17:01
evand    synchronisation (LP: #46853).17:01
evandhttp://launchpadlibrarian.net/6603773/gpt.diff17:01
mario_limonciellah hm.  i suppose that doesn't handle with recovery partitions well then17:01
mario_limonciellper scott davilla's indication to the mailing list, i started to dig a little bit into it17:02
mario_limoncielli wonder if  that patch is literally lifted from gptsync17:03
mario_limonciellor what not17:03
cjwatsonI have seen a report of problems with recovery partitions, yes17:03
evandcurious, those mails landed in my inbox, but I didn't get them in the ML folder.17:03
cjwatsonI understand it was pretty much from gptsync, but there may be some divergence17:03
cjwatsonI'd appreciate somebody who can conveniently test it looking into it17:04
cjwatsonmario_limonciell: BTW, I've heard reports that Dell is shipping some systems with four primary partitions, which is obviously very inconvenient if you want to install Linux later. Do you know anything about this?17:04
mario_limonciellcjwatson, this i've not heard.17:05
mario_limonciellcould you point me to some indications/  i can poke around17:05
mario_limonciellcjwatson, re gptsync, why was the code integrated into partman rather than just living in the udeb and calling that binary in the first place, do you know/17:06
mario_limonciell[sorry, my shift is broken right now due to vmware messing a few things up]17:06
cjwatsonmario_limonciell: unfortunately it was just on IRC17:07
cjwatsonmario_limonciell: (in theory) much more robust to do it inline in parted, required fewer scary partman hacks, etc.17:07
cjwatsonensures that people can't screw up their systems by running parted and forgetting to run gptsync17:07
mario_limonciellbut less maintainable in the sense of newer gptsync versions etc17:07
cjwatsonit's a trade-off17:07
mario_limonciellah yeah i see.17:08
cjwatsongptsync surely doesn't change *that* often17:08
cjwatsonand libparted ought to know everything about how to handle partitions, really17:08
mario_limonciellwell unfortunately the version that is in debian and ubuntu doesn't handle the recovery partitions either17:08
cjwatsonhow are they supposed to be handled?17:08
mario_limoncielli sent a ping to the debian maintainer about updating it17:08
mario_limonciellwell it's fixed in the 0.11 release17:08
mario_limonciellhe just hasn't touched the package since 200617:08
mario_limoncielli'm a bit new to the whole thing, and was looking at it out of curiosity after seeing that there has been these successes with getting ubuntu on the apple tv17:10
cjwatsonI suspect the answer is simply to forward-port patches from gptsync one by one17:13
mario_limonciellthat's very attainable then.  i'll make some notes of this conversation, scott may be convincing me to get one of these atv's in the near future so i may be able to help with that.17:14
mario_limonciellcjwatson, re the 4 partitions, i'll send some e-mails around.  if you get any more indications of models or locales this is happening in, could you let me know/17:16
cjwatsonok, I'll keep my ears open, thanks17:16
cjwatsonseems like it should be a general policy to use logical partitions wherever possible17:16
mario_limoncielli agree, but unfortunately some of the overseas factory teams sometimes aren't very cognoscente of the possibility of people needing more than 4 partitions for any reason17:18
cjwatsonthat's why it needs to be policy rather than left up to individual initiative ;-)17:18
mario_limonciell;]17:18
cjwatsonUbuntu only creates a primary partition now if there isn't one already, so it should be as well-behaved as you can get in this regard17:19
mario_limonciellcjwatson, initial responses back would like to know which locale at least.  do you know where the person(s) who indicated this were located?17:39
cjwatsonmario_limonciell: I looked at my logs; it was astronut on #ubuntu-devel, who I believe is in the US17:41
cjwatson17:40 [Freenode] -!- astronut [n=astronut@sfnc-162-39-87-194.sandhills.us]17:41
mario_limonciellcjwatson, okay.  i'll pass that on. thanks17:41
cjwatsonhe wasn't very clear, but he did claim that it came with four primaries17:41
cjwatson20:39 <astronut> cjwatson: i'm not sure... thisone has a a tiny fat16, two large ntfs (C: and D:, d has label backup and had some empty folders and some data) and then a hidden fat32 w/ restore data17:41
mario_limonciellboth for the tiny fat16 utility partition, the recovery partition, the factory process doesn't allow for non primary (internal limitations), but i'm not sure why a backup partition would have been created, especially being primary17:43
cjwatsoncan Windows cope with being booted off a logical partition?17:49
mario_limonciellI'm not sure17:50
mario_limoncielleven if it couldn't, that backup partition if really necessary should be able to be logical17:51
cjwatsonyeah, you'd have thought17:52
mario_limonciellI don't suppose windows can be booted off of a logical partition, because a DOS MBR can't address a logical partition in an extended partition17:55
CIA-1lowmem: cjwatson * r74 ubuntu/ (3 files in 2 dirs): merge from Debian 1.2818:01
CIA-1lowmem: cjwatson * r75 ubuntu/debian-installer-startup.d/S15lowmem: revert to Debian's version18:02
CIA-1lowmem: cjwatson * r76 ubuntu/debian/changelog: releasing version 1.28ubuntu118:03
evandIs there any reason why we don't currently disallow /boot (or by extension /) on XFS in ubiquity or include lilo to use with it in such circumstances?20:18
CIA-1partman-target: evand * r723 ubuntu/ (debian/changelog finish.d/clear_partitions):20:39
CIA-1partman-target: * Ensure that if we clear the root partition, / is owned by root:root20:39
CIA-1partman-target:  (LP: #224446).20:39
xivulonHi tormod, I am Ago22:09
xivulonthanks a lot for the locale patch :)22:09
tormodxivulon: hi! it's an honour  - wubi is the  greatest thing22:12
xivulon...after sliced bread22:12
xivulon...and d-i22:12
xivulon...and ubiquity22:12
xivulon:)22:13
tormodfor linux adoption... since the live cd22:13
tormodor vfat support :)22:13
xivulonyou seem capable with c also, and have windows22:15
xivulonthere is one bug I cannot understand and have looked at the 200 times22:15
xivulonmaybe a pair of fresh eyes would help22:15
xivulonbug #20713722:16
xivulonthere is a stand-alone app (see hampus comments)22:16
tormodI only have a USB drive with an (unbootable) ntfs partition, but I can boot into NT with vfat.22:16
xivulonbasically this is a small app to extract a CD to an ISO22:17
xivuloncode is very simple: gets a handle for the device, keeps reading it in a loop and pushes the bytes into a file22:17
xivulonyet for some users it does not work (usually at the end) and you get 2 or 3 (different) errors22:19
xivuloncode is here: http://launchpadlibrarian.net/14044790/CD2ISO.zip22:20
xivuloncompiled with http://www.codeblocks.org/22:21
xivulonof course the above is an open invitation for anyone else since myself and hampus are out of idea22:21
xivulons22:22
xivulonevand, you too ^22:22
xivulonthis is the last bug I am tracking for point release (have a few open ones but those should be manageable)22:23
xivulontormod also added a small comment for #13668222:27
xivulonehm c++22:28
cjwatsonevand: we should definitely make it possible to install lilo. GRUB+XFS has a race condition; it may work for some people but it can't currently be made to work across the board22:59
Zelutcjwatson: are you around?23:17
cjwatsonZelut: for a short while23:17
cjwatsonit's late for me and I have an early meeting tomorrow23:18
cjwatsonfeel free to leave a message or send mail23:18
ZelutI was going to do some preseed work to automate an ubuntu-server install.23:18
Zelutanything you might be able to point me to?23:18
cjwatsonstart with https://help.ubuntu.com/8.04/installation-guide/, and you probably also want to make sure you incorporate each of the things in /preseed/ubuntu-server.seed from an Ubuntu server CD unless you explicitly choose otherwise23:21
xivulonevand panic text re 226622 http://paste.ubuntu.com/10631/23:36

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