[02:12] is there a way to add ufw rules during the install. I've tried adding [02:12] ufw ufw/allow_known_ports multiselect SSH [02:12] ufw ufw/allow_custom_ports string 22/tcp [02:12] ufw ufw/enable boolean true [02:15] but that doesn't work. and I can't run ufw in the late_command.sh either. === kentb_ is now known as kentb [08:32] cjwatson: How many UEFI boot entries of 'ubuntu' will be created for Secure Boot? I saw there are two 'ubuntu' UEFI boot entries. One points to File(\EFI\ubuntu\shimx64.efi), and the other points to File(EFI\Ubuntu\grubx64.efi). === buildslayer is now known as shadeslayer [09:10] cjwatson: [09:10] oops [09:14] cjwatson: I find File(\EFI\BOOT\grubx64.efi) (created by grub-install --removable) will not follow the content of File(\EFI\BOOT\grub.cfg) to search uuid. [09:22] cjwatson: grub2 1.99-21ubuntu3.7 in precise-proposed doesn't solve the problem of https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1087653 . [09:22] Launchpad bug 1087653 in OEM Priority Project precise "grub2-signed doesn't support removable drive." [High,In progress] [09:27] cjwatson: I need to touch .disk/info manually to make it to work. [10:10] cjwatson: Would you remove the restriction of '.disk/info' for `grub-install --removable --uefi-secure-boot`? [11:03] * FourDollars looks at grub2/precise-proposed/debian/build-efi-images . [11:13] No, I won't [11:13] It's not so much a restriction as a "how on earth do we find what drive to boot from" [11:14] I didn't just put it in to get in people's way [11:14] To remove it I would have to have some other way to locate the EFI System Partition [11:15] This isn't going to be a priority for me for the rest of the year, FWIW [11:18] cjwatson: Will File(\EFI\BOOT\grubx64.efi) read File(\EFI\BOOT\grub.cfg) before it goes to check .disk/info or .disk/mini-info ? [11:22] No, because it doesn't know where \EFI\BOOT\ is [11:23] I consider having to touch /.disk/info a minor inconvenience [11:23] It would be nice to fix it, but there's so much else to do [11:23] I see. [11:24] Does it mean we will also put .disk/info in Ubuntu system partition? [11:24] Two UEFI boot entries seems like a bug, although it's possible it has something to do with testing successive versions? [11:24] No, because it's only an issue when using --removable [11:24] We have it on Ubuntu installation media [11:24] I see. [11:26] It's possible your boot manager is ignoring what was set by efibootmgr and is just displaying \EFI\*\*.efi or some such [11:26] As far as I can see we only ever call efibootmgr once [11:26] cjwatson: should grub-install touch .disk/info when envoked with removable & uefi-secure-boot flags? [11:28] xnox: I think so. [11:30] I am encountering a problem that BootCurrent points to HD File(EFI\BOOT\BOOTX64.efi), but it boots my USB stick. [11:31] No, I really disagree [11:31] The requirement for /.disk/info is temporary [11:31] We shouldn't entrench it by making tools create it automatically [11:32] I will fix it, just not this year when I have a couple of working days left and ~three other major things to finish [11:32] For me to create .disk/info manually is not a problem. [11:33] My problem is HDD parition has .disk/info and USB drive also has .disk/info. [11:34] HD File(EFI\BOOT\BOOTX64.efi) can not tell which one is the correct one. [11:35] Or should I say "HD File(EFI\BOOT\grubx64.efi) can not tell which one is the correct one." [11:36] cjwatson: Will you fix the problem of .disk/info in precise next year? [11:37] Err. I mean in Ubuntu 12.04.2 . [11:42] I don't know whether I'll squeeze it into .2, but at least for .3 [11:42] Why on earth does your HD partition have .disk/info? I can't imagine a reason for that [11:43] cjwatson: Because I am working on a feature like Ubuntu on-disk installer. [11:44] cjwatson: I will use the USB drive to install "Ubuntu on-disk installer" into HDD partition, and use `grub-install --removable` and create a UEFI boot entry points to it. [11:44] Ah. Well, you're also demonstrating why the problem isn't simple, if you think about it [11:45] /efi/boot/grub.cfg is no more a unique path than /.disk/info is [11:45] FourDollars: for "factory reset"-like functionality ? [11:45] xnox: yes [11:45] So it needs to actually figure out the device it was booted from, not just add another check for /efi/boot/grub.cfg [11:46] I know this is not an easy task. :( [11:47] cjwatson: yes [11:47] cjwatson: I hope grub2 can check grub.cfg in the same filesystem and the same folder first. [11:49] And the search.fs_uuid in grub.cfg will find out the right parition of /boot/grub . [11:51] No, UUID search is useless [11:51] At least for finding grub.cfg [11:51] cjwatson: Why is it useless? [11:51] We have no way to embed a UUID into a signed image [11:52] Agree. [11:52] Well, OK, it would be useful for finding /boot/grub I suppose [11:52] Sorry, I have a really bad headache and can't think [11:52] Poking me about this right now probably isn't very useful [11:52] Not mind. [11:55] Never mind. [11:55] cjwatson: It is great to know these implementaion details, thanks a lot. [12:18] * FourDollars is wondering how ESP,File(\EFI\ubuntu\grubx64.efi) copied from grubx64.efi.signed can read ESP,File(\EFI\ubuntu\grub.cfg) and work well. [12:27] grubx64.efi.signed is configured differently from gcdx64.efi.signed, as I explained the other day [12:44] * FourDollars goes to check IRC logs. [13:00] Which config will be read first if we don't use '-c' to embed file as an early config? $prefix/grub.cfg? [13:01] Yes [13:02] So that is why ESP,File(\EFI\ubuntu\grubx64.efi) will read ESP,File(\EFI\ubuntu\grub.cfg). [13:08] And why ESP,File(\EFI\BOOT\BOOTX64.EFI) will read USB,File(\efi\boot\grub.cfg) is because we embed an early config "normal (memdisk)/grub.cfg" and "(memdisk)/grub.cfg" find the USB,File(\.disk\info) before HDD,File(\.disk\info) is to be found. [13:10] So the problem might be the search order of storage devices. [13:12] However we can not assume which search order is correct because of different usages. :( [13:13] The only correct fix is for gcdx64.efi to learn how to locate the device it was booted from rather than having to guess based on file names. [13:14] Yes. [13:40] It should be possible to find out the corresponding filesystem from BootCurrent. [13:47] I guess. === ray__ is now known as ray2 === ray2 is now known as raymondjtoth [19:00] hi im tryingyo install wubi [19:01] and get boot err whats up [19:01] get err grldr [19:06] hi im tryingyo install wubi [13:00] and get boot err whats up [13:01] get err grldr [19:14] and get boot err whats up [13:01] get err grldr [13:06] hi im tryingyo install wubi [13:00] and get boot err whats up [13:01] get err grldr [19:17] and get boot err whats up [13:01] get err grldr [13:06] hi im tryingyo install wubi [13:00] and get boot err whats up [13:01] get err grldr