[15:16] <xnox> ubiquity gets a list of potential boot-device installation targets from "grub-mkdevicemap --no-floppy -m -" but that does not know about nvme devices.
[15:16] <xnox> and hence defaults to (hd0)
[15:16] <cjwatson> should be fixed in grub-mkdevicemap
[15:17] <xnox> furthermore "/dev/nmve0n1p1" is an option to install grub to, but that fails to pass correct arguments to efibootmgr e.g. it should pass "-d /dev/nvme0n1 -p 1" not "-d /dev/nmve0n1p1"
[15:18] <xnox> efibootmanager wants the device + optional partition number (defaults to first one)
[15:18] <xnox> instead of like first partition of the partition -> which makes efibootmanager confused, arguably it's an efibootmanager bug.
[15:19] <xnox> i'll open a new bug about grub-mkdevicemap.
[16:50] <xnox> cjwatson: sent patch for above to BTS.
[16:52] <cjwatson> thanks, looks sane enough, will queue up
[16:53] <xnox> ubuntu bug number is https://bugs.launchpad.net/debian/+source/grub2/+bug/1275162
[16:53] <ubot2> Launchpad bug 1275162 in grub2 (Ubuntu) "incorrect efibootmgr command is set by update-grub under OVMF" [High,In progress]
[16:54] <xnox> once it's in utopic, i'll test it off produced images, and then will be asking you to SRU that into trusty as well.
[16:55] <cjwatson> should be fine, I have another bug queued up for SRU anyway, just running out of steam for today
[16:57] <xnox> no rush =) those devices are not out on the market yet anyway.
[18:21] <pmatulis> is it possible to preseed using media instead of a HTTP repository?
[18:22] <CarlFK> pmatulis: yes.. sec...
[18:26] <CarlFK> pmatulis: http://debian-handbook.info/browse/stable/sect.automated-installation.html  12.3.2.1. Using a Preseed File
[18:29] <pmatulis> CarlFK: i'm not talking about the location of the preseed file but the location of the software itself
[18:30] <pmatulis> i believe you can mount an ISO and provide access via NFS.  is there any other way?
[18:36] <pmatulis> maybe section 12.3.3 of that doc is what i need
[18:37] <CarlFK> pmatulis: I am pretty sure you can preseed the existing install CD
[18:37] <xnox> pmatulis: https://help.ubuntu.com/community/Installation/LocalNet#A_variation:_Booting_the_.22Live_CD.22_image
[18:38] <xnox> pmatulis: that's essentially pxe-netbooting into ubiquity/live-cd which is hosted on an nfs server.
[18:38] <pmatulis> xnox: right ok, the NFS solution
[18:40] <pmatulis> xnox: i wonder if that still works.  looks outdated
[18:41] <xnox> i know that it did work with 12.04.3 images
[18:43] <pmatulis> xnox: and it does not mentionn preseed, looks just like an alternative to using a local cd to install a desktop
[18:46] <xnox> pmatulis: you specify the pressed file as you'd do for any other installation - via kernel cmdline argument to either file or url or pressed all options you want on kernel cmdline....
[18:47] <xnox> pmatulis: what are you requirements you are trying  to achieve?
[18:50] <pmatulis> xnox: "unattended server installation using preseed and an ISO"
[18:52] <xnox> pmatulis: and the ISO is physical cd / usb stick you plugin or do you pxe boot it?
[18:52] <xnox> pmatulis: remaster iso to include your custom preseed and install however you like.
[18:53] <pmatulis> xnox: exactly, that is one option i knew about.  i thought there might be another
[18:58] <xnox> pmatulis: pressed can be autofetch from disk/usb as well i believe. but that means plugging in two things.
[18:58] <xnox> i thought one could also make a custom initrd, yet boot everything else stock, but that one is fuzzy and possibly was completely non-standard.
[19:00] <pmatulis> xnox: the preseed location is not a biggie.  it's everything else i'm concerned about.  basically i want to be independent of the internet as well as not having to maintain a local mirror
[19:01] <pmatulis> i thought i could use an official ISO but apparently not
[19:01] <xnox> pmatulis: yes you can...
[19:02] <xnox> pmatulis: use official iso, boot with pressed parameters pointing either to e.g. pressed file off usb stick or just specify the options you want on the command line...
[19:06] <xnox> pmatulis: you can even blast the iso to the hard-drive, change pressed and boot that. Sure you'll be left with a used partition - which you can either pretend to be "recovery" or wipe&resize or make it swap post-install.
[19:07] <xnox> that's how we installed panda's and ac100s.
[19:10] <pmatulis> xnox: i've done my installs (kvm) using virt-install (pointing to the netboot files with --location) or with pxe (pointing to a local netboot kernel and initrd)
[19:11] <pmatulis> xnox: how do i point to a local iso (ideally using virt-install) and still be able to preseed
[19:14] <xnox> virt-install --cdrom path-to.iso --boot url=http://192.168.122.1/my-localhost.pressed ?
[19:14] <xnox> plus other options for disk-size et.al.
[19:15] <xnox> or just use cloud image -> it's trivially bootable into vm and customizable via cloud-init. i believe there is a wrapper to do exactly that in the archive.
[20:19] <pmatulis> xnox: now i'm getting some super annoying permissions problem when trying to read the ISO...
[20:40] <pmatulis> xnox: the --boot does not accept 'url='
[20:41] <pmatulis> ERROR    Unknown options ['url']
[20:41] <pmatulis> --boot is for post-install kernel options, according to the man page