/srv/irclogs.ubuntu.com/2007/10/17/#ubuntu-installer.txt

mathiazHi. In the minimal iso install, is it possible to put a preseed file on the minimal iso ?19:56
cjwatsonmathiaz: yes, but it's fiddly; wouldn't it be easier to fetch it from the network?20:06
cjwatsonBTW, "minimal iso" isn't a good description. Do you mean "netboot mini.iso"?20:06
mathiazcjwatson: yes - I refered to netboot.20:07
mathiazcjwatson: it's another option. I was just wondering if that could be possible.20:07
cjwatsonyou can do it and then use file=/cdrom/path/to/file, sure20:07
mathiazcjwatson: I'm already using fuseiso to setup a preseed on the ubuntu-server cd for automatic installation.20:07
cjwatsonjust if you're netbooting it's normally less hassle just to put it on the network and use url=20:07
cjwatson(that's what I do)20:08
mathiazcjwatson: I was wondering I could do the same with the netboot min.iso20:08
cjwatsonoh, let me just double-check that file-preseed is available there20:08
cjwatsonmathiaz: ah, no, sorry, you can't do it in the usual way. The netboot installation method doesn't actually mount the CD from Linux at any point20:09
cjwatsonmathiaz: you can, however, unpack the initrd and add /preseed.cfg to it, then repack it20:10
mathiazcjwatson: ok. Thanks.20:10
cjwatson'(cd /path/to/unpacked/initrd && find . | cpio --quiet -o -H newc) | gzip -9 > /path/to/new/initrd.gz' does the repacking20:11
cjwatsonany file called /preseed.cfg in the initrd will automatically be read as a preseed file20:11
mathiazcjwatson: It may be interesting to add cd mounting in the netboot mini.iso also.20:11
cjwatsonnot a good idea IMO, netboot is used by people who have trouble mounting CDs20:12
cjwatson(among others)20:12
cjwatsonI don't want to complicate the netboot path for the very rare cases where mounting the CD is useful20:12
mathiazcjwatson: good point. But they're able to boot from their cd drive20:12
cjwatsonthat's not the same as Linux being able to read from it, though20:13
cjwatsonI have a lot of bugs that say that20:13
mathiazcjwatson: ok.20:13
mathiazcjwatson: so if you fetch the seed from the network, you need to specify on the command line every time ?20:13
mathiazcjwatson: or do you modify the isolinux.cfg on the mini.iso so that it fetches from the preseed from the network ?20:14
cjwatsonthe former for testing, the latter in production20:15
cjwatsonthe only reasons anyone uses netboot mini.iso seriously anyway are (a) testing (b) Linux can't cope with their CD drive ;-)20:16

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