/srv/irclogs.ubuntu.com/2014/04/18/#ubuntu-installer.txt

ZelR_I am still looking for some feedback re my question. Did I miss something or am I in the wrong forum? Bug # 130888507:52
ZelR_join #ubuntu-installer07:53
=== ZelR_ is now known as LantzR
LantzRI am still looking for some feedback re my question. Did I miss something or am I in the wrong forum? Bug # 130888508:02
xnoxbug #130888510:08
ubot2Launchpad bug 1308885 in ubuntu-release-upgrader (Ubuntu) "Unable to restart into and complete an Ubiquity Upgrade" [Undecided,New] https://launchpad.net/bugs/130888510:08
PeanutI 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:28
PeanutIs it worth filing a bug about this? Should I do this in Ubuntu or upstream in Debian installer?10:29
TeduardoHowdy, does anyone know how you can change permitrootlogin from without-password to yes in kickstart in 14.04?11:22
Teduardodoes the sed in the installer not support -i anymore?14:19
Teduardoi.e. preseed preseed/late_command string in-target sed -i 's/^PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config14:20
infinityTeduardo: That's in-target, so it would be the installed sed, which absolutely supports -i14:22
infinityBut you may have quoting issues or something?  I dunno.  I don't do preseedy things.14:22
CarlFKTeduardo: 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:27
CarlFKand the output of it, so maybe you can see if sed is erroring14:28
CarlFKhmm, if it is erroring, it will raise an error .. but I would still start by looking at the log14:29
devicenullDid something change in the trusty installer that doesn't allow root login via password anymore?14:35
devicenullI'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 config14:36
Teduardohehehe i was just working correcting that mistake lol14:37
mdeslaurdevicenull: it's not the installer, it's the new openssh default config in trusty14:37
devicenullah14:37
Teduardoits unfortunate that they didn't add a ssh configuration line to kickstart so that you could control that14:39
mdeslaurwell,you can preseed openssh-server/permit-root-login, can't you?14:40
devicenullheh, I hit the length limit in preseed/late_command14:40
ice9why installer doesn't support efi by default?14:41
ice9only grub-pc is installed and not grub-efi14:42
xnoxice9: it does.14:42
xnoxice9: see amd64 images (64-bit)14:42
Peanutmdeslaur: oh, that's a much nicer solution, I'll try that next. (Happen to have run into the same issue today).14:42
xnoxice9: in fact all releases since 12.04.2 do (12.10, 13.04, 13.10, 14.04)14:42
ice9xnox: even if /boot on usb drive not the sda?14:43
xnoxice9: yes.14:43
xnoxice9: but may not be well tested when /boot and EFI system partition are on different drives.14:43
Teduardomdeslaur: what is the command for that in a kickstart file?14:44
ice9xnox: that's good but I hope that the installer supports manual partitioning for lvm and crypt14:44
xnoxice9: it does.14:44
ice9xnox: no14:44
mdeslaurTeduardo: sorry, I don't know...I'm not sure how kickstart support works14:44
ice9xnox: I have to mount the HD manually to partition it and encrypt it14:44
ice9before starting the installer14:45
ice9then the disk manager in the installer will see my changes14:45
xnoxice9: 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
devicenullTeduardo: in a preseed, I think it would be 'd-i openssh-server/permit-root-login boolean true'14:45
devicenullI forget the command that lets you set preseed configs in a kickstart...14:45
Teduardobut it's not a boolean anymore, there are 4 or 5 options14:45
xnoxice9: ubuntu server, netinstaller, mini.iso all offer support for mount encrypted volumes and operate on lvm/crypt devices as you wish.14:45
devicenulloh, it's not?14:45
Teduardothere is yes, no without-password, etc14:46
ice9xnox: Im talking about Ubuntu Desktop14:46
xnoxice9: desktop installer, can do "full disk lvm and/or full disk encryption" but no support for further tweaking beyond that.14:46
ice9xnox: yeah that's what I mean if it can support manual tweaking14:46
CarlFKdevicenull: 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#L10414:47
xnoxice9: 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
devicenullCarlFK: yea, I just had to convert to that14:47
Teduardodevicenull: did you figure out a way to avoid creating a user account?14:48
devicenulld-i passwd/make-user boolean false14:48
devicenullunless that changed too, I havent checked14:48
devicenullI quickly gave up on using kickstarts, it seems they're more trouble then they are worth14:49
Teduardoit would be fine if it was either documented or new settings, etc were added to it14:50
Teduardoits somewhat nice to be able to use a similar style config for both centos and ubuntu14:50
Teduardoif you've pxe installed suse in the past you know that autoyast is a disaster14:51
Teduardoso at least Kickstart in ubuntu works14:51
devicenullI think I looked into suse once, and it seemed to require BOOTP rather then DHCP, so I just gave up14:52
Teduardoyeah if we need a suse install for someone we just attach a kvm and let them install it via cd14:52
Teduardoluckily nobody seems to use it14:55
devicenullI dont think I've ever seen a request for it14:55
Teduardowere you able to figure out how to get the PermitRootLogin to be yes by using the openssh/permit-root-login?15:27
Teduardoi've tried several different commands in the kickstart and so far not much happening15:27
devicenullI just fix the config with sed15:27
devicenulleasier then fighting with the 'proper' way of doing it, and there's not really any downside15:27
Teduardoahh, whats your sed command? I tried preseed preseed/late command in target sed -i ... and it didn't work15:28
devicenullsed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /target/etc/ssh/sshd_config;15:28
Teduardoso preseed preseed/late_command string in-target sed -i 's/^PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config15:28
devicenullassuming in-target does what I expect, yea15:29
Teduardodamn, that command didn't work for me. wonder what i'm doing wrong15:29
zookoI can report mostly-success with 14.04! Thanks!19:52
zookoCan 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 is19:53
zookocurrently doing, which is installing into the thing that has the / fs mounted on it, which is /dev/sda5?19:53
zookoMy boot manager (refind) can't boot things from /dev/sda5, probably because it is a btrfs filesystem.19:53
zookoThis is on a Macbook Pro 5,319:53
zookoHm, I just downloaded the final version -- lubuntu-14.04-desktop-amd64+mac.iso,21:49
zookoand 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
zookoDo I need to flip a "bootable" flag on my USB stick or something?21:49
zookoHrm... I wonder if this is relevant. During the dd I got a lot of /var/log/syslog msgs saying21:52
zookotimeout '/sbin/blkid -o udev -p /dev/sdb'21:52
zookotimeout: killing '/sbin/blkid -o udev -p /dev/sdb'21:52
zookoI wonder if that means the dd didn't work.21:52
xnoxzooko: with newer macs, i found that "amd64" image works best.21:54
xnoxzooko: also i'm not sure if lubuntu is EFI enabled.21:54
zookoxnox: thanks. So I wonder why the download page recommends the "mac" version.21:54
zookoAnd I looked for, but didn't find an explanation of what the Mac version is exactly.21:54
zookoThis page: http://lubuntu.net/21:55
zookoAnd this one: https://help.ubuntu.com/community/Lubuntu/GetLubuntu21:55
xnoxzooko: EFI partitions are always FAT, grub can and does know how to boot kernel off btrfs.21:55
xnoxzooko: so that should just work, but will test.21:55
xnoxzooko: well, that is incorrect. but i don't manage those websites.21:55
xnoxzooko: 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:56
zookoxnox: thanks.21:57
zookoxnox: 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
zookoCould this be due to the +mac image being worse for this machine than the normal amd64 image?21:58
zookoOr could it be that blkid timeout killed stuff in my syslog telling me that my dd is not working?21:58
cjwatsonTeduardo,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:23
cjwatsonWait, sorry, that's backwards, the question name is confusing22:24
cjwatsonpreseed openssh-server/permit-root-login boolean false22:24
cjwatsonI wasn't really thinking of it from the preseeding point of view when I wrote it *shrug*22:24

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