/srv/irclogs.ubuntu.com/2012/12/12/#ubuntu-installer.txt

EntropyWorksis there a way to add ufw rules during the install. I've tried adding02:12
EntropyWorksufw ufw/allow_known_ports multiselect SSH02:12
EntropyWorksufw ufw/allow_custom_ports string 22/tcp02:12
EntropyWorksufw ufw/enable boolean true02:12
EntropyWorksbut that doesn't work. and I can't run ufw in the late_command.sh either.02:15
=== kentb_ is now known as kentb
FourDollarscjwatson: 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).08:32
=== buildslayer is now known as shadeslayer
FourDollarscjwatson:09:10
FourDollarsoops09:10
FourDollarscjwatson: 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:14
FourDollarscjwatson: 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
ubot2`Launchpad bug 1087653 in OEM Priority Project precise "grub2-signed doesn't support removable drive." [High,In progress]09:22
FourDollarscjwatson: I need to touch .disk/info manually to make it to work.09:27
FourDollarscjwatson: Would you remove the restriction of '.disk/info' for `grub-install --removable --uefi-secure-boot`?10:10
* FourDollars looks at grub2/precise-proposed/debian/build-efi-images .11:03
cjwatsonNo, I won't11:13
cjwatsonIt's not so much a restriction as a "how on earth do we find what drive to boot from"11:13
cjwatsonI didn't just put it in to get in people's way11:14
cjwatsonTo remove it I would have to have some other way to locate the EFI System Partition11:14
cjwatsonThis isn't going to be a priority for me for the rest of the year, FWIW11:15
FourDollarscjwatson: Will File(\EFI\BOOT\grubx64.efi) read File(\EFI\BOOT\grub.cfg) before it goes to check .disk/info or .disk/mini-info ?11:18
cjwatsonNo, because it doesn't know where \EFI\BOOT\ is11:22
cjwatsonI consider having to touch /.disk/info a minor inconvenience11:23
cjwatsonIt would be nice to fix it, but there's so much else to do11:23
FourDollarsI see.11:23
FourDollarsDoes it mean we will also put .disk/info in Ubuntu system partition?11:24
cjwatsonTwo UEFI boot entries seems like a bug, although it's possible it has something to do with testing successive versions?11:24
cjwatsonNo, because it's only an issue when using --removable11:24
cjwatsonWe have it on Ubuntu installation media11:24
FourDollarsI see.11:24
cjwatsonIt's possible your boot manager is ignoring what was set by efibootmgr and is just displaying \EFI\*\*.efi or some such11:26
cjwatsonAs far as I can see we only ever call efibootmgr once11:26
xnoxcjwatson: should grub-install touch .disk/info when envoked with removable & uefi-secure-boot flags?11:26
FourDollarsxnox: I think so.11:28
FourDollarsI am encountering a problem that BootCurrent points to HD File(EFI\BOOT\BOOTX64.efi), but it boots my USB stick.11:30
cjwatsonNo, I really disagree11:31
cjwatsonThe requirement for /.disk/info is temporary11:31
cjwatsonWe shouldn't entrench it by making tools create it automatically11:31
cjwatsonI will fix it, just not this year when I have a couple of working days left and ~three other major things to finish11:32
FourDollarsFor me to create .disk/info manually is not a problem.11:32
FourDollarsMy problem is HDD parition has .disk/info and USB drive also has .disk/info.11:33
FourDollarsHD File(EFI\BOOT\BOOTX64.efi) can not tell which one is the correct one.11:34
FourDollarsOr should I say "HD File(EFI\BOOT\grubx64.efi) can not tell which one is the correct one."11:35
FourDollarscjwatson: Will you fix the problem of .disk/info in precise next year?11:36
FourDollarsErr. I mean in Ubuntu 12.04.2 .11:37
cjwatsonI don't know whether I'll squeeze it into .2, but at least for .311:42
cjwatsonWhy on earth does your HD partition have .disk/info?  I can't imagine a reason for that11:42
FourDollarscjwatson: Because I am working on a feature like Ubuntu on-disk installer.11:43
FourDollarscjwatson: 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
cjwatsonAh.  Well, you're also demonstrating why the problem isn't simple, if you think about it11:44
cjwatson/efi/boot/grub.cfg is no more a unique path than /.disk/info is11:45
xnoxFourDollars: for "factory reset"-like functionality ?11:45
FourDollarsxnox: yes11:45
cjwatsonSo it needs to actually figure out the device it was booted from, not just add another check for /efi/boot/grub.cfg11:45
FourDollarsI know this is not an easy task. :(11:46
FourDollarscjwatson: yes11:47
FourDollarscjwatson: I hope grub2 can check grub.cfg in the same filesystem and the same folder first.11:47
FourDollarsAnd the search.fs_uuid in grub.cfg will find out the right parition of /boot/grub .11:49
cjwatsonNo, UUID search is useless11:51
cjwatsonAt least for finding grub.cfg11:51
FourDollarscjwatson: Why is it useless?11:51
cjwatsonWe have no way to embed a UUID into a signed image11:51
FourDollarsAgree.11:52
cjwatsonWell, OK, it would be useful for finding /boot/grub I suppose11:52
cjwatsonSorry, I have a really bad headache and can't think11:52
cjwatsonPoking me about this right now probably isn't very useful11:52
FourDollarsNot mind.11:52
FourDollarsNever mind.11:55
FourDollarscjwatson: It is great to know these implementaion details, thanks a lot.11:55
* 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:18
cjwatsongrubx64.efi.signed is configured differently from gcdx64.efi.signed, as I explained the other day12:27
* FourDollars goes to check IRC logs.12:44
FourDollarsWhich config will be read first if we don't use '-c' to embed file as an early config? $prefix/grub.cfg?13:00
cjwatsonYes13:01
FourDollarsSo that is why ESP,File(\EFI\ubuntu\grubx64.efi) will read ESP,File(\EFI\ubuntu\grub.cfg).13:02
FourDollarsAnd 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:08
FourDollarsSo the problem might be the search order of storage devices.13:10
FourDollarsHowever we can not assume which search order is correct because of different usages. :(13:12
cjwatsonThe 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:13
FourDollarsYes.13:14
FourDollarsIt should be possible to find out the corresponding filesystem from BootCurrent.13:40
FourDollarsI guess.13:47
=== ray__ is now known as ray2
=== ray2 is now known as raymondjtoth
raymondjtothhi im tryingyo install wubi19:00
raymondjtothand get boot err whats up19:01
raymondjtothget err grldr19:01
raymondjtothhi im tryingyo install wubi [13:00] <raymondjtoth> and get boot err whats up [13:01] <raymondjtoth> get err grldr19:06
raymondjtoth<raymondjtoth> and get boot err whats up [13:01] <raymondjtoth> get err grldr [13:06] <raymondjtoth> hi im tryingyo install wubi [13:00] <raymondjtoth> and get boot err whats up [13:01] <raymondjtoth> get err grldr19:14
raymondjtoth<raymondjtoth> and get boot err whats up [13:01] <raymondjtoth> get err grldr [13:06] <raymondjtoth> hi im tryingyo install wubi [13:00] <raymondjtoth> and get boot err whats up [13:01] <raymondjtoth> get err grldr19:17

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