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