[07:52] <ZelR_> I am still looking for some feedback re my question. Did I miss something or am I in the wrong forum? Bug # 1308885
[07:53] <ZelR_> join #ubuntu-installer
[08:02] <LantzR> I am still looking for some feedback re my question. Did I miss something or am I in the wrong forum? Bug # 1308885
[10:08] <xnox> bug #1308885
[10:08] <ubot2> Launchpad bug 1308885 in ubuntu-release-upgrader (Ubuntu) "Unable to restart into and complete an Ubiquity Upgrade" [Undecided,New] https://launchpad.net/bugs/1308885
[10:28] <Peanut> I have a bug that I keep running into when doing preseeding, even in 14.04: If you make a mistake, you end up with 'No root file system is defined, please correct this from the partitioning menu'. And then a button 'Continue', that goes back to the same error page, so I'm stuck.
[10:29] <Peanut> Is it worth filing a bug about this? Should I do this in Ubuntu or upstream in Debian installer?
[11:22] <Teduardo> Howdy, does anyone know how you can change permitrootlogin from without-password to yes in kickstart in 14.04?
[14:19] <Teduardo> does the sed in the installer not support -i anymore?
[14:20] <Teduardo> i.e. preseed preseed/late_command string in-target sed -i 's/^PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
[14:22] <infinity> Teduardo: That's in-target, so it would be the installed sed, which absolutely supports -i
[14:22] <infinity> But you may have quoting issues or something?  I dunno.  I don't do preseedy things.
[14:27] <CarlFK> Teduardo: sudo less /var/log/installer/syslog ... I see Apr 17 16:21:35 preseed: running preseed command preseed/late_command: cd /target/tmp && wget http://$url/lc/late.sh ...
[14:28] <CarlFK> and the output of it, so maybe you can see if sed is erroring
[14:29] <CarlFK> hmm, if it is erroring, it will raise an error .. but I would still start by looking at the log
[14:35] <devicenull> Did something change in the trusty installer that doesn't allow root login via password anymore?
[14:36] <devicenull> I'm using the same preseed as I've been using with everything from 12.04 up to now, but I'm getting 'PermitRootLogin without-password' in my ssh config
[14:37] <Teduardo> hehehe i was just working correcting that mistake lol
[14:37] <mdeslaur> devicenull: it's not the installer, it's the new openssh default config in trusty
[14:37] <devicenull> ah
[14:39] <Teduardo> its unfortunate that they didn't add a ssh configuration line to kickstart so that you could control that
[14:40] <mdeslaur> well,you can preseed openssh-server/permit-root-login, can't you?
[14:40] <devicenull> heh, I hit the length limit in preseed/late_command
[14:41] <ice9> why installer doesn't support efi by default?
[14:42] <ice9> only grub-pc is installed and not grub-efi
[14:42] <xnox> ice9: it does.
[14:42] <xnox> ice9: see amd64 images (64-bit)
[14:42] <Peanut> mdeslaur: oh, that's a much nicer solution, I'll try that next. (Happen to have run into the same issue today).
[14:42] <xnox> ice9: in fact all releases since 12.04.2 do (12.10, 13.04, 13.10, 14.04)
[14:43] <ice9> xnox: even if /boot on usb drive not the sda?
[14:43] <xnox> ice9: yes.
[14:43] <xnox> ice9: but may not be well tested when /boot and EFI system partition are on different drives.
[14:44] <Teduardo> mdeslaur: what is the command for that in a kickstart file?
[14:44] <ice9> xnox: that's good but I hope that the installer supports manual partitioning for lvm and crypt
[14:44] <xnox> ice9: it does.
[14:44] <ice9> xnox: no
[14:44] <mdeslaur> Teduardo: sorry, I don't know...I'm not sure how kickstart support works
[14:44] <ice9> xnox: I have to mount the HD manually to partition it and encrypt it
[14:45] <ice9> before starting the installer
[14:45] <ice9> then the disk manager in the installer will see my changes
[14:45] <xnox> ice9: can you please use the installer first, and read the installer guide. Or specify which image you are using, and what you are trying to achieve.
[14:45] <devicenull> Teduardo: in a preseed, I think it would be 'd-i openssh-server/permit-root-login boolean true'
[14:45] <devicenull> I forget the command that lets you set preseed configs in a kickstart...
[14:45] <Teduardo> but it's not a boolean anymore, there are 4 or 5 options
[14:45] <xnox> ice9: ubuntu server, netinstaller, mini.iso all offer support for mount encrypted volumes and operate on lvm/crypt devices as you wish.
[14:45] <devicenull> oh, it's not?
[14:46] <Teduardo> there is yes, no without-password, etc
[14:46] <ice9> xnox: Im talking about Ubuntu Desktop
[14:46] <xnox> ice9: desktop installer, can do "full disk lvm and/or full disk encryption" but no support for further tweaking beyond that.
[14:46] <ice9> xnox: yeah that's what I mean if it can support manual tweaking
[14:47] <CarlFK> devicenull: my late_command is a script: https://github.com/CarlFK/veyepar/blob/master/setup/nodes/pxe/shaz/var/www/d-i/oneiric/preseed_carl.cfg#L104
[14:47] <xnox> ice9: not implemented yet. You can use mini.iso / server image instead. And to opt for a desktop, simply select "ubuntu-desktop" task for installation.
[14:47] <devicenull> CarlFK: yea, I just had to convert to that
[14:48] <Teduardo> devicenull: did you figure out a way to avoid creating a user account?
[14:48] <devicenull> d-i passwd/make-user boolean false
[14:48] <devicenull> unless that changed too, I havent checked
[14:49] <devicenull> I quickly gave up on using kickstarts, it seems they're more trouble then they are worth
[14:50] <Teduardo> it would be fine if it was either documented or new settings, etc were added to it
[14:50] <Teduardo> its somewhat nice to be able to use a similar style config for both centos and ubuntu
[14:51] <Teduardo> if you've pxe installed suse in the past you know that autoyast is a disaster
[14:51] <Teduardo> so at least Kickstart in ubuntu works
[14:52] <devicenull> I think I looked into suse once, and it seemed to require BOOTP rather then DHCP, so I just gave up
[14:52] <Teduardo> yeah if we need a suse install for someone we just attach a kvm and let them install it via cd
[14:55] <Teduardo> luckily nobody seems to use it
[14:55] <devicenull> I dont think I've ever seen a request for it
[15:27] <Teduardo> were you able to figure out how to get the PermitRootLogin to be yes by using the openssh/permit-root-login?
[15:27] <Teduardo> i've tried several different commands in the kickstart and so far not much happening
[15:27] <devicenull> I just fix the config with sed
[15:27] <devicenull> easier then fighting with the 'proper' way of doing it, and there's not really any downside
[15:28] <Teduardo> ahh, whats your sed command? I tried preseed preseed/late command in target sed -i ... and it didn't work
[15:28] <devicenull> sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /target/etc/ssh/sshd_config;
[15:28] <Teduardo> so preseed preseed/late_command string in-target sed -i 's/^PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
[15:29] <devicenull> assuming in-target does what I expect, yea
[15:29] <Teduardo> damn, that command didn't work for me. wonder what i'm doing wrong
[19:52] <zooko> I can report mostly-success with 14.04! Thanks!
[19:53] <zooko> Can you advise me on how to install my grub, kernel, initrd, and whatever other stuff that I don't understand into /dev/sda1, or into some mysterious space on the disk that exists outside of any partition, instead of what it is
[19:53] <zooko> currently doing, which is installing into the thing that has the / fs mounted on it, which is /dev/sda5?
[19:53] <zooko> My boot manager (refind) can't boot things from /dev/sda5, probably because it is a btrfs filesystem.
[19:53] <zooko> This is on a Macbook Pro 5,3
[21:49] <zooko> Hm, I just downloaded the final version -- lubuntu-14.04-desktop-amd64+mac.iso,
[21:49] <zooko> and dd'ed it onto a USB stick, but when I boot my Macbook Pro (5,3) with that USB stick in, it doesn't boot.
[21:49] <zooko> Do I need to flip a "bootable" flag on my USB stick or something?
[21:52] <zooko> Hrm... I wonder if this is relevant. During the dd I got a lot of /var/log/syslog msgs saying
[21:52] <zooko> timeout '/sbin/blkid -o udev -p /dev/sdb'
[21:52] <zooko> timeout: killing '/sbin/blkid -o udev -p /dev/sdb'
[21:52] <zooko> I wonder if that means the dd didn't work.
[21:54] <xnox> zooko: with newer macs, i found that "amd64" image works best.
[21:54] <xnox> zooko: also i'm not sure if lubuntu is EFI enabled.
[21:54] <zooko> xnox: thanks. So I wonder why the download page recommends the "mac" version.
[21:54] <zooko> And I looked for, but didn't find an explanation of what the Mac version is exactly.
[21:55] <zooko> This page: http://lubuntu.net/
[21:55] <zooko> And this one: https://help.ubuntu.com/community/Lubuntu/GetLubuntu
[21:55] <xnox> zooko: EFI partitions are always FAT, grub can and does know how to boot kernel off btrfs.
[21:55] <xnox> zooko: so that should just work, but will test.
[21:55] <xnox> zooko: well, that is incorrect. but i don't manage those websites.
[21:56] <xnox> zooko: at the moment we believe that "mac" image is best for CDs, however regular one is best if you burn USB disk.
[21:56] <xnox> (well, dd)
[21:57] <zooko> xnox: thanks.
[21:58] <zooko> xnox: but, the problem I'm having is that the refind boot manager comes up instead of the USB stick installer image coming up, when I boot.
[21:58] <zooko> Could this be due to the +mac image being worse for this machine than the normal amd64 image?
[21:58] <zooko> Or could it be that blkid timeout killed stuff in my syslog telling me that my dd is not working?
[22:23] <cjwatson> Teduardo,devicenull: it *is* a boolean as far as that preseed entry is concerned.  "preseed openssh-server/permit-root-login boolean true" would be the form to use in a Kickstart file.
[22:24] <cjwatson> Wait, sorry, that's backwards, the question name is confusing
[22:24] <cjwatson> preseed openssh-server/permit-root-login boolean false
[22:24] <cjwatson> I wasn't really thinking of it from the preseeding point of view when I wrote it *shrug*