[12:13] grub installation and mounting /host r/w where also on my list [12:13] mm, right [12:13] damnit :) [12:13] evand: looks safe enough, anyway [12:14] ok [12:16] I'm going to look at ntfs-3g 1.826 tomorrow, since Debian has it [12:19] how were you planning to cope with the host filesystem potentially being dirty? [12:19] I suppose we just hope they shut it down cleanly [12:20] but ntfs-3g will refuse to mount "if the volume is scheduled for consistency check or the logfile is unclean" - I'm not comfortable with forcing that [12:20] is there no way to issue a chkdsk upon shutdown in windows? [12:21] Windows ought to generally leave the filesystem clean on clean shutdown [12:21] it's if you shut down in a more violent way (e.g. power failure, or just too impatient to wait for Windows to shut down all the way) that it's a problem [12:21] oh well, bed [12:24] can't we pop up a message in the initramfs if we're unable to mount due to a dirty fs? Something to the effect of, "run chkdsk /f in Windows then reboot"? [12:24] cjwatson, there is no chkdsk in ntfs-3g [12:24] it will refuse to mount [12:25] and I was stopping the init process with some message about ntfs being dirty and requiring chkdsk /r [12:26] in fact it will mount r/o (if memory does not fail me) [12:29] can wubi perhaps schedule a chkdsk for the next boot in windows then, and automatically reboot into windows to do that chkdsk /r? [12:31] hmm, that would require raising some sort of flag, which is difficult when the filesystem is r/o [12:32] ah right, and you can't even pass it to boot.ini with it being read only [12:32] exactly [12:32] I believe it's in the registry, is it not? [12:32] ok, let's not worry about that [12:32] phase two at best [12:34] I guess that should be handled properly by ntfs-3g, I am sure that chkdsk is in their agenda anyway [12:35] cjwatson, is losetup command available during normal init? [12:36] yes [12:36] ok, I'm making initramfs-tools mount NTFS host filesystems read/write now [12:37] I was writing that myself [12:38] too late, sorry ;-) [12:38] - if [ ${readonly} = y ] ; then [12:38] + if [ ${readonly} = y ] && \ [12:38] + ([ -z "$LOOP" ] || [ "${FSTYPE#ntfs}" = "$FSTYPE" ] ); then [12:38] roflag=-r [12:38] and [12:38] how do I paste stuff here? [12:38] + if [ ${readonly} = y ] ; then [12:38] + roflag=-r [12:38] + else [12:38] + roflag=-w [12:38] + fi [12:38] + [12:38] before the loopmount [12:38] if it's long, pick a random pastebin [12:39] anyway, really off to bed now, I've been up well before 7 for the last two days running, been down to London yesterday, and I'm exhausted ... [12:40] I'll send it to you by mail then === mpt [n=mpt@121-72-134-247.dsl.telstraclear.net] has joined #ubuntu-installer === superm1_ [n=superm1@ubuntu/member/superm1] has joined #ubuntu-installer === JD [n=david@femme.catnip.org.uk] has joined #ubuntu-installer === glledo [n=gellevi@208.72.153.130] has joined #ubuntu-installer === soren [n=sh@ubuntu/member/shawarma] has joined #ubuntu-installer === CIA-18 [n=CIA@208.69.182.149] has joined #ubuntu-installer === stgraber [n=stgraber@ubuntu/member/stgraber] has joined #ubuntu-installer === joejaxx [n=joejaxx@fluxbuntu/founder/joejaxx] has joined #ubuntu-installer === superm1_ [n=superm1@ubuntu/member/superm1] has joined #ubuntu-installer === xivulo1 [n=ago@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer === evand [n=evand@ubuntu/member/evand] has joined #ubuntu-installer === thom [n=thom@amnesiac.heapspace.net] has joined #ubuntu-installer === tepsipakki [n=tjaalton@replicant.hut.fi] has joined #ubuntu-installer === saispo [n=saispo@ryu.zarb.org] has joined #ubuntu-installer === mpt [n=mpt@121-72-134-247.dsl.telstraclear.net] has joined #ubuntu-installer === xivulo1 [n=ago@87-194-85-156.bethere.co.uk] has left #ubuntu-installer [] === evand [n=evand@ubuntu/member/evand] has joined #ubuntu-installer === evand [n=evand@ubuntu/member/evand] has joined #ubuntu-installer === evand [n=evand@ubuntu/member/evand] has joined #ubuntu-installer === mpt [n=mpt@121-72-131-170.dsl.telstraclear.net] has joined #ubuntu-installer === xivulon [i=c2325681@gateway/web/cgi-irc/ircatwork.com/x-2e8c9baa00249c12] has joined #ubuntu-installer === xivulon [i=c2325681@gateway/web/cgi-irc/ircatwork.com/x-719886db105124b8] has joined #ubuntu-installer === cr3 [n=cr3@modemcable178.77-70-69.static.videotron.ca] has joined #ubuntu-installer [03:32] cjwatson, evand, I was thinking about ways to detect language/keyboard from live cd and run into this http://people.warp.es/~xtor/blog/?p=25 [03:32] thought you might be interested [03:32] if it's implementable on the Windows side, I'm all for it [03:33] I don't want to mount the Windows filesystem that early from our installer though [03:33] in the wubi side we already have that, I was thinking about the linux side [03:33] yeah, I'd rather not :) [03:33] I believe trying to detect the keyboard and language and preseeding them in Ubiquity was something m-a was tasked with a long time ago [03:34] it's a neat idea but the ordering is really hard [03:34] and I think you have to ask anyway (consider a system you've got from the shop with Windows preinstalled, that you haven't configured at all), so it would only be useful for defalts [03:34] defaults [03:35] indeed [03:35] my line of thought is this: you now have cmdline arguments -- locale=XYZ and console-setup/layoutcode=XYZ [03:36] you can have locale=detect console-setup/layoutcode=detect [03:36] or detect_locale [03:37] before the locale/layout are set if you have a detect flag, you run the heuristics. [03:37] I really don't think it's workable, sorry [03:37] n.p. just an idea [03:37] I think it's great to make use of on the Windows side, but way too invasive from the Linux side [03:38] xivulon: btw I've fixed up the swap file thing, and am trying to work up the courage to tackle grub [03:38] great, also please include the lupin-gutsy changes I submitted last night [03:40] + disk=$(echo "${disk}"|sed 's/\//\\\//g') [03:40] ugh, use a different sed delimiter [03:40] that's to replace /dev/sda1 with \/dev\/sda1 or sed gets confused [03:40] use a different delimiter [03:41] didn't know you could do that with sed, yeah sounds neater [03:41] sed -i 's:LIDISK:$disk:g' [03:42] I uncommented modprobe fuse, the fuse module is there [03:43] good [03:43] ${variablename} is only needed when you're following it immediately with something that might be confused for part of the variable name [03:43] in "$variablename" it's the quoting that's the important bit, generally [03:43] (random shell style point) [03:45] I'll fix the sed thing now [03:45] lupin was my first "big" sh project, I normally try to "imitate" the style from other files I hack, but that is a less than perfect approach [03:45] most people do pick up sh organically [03:47] I've added a debian/changelog entry for your changes [03:47] yesterday I also sent you some code re mounting /host rw [03:48] yes, I saw, I already did something else in initramfs-tools so it isn't urgent [03:48] your code prints a better message if it fails so I'll look at it at some point, but grub comes first :) [03:49] there is also losetup use, as opposed to use mount -r -o loop, to avoid r/o loop device [03:49] is that important? [03:50] I might be wrong, but if you create a loop device via the mount command with r/o option, the loop device is also locked ro and when you remount rw, the loop device does not follow [03:51] Creating the loop device separately should address this (and it does not make any harm anyway) [03:51] There was also the other command you mentioned last time, but I forgot which one it was [03:51] blockdev? [03:53] no it was something to set loop device settings [03:54] ok, I very much want hacks outside lupin to be minimal, so losetup in lupin is probably better [03:54] er, in initramfs-tools/scripts/local I mean [03:54] I've uploaded lupin 0.3 with your changes [03:54] ahh [03:55] thanks [03:55] I have such a headache :-/ [03:55] how are we going to get grub4dos installed? I assume it isn't in a .deb [03:57] It's installed by the windows frontend [03:57] https://code.launchpad.net/~ubuntu-installer/wubi/gutsy [03:57] ah, so we just need an appropriate menu.lst and to suppress installing grub in the mbr [03:57] I have mail from you about the former, so that's fine [03:57] yeah [03:58] might have to add an extra preseed parameter to grub-installer [03:58] you can install grub in the loop file if you want [03:59] yeah, it's just pointless, right? :) [03:59] yeah [04:01] But menu.lst has to be generated [04:01] you know, groot_prefix is sort of an inappropriate name ... [04:01] groot is just for use by update-grub [04:02] let me have a look at exactly what they did in grub4dos [04:02] I did not try I think they use groot [04:02] It should be groot(hdX,Y)/path/to/windows/boot/folder [04:02] I hope not [04:03] well, let me check [04:04] My understanding is that whatever is in groot is copied over as "root" when generating the menu sections [04:05] right, but my point is that's done by update-grub not by anything grub4dos should be doing [04:05] so hopefully they really support root_prefix [04:05] In this case setting groot(hd3,2)/ubuntu/disks and running update-grub should set all menu entries to root (hd3,2)/ubuntu/disks [04:05] ah, what they did was allow 'root (hd0,0)/ubuntu/disks' [04:06] that's better [04:06] Yeah that's what I meant [04:06] it was the groot bit that was confusing me [04:07] Or at least that's what I asked for, not sure if they got it wrong, I did not try the new grub4dos yet (since there was no fuse). [04:08] where do you want the /boot directory to go? [04:08] /ubuntu/disks/boot/ ? [04:08] that would be convenient, I think [04:08] That would be my guess [04:10] I do have to disable actually installing grub, because ordinary grub won't understand this root syntax and will fail [04:11] The important thing is that update-grub works [04:12] We might revert to use #root_prefix maybe? [04:13] no [04:13] not necessary [04:13] it's actually easier this way because no changes to update-grub are needed [04:19] in fact it's like 15 lines added to grub-installer, if this is right :) [04:19] still need to prod partman to bind-mount /boot, but I know where that wants to go [04:30] it should also be in fstab [04:31] indeed so [04:31] hence, partman :) [04:31] partman twice then [04:33] just the once [04:33] adding the appropriate thing to fstab also causes partman to mount it [04:39] you're too smart for me :P [04:42] By the way wubi can now be used to boot from live cd also when the bios boot order is adverse, and for people with no CD (hd-media style). [04:43] nice [04:44] I plan to add an item in the size selector so that you have something like "No installation, just classic LiveCD, (read-only)" [04:44] have to figure a concise msg to convey that [04:50] I was thinking to in fact have 2 items: "Dedicated partition" will start boot the livecd in automatic mode but without preseeding the partitioning info [04:51] and "Read only" which will simply boot the LiveCD for people with bios issues / no CD. [04:56] ok, grub-installer seems to be working now with the exception that entries for other operating systems are broken [04:56] not going to worry about that right now (those entries should just go away I think) [04:57] it's not a big issue , since people will boot first from ntldr, and the grub menu will mostly be hidden (to avoid having 2 boot menus) [04:57] yeah [04:58] I am really looking forward to next build [04:59] is there a wubi binary yet that I can slap onto the CD? [05:00] The current nsis code "compiles" and produces a binary, but I haven't tested it at all, which means that it is probably broken [05:01] If you have an ISO with the other changes in, I can do some tests and will create a working binary this w/e, so it can incorporated sunday/monday. [05:02] I'm not certain I can get lupin in by the end of today [05:04] I'll give you a frontend anyway by sunday, that should at least set up grub4dos and the preseed file. [05:04] I tweaked the preseed file in that wubi branch a bit [05:05] no problem [05:06] In order to work with an ISO (as opposed to a CD), I need to be able to extract kernel/initrd from within the ISO (with a CD, they are copied over). That can be done with 7-zip, but I am not sure if I will have time to implement that. [05:23] ok, I've written a main inclusion report for lupin and (varying slightly from standard procedure) fast-tracked it into main [05:26] * ago likes preferential treatment 8) * [05:26] conflict of interest [05:26] :) [05:27] a touch [05:28] it's what tight scheduling does to you :-/ [05:29] ps do you know +/- when installer matters are gonna be discusses in boston? I'd love to join but cannot take all week off [05:29] speaking of tight schedule, can you NEW (if that's the correct terminology) gobuntu-artwork-usplash? I made seb's requested changes and I think the licensing is correct. [05:29] if you have time, of course [05:31] I have to take my family to the shops right now but will reply when I get back [06:14] xivulon: throughout, I should imagine. We don't tend to partition issues up very strictly by day [06:15] xivulon: the times when people are available are taken into consideration where possible [06:15] evand: I assume the older one should be rejected? [06:15] I thought it already was yesterday? [06:15] 269061 | S- | gobuntu-artwork-uspl | 0.1 | 20 hours [06:15] | * gobuntu-artwork-usplash/0.1 Component: main Section: misc [06:15] 269453 | S- | gobuntu-artwork-uspl | 0.1 | 45 minutes [06:15] | * gobuntu-artwork-usplash/0.1 Component: main Section: misc [06:15] ah yes [06:16] reject the older one [06:16] right [06:18] evand: hmm, did seb ask you to split out the CC-BY-SA licence into COPYING-ART? [06:19] cjwatson: he asked me to include the entire GPL, so I had to create COPYING. To stay consistent I dumped the CC-by-SA out of copyright and into COPYING-ART. Should I avoid doing that? [06:19] so no, he did not ask me to do that [06:24] ok, this is sort of a weirdness in policy [06:25] the rule is that all licence text must be present in the copyright file (because there are tools to read it), but there's a special exception for anything that's in /usr/share/common-licenses/ [06:25] ohhh [06:26] I've accepted it, but could you revert the COPYING-ART bit for the next upload? [06:26] will do [06:26] I'm assuming I should do that before filing a MIR, correct? [06:27] nah [06:27] I punted it straight into main under the "obvious" category [06:28] heh [06:30] I don't suppose I could trouble you to update the desktop seed as well? [06:34] evand: done. binaries still need to be accepted mind you [06:35] ah, indeed [06:35] ~1hr [06:35] thanks! === avoine [n=avoine@69.70.0.36] has joined #ubuntu-installer [07:09] ubiquity: cjwatson * r2213 ubiquity/ (d-i/manifest debian/changelog): [07:09] ubiquity: * Automatic update of included source packages: apt-setup 1:0.21ubuntu3, [07:09] ubiquity: base-installer 1.81ubuntu2, grub-installer 1.24ubuntu3, [07:09] ubiquity: partman-auto-loop 0ubuntu5, partman-efi 13ubuntu2, partman-target [07:09] ubiquity: 50ubuntu4. [07:11] cjwatson: thoughts on having this instlux modification (see ubuntu-devel-discuss) on the CD for Hardy? I'm leaning towards no as I think we have enough install options as it is, but I'm not strongly tied to that. [07:12] I imagine they just want a button that says "reboot and install Ubuntu" on the open cd, or something similar [07:13] I seem to recall discussing that option in addition to wubi, but it may be a false memory [07:17] didn't ago say earlier that he'd just added that option to wubi? [07:18] but yeah, I don't think we should have both this and wubi as distinct items, they need to be merged really [07:19] oh, indeed he did [07:19] sorry about that [07:19] so we already have a solution [07:19] great [07:23] ubiquity: cjwatson * r2214 ubiquity/debian/po/ (79 files): debconf-updatepo [07:24] whoops, sorry about that [07:30] no worries, it's a task often best done just before release [07:32] I'll add it to my notes on releasing a new version then [07:37] I only bother when lintian tells me newer-debconf-templates [07:37] ubiquity: cjwatson * r2215 ubiquity/debian/changelog: releasing version 1.5.13 [07:38] otherwise I think it can end up bumping the date for the sake of it, though I'm not certain if that's checked [07:39] ah, I'll keep an eye out for that [07:48] evand: gobuntu-artwork-usplash binaries accepted; will appear in the archive after the next publisher run [07:48] nice, thanks === superm1 [n=malimonc@ubuntu/member/superm1] has joined #Ubuntu-installer [08:14] right, phew, I think that's everything on my installer-for-windows list for today done === cjwatson calls it a day [08:14] heh, enjoy your weekend [08:15] thanks, you too === xivulon [i=c2325681@gateway/web/cgi-irc/ircatwork.com/x-81c72ddd68b6f50b] has joined #ubuntu-installer === xivulon [n=ago@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer === xivulon [n=ago@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer