/srv/irclogs.ubuntu.com/2011/11/16/#ubuntu-installer.txt

KaZeR_Whi there.09:56
KaZeR_Wi'm still having some issues with preseed. i just installed a server using this network preseed : http://pastie.org/2871469 and after installation the host is using dhcp. what's wrong?09:57
macer1hello11:18
macer1what package is responsible for generating Ubuntu ISO's?11:19
macer1I dont know what to  assing my bug report.11:19
macer1!bug 89015111:20
ubot2Launchpad bug 890151 in ubuntu "Ubuntu 11.10 ISOs after release, not bootable from pendrive on Macs." [Undecided,New] https://launchpad.net/bugs/89015111:20
brendandmacer1 has a problem installing 11.10 on a Mac, presumably with a USB stick created by usb-creator-gtk11:20
cjwatsonthe ubuntu-cdimage project (not package in Ubuntu)11:20
cjwatsonoh, created by usb-creator11:20
cjwatsonin that case, usb-creator11:20
cjwatsonreassigned11:20
cjwatsonI think this was already a known bug though11:20
brendandcjwatson - i would have thought so11:21
macer1brendand the problem is that alphas and betas worked without problem :D11:21
macer1I am writing this from 11.10 on my Mac :D11:21
macer1I installed it some time ago, and updated to final.11:21
cjwatsonI don't remember what specifically might have changed, sorry11:22
macer1I am using dd to write images to pendrive, btw.11:22
macer1Maybe do you have some ideas why it stopped booting?11:24
cjwatsonsorry, I don't - I haven't tested Macs for some time11:24
macer1ok, thanks :)11:24
cjwatsonI'm due to get hold of one in a while and maybe I can look then11:25
cjwatsonuntil then I'm afraid I can't help much11:25
macer1Can I download an alpha 2 of oneiric?11:25
cjwatsonno, those have all been archived11:26
cjwatsonCD images take up a fiendish amount of space over time; we can only keep reasonably current releases available11:26
macer1:/11:27
macer1I remember alpha 2 was booting perfectly.11:27
macer1Maybe I am writing it wrong.11:29
macer1dd if=ubuntu-oneiric.iso of=/dev/sdb11:30
ev(macer1 probably worth adding bs=1M - writing one byte at a time isn't going to be the fastest thing going)11:33
brendandcjwatson - well, i guess if he's dd'ing then it's not usb-creator11:34
cjwatsonsure, then reassign to the ubuntu-cdimage project11:35
cjwatson(I'm working on other urgent things I'm afraid)11:35
cjwatsonI don't believe that hybrid ISO booting on Mac EFI is expected to remotely work right now.  If it ever did it was by luck11:36
cjwatsonWe need to pull in a giant wodge of weird stuff from Matthew Garrett to have a hope11:36
cjwatsonBut that needs to be done in xorriso upstream really11:36
macer1cjwatson, why by luck :D?11:58
macer1it was booting great grub2 efi11:58
macer1and what weird stuff are you talking about :D?11:59
cjwatsonhttp://mjg59.dreamwidth.org/4957.html12:01
cjwatsonsince we have none of that work in Ubuntu images yet, any ability to boot on Mac EFI using an image dded to a USB stick was purely by luck, I'm afraid12:01
macer1...12:07
macer1but...but...it was booting :(12:08
cjwatsonI'm sorry, I don't really know what to tell you12:10
macer1It is so complicated...12:11
macer1Will it be fixed in 12.04?12:14
cjwatsonI don't know; I need to discuss it with xorriso upstream12:20
macer1ok thanks, you helped me a lot :)12:24
mflhi there, I just ran into a problem with the latest ubuntu-installer from oneiric when booting the installer from a tftp-server15:29
CarlFKmfl: works for me - what's the problem ?15:30
mflthe first window just shows squares instead of chars already15:37
mflas I can't read anything I wasn't brave enough to click anywhere, so I don't know if this only occurs in the first window...15:38
mflCarlFK: any idea?15:38
mflthe append line is "append priority=low vga=788 initrd=ubuntu-installer/gtk/amd64/initrd.gz --"15:39
CarlFKhere is my setup: https://github.com/CarlFK/veyepar/tree/master/setup/pxe15:39
mflbut I also tried "append priority=low video=vesa:ywrap,mtrr vga=788 initrd=ubuntu-installer/gtk/amd64/initrd.gz --" already, but the result is the same15:41
CarlFKif you sudo ./install.sh it will setup a working pxe server - but I would only do that if you are OK with it trashing your exising configs15:41
mflhmm, that's kind of a problem15:42
CarlFKin the shaz dir are my configs.. you could cut/paste the key parts15:43
mflthe ubuntu-installer isn't the only part my tftpd serves15:43
CarlFKI would start by running "sudo shaz/root/getu.sh oneiric amd64" using my default15:45
CarlFKgetu.sh does a wget'sthe kernel/initrd files15:45
CarlFKand puts them in a dir the tftp server where default uses them15:46
mflnice, but I already did this manually...15:47
CarlFKum.. then it should work :)15:47
mfldownloaded the http://archive.ubuntu.com/ubuntu/dists/oneiric/main/installer-amd64/current/images/netboot/gtk/netboot.tar.gz, extracted the contents into the tftpboot and so on15:48
CarlFKyeah, you didn't do what I do15:48
CarlFKso..15:48
CarlFKmy suggestion: do what I do.15:48
mflthis used to work very nice for older ubuntu-installer versions, so I'm wondering what could have changed...15:49
CarlFKyou must have more boxes around... run my ./install.sh on one of them, set your dhcp server to point at the test pxe stuff15:50
KaZeR_Wcan anyone help with preseeding? i'm having issues with the network config. it always uses dhcp, whatver i do15:51
CarlFKnext-server testserver ;15:51
mflyeah, I'll probably should give it a shot15:51
mflCarlFK: sure, I used dhcp for network booting for more than 8 years now... :-)15:52
mflbut thanks anyway15:52
CarlFKKaZeR_W: how are you ..umm.. supplying the preseed file?15:53
CarlFKhttp, nfs, local file...15:53
KaZeR_WCarlFK, http15:55
CarlFKKaZeR_W: how are you setting the IP config?15:55
mflone odd thing I stumbled upon during my investigations is that pxelinux.cfg/default includes ubuntu-installer/amd64/boot-screens/menu.cfg which includes ubuntu-installer/amd64/boot-screens/gtk.cfg, but the gtk.cfg file doesn't exist in the gtk's netboot.tar.gz ...15:56
KaZeR_Wi'm booting the hosts via PXE. on my last try, i did : " append initrd=ubuntu-server/initrd.gz priority=critical auto=true url=...  ip=..."15:57
KaZeR_Wbut the hosts used dhcp even during installation15:57
CarlFKKaZeR_W: pastbin your default15:58
CarlFKand preseed15:58
KaZeR_WCarlFK, http://pastie.org/287286716:00
CarlFKKaZeR_W:  ip=10.151.2.716:09
CarlFKwhere are the docs that say that will do what you think it does?16:10
CarlFKhttps://help.ubuntu.com/11.10/installation-guide/i386/preseed-using.html  might be here, I am digging around16:10
CarlFKKaZeR_W: ip= isn't listed under   Aliases useful with preseeding16:11
cjwatsonindeed, afaik that does not work with Ubuntu16:12
KaZeR_WCarlFK, honestly i have read a lot of differents docs about that i don't recall where i find this one. hang on i'm checking my history16:20
KaZeR_WCarlFK, might be this one : http://ubuntuforums.org/showthread.php?p=1145201516:21
KaZeR_Wthere is ip=dhcp, so i assumed ip=<something static> should work16:21
* cjwatson is speaking from looking at the code, regardless of what somebody said on the forums,16:22
CarlFKKaZeR_W: ip=dhcp I think that is deceptive16:22
cjwatsonip=dhcp is a pxelinux option not an installer option16:22
cjwatsonI think16:23
cjwatsonoh, no, wait16:23
cjwatsonAh.  ip= is a *kernel* option not an installer option; it's for NFS root.16:23
KaZeR_Wok. then how can one preseed a static network configuration?16:24
CarlFKKaZeR_W: try append ... netcfg/get_ipaddress=192.168.1.15016:24
KaZeR_Wok16:24
cjwatsonIt is useless for configuring the installer.16:24
cjwatsonThe installation guide that CarlFK quoted earlier is authoritative - forums aren't16:24
KaZeR_Wthe installer works fine using dhcp, it's fine for me. i just need the right network conf to be applied afterward16:24
KaZeR_Wthanks cjwatson. i'll review that guide16:25
=== z30 is now known as KaZeR_W_
=== KaZeR_W_ is now known as KaZeR_W__
=== KaZeR_W__ is now known as KaZeR_W
GrueMastercjwatson: Is there a way to install an older distro with netinstall?  I want to be able to install Maverick and Natty on armel omap4 for SRU testing and I can automate netinstall much easier than the preinstalled images.16:43
KaZeR_Wi do not understand how the "killall.sh; netcfg" hack is supposed to work, in the Network configuration part of https://help.ubuntu.com/11.10/installation-guide/i386/preseed-contents.html16:43
cjwatsonGrueMaster: just grab the matching netboot image16:43
cjwatsonhttp://cdimage.ubuntu.com/netboot/ should have indexes of links for older releases16:44
ogra_cjwatson, we didnt have netboot for some releases on arm16:44
GrueMastercjwatson: We only started building netinstall images for omap4 in Oneriric.16:44
cjwatsonthen we would have to start building them for older releases too16:45
GrueMasterPersonally, I think we need them for all supported platforms, even if we don't support the netinstaller.  Makes automation much easier.16:45
cjwatsonassuming the underlying code is there and it's just a matter of adding images16:45
cjwatsonGrueMaster: well, yes, that's always been my position, but at the time the arm team disagreed that this was a priority16:45
ogra_well, it is surely there in later releases16:45
ogra_we would likely need to backport some bits16:45
cjwatsonogra_: it's a question of whether it's just a build system tweak, or whether it requires backporting actual installer code16:45
cjwatsonthe former is trivial, the latter not so much16:46
ogra_well, the latter is likely totally arch specific16:46
cjwatsoncan you take care of it, whichever it is?16:46
ogra_subarch even16:46
cjwatsonthere's no real point in me trying to do it, I don't know what's needed16:46
ogra_hmm, k16:46
cjwatsonworst case we could publish extra-archive images16:46
KaZeR_Win fact even the hostname isn't taken into account. it defaults to ubuntu16:47
ogra_well, i would just be able to roll d-i locally with that change and give GrueMaster the image, i doubt we need it in the archive even16:48
cjwatsonthat part is a known bug16:48
cjwatsonKaZeR_W: ^-16:48
ogra_s/would/should/16:49
GrueMasterI do have netinstall images for omap.  I wonder if they would work if I just hammered in an omap4 kernel around them.16:49
cjwatsonhttps://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/21896516:49
ubot2Launchpad bug 218965 in netcfg "preseeding hostname doesn't work in a network install" [High,Triaged]16:49
cjwatsonGrueMaster: I would not be surprised to find problems16:49
ogra_GrueMaster, unlikely16:49
ogra_module udebs  etc will break16:49
cjwatsonogra_: you could use a monolithic image if necessary (e.g. if you had to change flash-kernel)16:49
ogra_yep16:50
KaZeR_Wcjwatson, which part ? the hostname ?16:51
ogra_GrueMaster, let me look at that tomorrow, for today i still need to babysit the live image build16:51
cjwatsonyes16:51
GrueMasterok16:51
KaZeR_Wcjwatson, ok. but i still can't get my static network settings to be taken into account :)16:51
ogra_tehoretically just movinf NCommander's scripts from oneiric into the older d-i builds (and possible add a newer flahs-kernel) should be enough16:51
ogra_GrueMaster, which arches do you need, omap4 and mx5 ? or just omap416:52
CarlFKKaZeR_W: give me 20 min.. I'll try some things here16:53
GrueMasteromap4 for maverick & natty would be very helpful.  imx53 for Oneiric+.16:53
KaZeR_Wthanks CarlFK . i'll have to go afk for a moment, would you mind sending a pm so i can get your message later ?16:58
CarlFKappend ... priority=critical netcfg/dhcp_options="Configure network manually" netcfg/get_ipaddress=192.168.0.220:23
CarlFKprompts me for netmask, defaulted to 255.255.255.0. shouldn't priority=critical make it use the default?20:24
CarlFKhttp://pastebin.com/eu5bpBQb full append line.. trimming stuff out to see if something is conflicting20:26

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