/srv/irclogs.ubuntu.com/2007/09/07/#ubuntu-installer.txt

xivulo1grub installation and mounting /host r/w where also on my list12:13
cjwatsonmm, right12:13
cjwatsondamnit :)12:13
cjwatsonevand: looks safe enough, anyway12:13
evandok12:14
cjwatsonI'm going to look at ntfs-3g 1.826 tomorrow, since Debian has it12:16
cjwatsonhow were you planning to cope with the host filesystem potentially being dirty?12:19
cjwatsonI suppose we just hope they shut it down cleanly12:19
cjwatsonbut 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 that12:20
superm1is there no way to issue a chkdsk upon shutdown in windows?12:20
cjwatsonWindows ought to generally leave the filesystem clean on clean shutdown12:21
cjwatsonit'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 problem12:21
cjwatsonoh well, bed12:21
evandcan'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
xivulo1cjwatson, there is no chkdsk in ntfs-3g12:24
xivulo1it will refuse to mount12:24
xivulo1and I was stopping the init process with some message about ntfs being dirty and requiring chkdsk /r12:25
xivulo1in fact it will mount r/o (if memory does not fail me)12:26
superm1can wubi perhaps schedule a chkdsk for the next boot in windows then, and automatically reboot into windows to do that chkdsk /r?12:29
xivulo1hmm, that would require raising some sort of flag, which is difficult when the filesystem is r/o12:31
superm1ah right, and you can't even pass it to boot.ini with it being read only12:32
xivulo1exactly12:32
evandI believe it's in the registry, is it not?12:32
cjwatsonok, let's not worry about that12:32
cjwatsonphase two at best12:32
xivulo1I guess that should be handled properly by ntfs-3g, I am sure that chkdsk is in their agenda anyway12:34
xivulo1cjwatson, is losetup command available during normal init?12:35
cjwatsonyes12:36
cjwatsonok, I'm making initramfs-tools mount NTFS host filesystems read/write now12:36
xivulo1I was writing that myself12:37
cjwatsontoo late, sorry ;-)12:38
cjwatson-       if [ ${readonly} = y ] ; then12:38
cjwatson+       if [ ${readonly} = y ]  && \12:38
cjwatson+          ([ -z "$LOOP" ]  || [ "${FSTYPE#ntfs}" = "$FSTYPE" ] ); then12:38
cjwatson                roflag=-r12:38
cjwatsonand12:38
xivulo1how do I paste stuff here?12:38
cjwatson+               if [ ${readonly} = y ] ; then12:38
cjwatson+                       roflag=-r12:38
cjwatson+               else12:38
cjwatson+                       roflag=-w12:38
cjwatson+               fi12:38
cjwatson+12:38
cjwatsonbefore the loopmount12:38
cjwatsonif it's long, pick a random pastebin12:38
cjwatsonanyway, 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:39
xivulo1I'll send it to you by mail then12:40
=== 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
xivuloncjwatson, evand, I was thinking about ways to detect language/keyboard from live cd and run into this http://people.warp.es/~xtor/blog/?p=2503:32
xivulonthought you might be interested03:32
cjwatsonif it's implementable on the Windows side, I'm all for it03:32
cjwatsonI don't want to mount the Windows filesystem that early from our installer though03:33
xivulonin the wubi side we already have that, I was thinking about the linux side03:33
cjwatsonyeah, I'd rather not :)03:33
evandI believe trying to detect the keyboard and language and preseeding them in Ubiquity was something m-a was tasked with a long time ago03:33
cjwatsonit's a neat idea but the ordering is really hard03:34
cjwatsonand 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 defalts03:34
cjwatsondefaults03:34
evandindeed03:35
xivulonmy line of thought is this: you now have cmdline arguments -- locale=XYZ and console-setup/layoutcode=XYZ03:35
xivulonyou can have locale=detect console-setup/layoutcode=detect03:36
xivulonor detect_locale03:36
xivulonbefore the locale/layout are set if you have a detect flag, you run the heuristics.03:37
cjwatsonI really don't think it's workable, sorry03:37
xivulonn.p. just an idea03:37
cjwatsonI think it's great to make use of on the Windows side, but way too invasive from the Linux side03:37
cjwatsonxivulon: btw I've fixed up the swap file thing, and am trying to work up the courage to tackle grub03:38
xivulongreat, also please include the lupin-gutsy changes I submitted last night03:38
cjwatson+    disk=$(echo "${disk}"|sed 's/\//\\\//g')03:40
cjwatsonugh, use a different sed delimiter03:40
xivulonthat's to replace /dev/sda1 with \/dev\/sda1 or sed gets confused03:40
cjwatsonuse a different delimiter03:40
xivulondidn't know you could do that with sed, yeah sounds neater03:41
cjwatsonsed -i 's:LIDISK:$disk:g'03:41
cjwatsonI uncommented modprobe fuse, the fuse module is there03:42
xivulongood03:43
cjwatson${variablename} is only needed when you're following it immediately with something that might be confused for part of the variable name03:43
cjwatsonin "$variablename" it's the quoting that's the important bit, generally03:43
cjwatson(random shell style point)03:43
cjwatsonI'll fix the sed thing now03:45
xivulonlupin 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 approach03:45
cjwatsonmost people do pick up sh organically03:45
cjwatsonI've added a debian/changelog entry for your changes03:47
xivulonyesterday I also sent you some code re mounting /host rw03:47
cjwatsonyes, I saw, I already did something else in initramfs-tools so it isn't urgent03:48
cjwatsonyour code prints a better message if it fails so I'll look at it at some point, but grub comes first :)03:48
xivulonthere is also losetup use, as opposed to use mount -r -o loop, to avoid r/o loop device03:49
cjwatsonis that important?03:49
xivulonI 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 follow03:50
xivulonCreating the loop device separately should address this (and it does not make any harm anyway)03:51
xivulonThere was also the other command you mentioned last time, but I forgot which one it was03:51
evandblockdev?03:51
xivulonno it was something to set loop device settings03:53
cjwatsonok, I very much want hacks outside lupin to be minimal, so losetup in lupin is probably better03:54
cjwatsoner, in initramfs-tools/scripts/local I mean03:54
cjwatsonI've uploaded lupin 0.3 with your changes03:54
xivulonahh03:54
xivulonthanks03:55
cjwatsonI have such a headache :-/03:55
cjwatsonhow are we going to get grub4dos installed? I assume it isn't in a .deb03:55
xivulonIt's installed by the windows frontend03:57
xivulonhttps://code.launchpad.net/~ubuntu-installer/wubi/gutsy03:57
cjwatsonah, so we just need an appropriate menu.lst and to suppress installing grub in the mbr03:57
cjwatsonI have mail from you about the former, so that's fine03:57
xivulonyeah03:57
cjwatsonmight have to add an extra preseed parameter to grub-installer03:58
xivulonyou can install grub in the loop file if you want03:58
cjwatsonyeah, it's just pointless, right? :)03:59
xivulonyeah03:59
xivulonBut menu.lst has to be generated04:01
cjwatsonyou know, groot_prefix is sort of an inappropriate name ...04:01
cjwatsongroot is just for use by update-grub04:01
cjwatsonlet me have a look at exactly what they did in grub4dos04:02
xivulonI did not try I think they use groot04:02
xivulonIt should be groot(hdX,Y)/path/to/windows/boot/folder04:02
cjwatsonI hope not04:02
cjwatsonwell, let me check04:03
xivulonMy understanding is that whatever is in groot is copied over as "root" when generating the menu sections04:04
cjwatsonright, but my point is that's done by update-grub not by anything grub4dos should be doing04:05
cjwatsonso hopefully they really support root_prefix04:05
xivulonIn this case setting groot(hd3,2)/ubuntu/disks and running update-grub should set all menu entries to root (hd3,2)/ubuntu/disks04:05
cjwatsonah, what they did was allow 'root (hd0,0)/ubuntu/disks'04:05
cjwatsonthat's better04:06
xivulonYeah that's what I meant04:06
cjwatsonit was the groot bit that was confusing me04:06
xivulonOr 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:07
cjwatsonwhere do you want the /boot directory to go?04:08
cjwatson/ubuntu/disks/boot/ ?04:08
cjwatsonthat would be convenient, I think04:08
xivulonThat would be my guess04:08
cjwatsonI do have to disable actually installing grub, because ordinary grub won't understand this root syntax and will fail04:10
xivulonThe important thing is that update-grub works04:11
xivulonWe might revert to use #root_prefix maybe?04:12
cjwatsonno04:13
cjwatsonnot necessary04:13
cjwatsonit's actually easier this way because no changes to update-grub are needed04:13
cjwatsonin fact it's like 15 lines added to grub-installer, if this is right :)04:19
cjwatsonstill need to prod partman to bind-mount /boot, but I know where that wants to go04:19
xivulonit should also be in fstab04:30
cjwatsonindeed so04:31
cjwatsonhence, partman :)04:31
xivulonpartman twice then04:31
cjwatsonjust the once04:33
cjwatsonadding the appropriate thing to fstab also causes partman to mount it04:33
xivulonyou're too smart for me :P04:39
xivulonBy 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:42
cjwatsonnice04:43
xivulonI plan to add an item in the size selector so that you have something like "No installation, just classic LiveCD, (read-only)"04:44
xivulonhave to figure a concise msg to convey that04:44
xivulonI was thinking to in fact have 2 items: "Dedicated partition" will start boot the livecd in automatic mode but without preseeding the partitioning info04:50
xivulonand "Read only" which will simply boot the LiveCD for people with bios issues / no CD.04:51
cjwatsonok, grub-installer seems to be working now with the exception that entries for other operating systems are broken04:56
cjwatsonnot going to worry about that right now (those entries should just go away I think)04:56
xivulonit'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
cjwatsonyeah04:57
xivulonI am really looking forward to next build04:58
cjwatsonis there a wubi binary yet that I can slap onto the CD?04:59
xivulonThe current nsis code "compiles" and produces a binary, but I haven't tested it at all, which means that it is probably broken05:00
xivulonIf 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:01
cjwatsonI'm not certain I can get lupin in by the end of today05:02
xivulonI'll give you a frontend anyway by sunday, that should at least set up grub4dos and the preseed file.05:04
cjwatsonI tweaked the preseed file in that wubi branch a bit05:04
xivulonno problem05:05
xivulonIn 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:06
cjwatsonok, I've written a main inclusion report for lupin and (varying slightly from standard procedure) fast-tracked it into main05:23
xivulon* ago likes preferential treatment 8) *05:26
evandconflict of interest05:26
evand:)05:26
cjwatsona touch05:27
cjwatsonit's what tight scheduling does to you :-/05:28
xivulonps do you know +/- when installer matters are gonna be discusses in boston? I'd love to join but cannot take all week off05:29
evandspeaking 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
evandif you have time, of course05:29
cjwatsonI have to take my family to the shops right now but will reply when I get back05:31
cjwatsonxivulon: throughout, I should imagine. We don't tend to partition issues up very strictly by day06:14
cjwatsonxivulon: the times when people are available are taken into consideration where possible06:15
cjwatsonevand: I assume the older one should be rejected?06:15
evandI thought it already was yesterday?06:15
cjwatson  269061 | S- | gobuntu-artwork-uspl | 0.1                  | 20 hours06:15
cjwatson         | * gobuntu-artwork-usplash/0.1 Component: main Section: misc06:15
cjwatson  269453 | S- | gobuntu-artwork-uspl | 0.1                  | 45 minutes06:15
cjwatson         | * gobuntu-artwork-usplash/0.1 Component: main Section: misc06:15
evandah yes06:15
evandreject the older one06:16
cjwatsonright06:16
cjwatsonevand: hmm, did seb ask you to split out the CC-BY-SA licence into COPYING-ART?06:18
evandcjwatson: 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
evandso no, he did not ask me to do that06:19
cjwatsonok, this is sort of a weirdness in policy06:24
cjwatsonthe 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
evandohhh06:25
cjwatsonI've accepted it, but could you revert the COPYING-ART bit for the next upload?06:26
evandwill do06:26
evandI'm assuming I should do that before filing a MIR, correct?06:26
cjwatsonnah06:27
cjwatsonI punted it straight into main under the "obvious" category06:27
evandheh06:28
evandI don't suppose I could trouble you to update the desktop seed as well?06:30
cjwatsonevand: done. binaries still need to be accepted mind you06:34
evandah, indeed06:35
cjwatson~1hr06:35
evandthanks!06:35
=== avoine [n=avoine@69.70.0.36] has joined #ubuntu-installer
CIA-18ubiquity: cjwatson * r2213 ubiquity/ (d-i/manifest debian/changelog):07:09
CIA-18ubiquity: * Automatic update of included source packages: apt-setup 1:0.21ubuntu3,07:09
CIA-18ubiquity:  base-installer 1.81ubuntu2, grub-installer 1.24ubuntu3,07:09
CIA-18ubiquity:  partman-auto-loop 0ubuntu5, partman-efi 13ubuntu2, partman-target07:09
CIA-18ubiquity:  50ubuntu4.07:09
evandcjwatson: 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:11
evandI imagine they just want a button that says "reboot and install Ubuntu" on the open cd, or something similar07:12
evandI seem to recall discussing that option in addition to wubi, but it may be a false memory07:13
cjwatsondidn't ago say earlier that he'd just added that option to wubi?07:17
cjwatsonbut yeah, I don't think we should have both this and wubi as distinct items, they need to be merged really07:18
evandoh, indeed he did07:19
evandsorry about that07:19
evandso we already have a solution07:19
evandgreat07:19
CIA-18ubiquity: cjwatson * r2214 ubiquity/debian/po/ (79 files): debconf-updatepo07:23
evandwhoops, sorry about that07:24
cjwatsonno worries, it's a task often best done just before release07:30
evandI'll add it to my notes on releasing a new version then07:32
cjwatsonI only bother when lintian tells me newer-debconf-templates07:37
CIA-18ubiquity: cjwatson * r2215 ubiquity/debian/changelog: releasing version 1.5.1307:37
cjwatsonotherwise I think it can end up bumping the date for the sake of it, though I'm not certain if that's checked07:38
evandah, I'll keep an eye out for that07:39
cjwatsonevand: gobuntu-artwork-usplash binaries accepted; will appear in the archive after the next publisher run07:48
evandnice, thanks07:48
=== superm1 [n=malimonc@ubuntu/member/superm1] has joined #Ubuntu-installer
cjwatsonright, phew, I think that's everything on my installer-for-windows list for today done08:14
=== cjwatson calls it a day
evandheh, enjoy your weekend08:14
cjwatsonthanks, you too08:15
=== 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

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