| BarryAllen (~marx@201.86.36.120.adsl.gvt.net.br) joined #fai. |
| BarryAllen (~marx@201.86.36.120.adsl.gvt.net.br) left irc: |
| sanso|work_ (~sanso@194.120.17.62) joined #fai. |
| sanso|work (~sanso@194.120.17.62) left irc: Remote host closed the connection |
| siretart (siretart@tauware.de) left irc: Ping timeout: 480 seconds |
| mikap (~mika@linuxtage.at) left irc: Ping timeout: 480 seconds |
| siretart (siretart@213.239.237.3) joined #fai. |
| mikap (~mika@linuxtage.at) joined #fai. |
| sanso|work_ (~sanso@194.120.17.62) left irc: Remote host closed the connection |
| sanso|work_ (~sanso@194.120.17.62) joined #fai. |
| ROunofF (rounoff@rounoff.darktech.org) got netsplit. |
| asw (~asw@karuna.med.harvard.edu) got netsplit. |
| ROunofF (rounoff@rounoff.darktech.org) returned to #fai. |
| asw (~asw@karuna.med.harvard.edu) returned to #fai. |
| ROunofF (rounoff@rounoff.darktech.org) got netsplit. |
| asw (~asw@karuna.med.harvard.edu) got netsplit. |
| ROunofF (rounoff@rounoff.darktech.org) returned to #fai. |
| asw (~asw@karuna.med.harvard.edu) returned to #fai. |
| sanso|work__ (~sanso@194.120.17.62) joined #fai. |
| sanso|work_ (~sanso@194.120.17.62) left irc: Remote host closed the connection |
| sanso|work__ (~sanso@194.120.17.62) left irc: Remote host closed the connection |
| sanso|work__ (~sanso@194.120.17.62) joined #fai. |
| sanso|work__ (~sanso@194.120.17.62) left irc: Remote host closed the connection |
| sanso|work (~sanso@194.120.17.62) joined #fai. |
| kugg (~jerkeby@90-227-248-186-no120.tbcn.telia.com) left irc: Quit: leaving |
| MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. |
| sanso|work (~sanso@194.120.17.62) left irc: Quit: nightie-night :-) |
| sanso|work (~sanso@194.120.17.62) joined #fai. |
| sanso|work (~sanso@194.120.17.62) left irc: Ping timeout: 480 seconds |
| thpo (~thpo@dotrc.de) left irc: Ping timeout: 480 seconds |
| thpo (~thpo@dotrc.de) joined #fai. |
| 08:19 h01ger | Mrfai, http://www.chris-lamb.co.uk/2007/09/17/graphing-the-debhelper-design-pattern/ |
| meandtheshell (~markus@85.127.108.167) joined #fai. |
| Robinayor_ (~robin@suw.rkara.de) joined #fai. |
| 09:02 Robinayor_ | lo guys |
| 09:02 Robinayor_ | is the fstab for the installing-system (nfsroot) generated on-the-fly or should it be in the nfsroot? |
| 09:04 Robinayor_ | after recreating the nfs-root my clients aren't starting clean and spaming lots of "/var/log/" couldn't write/remove because of readonly-fs things |
| 09:04 MT | fstab is created by setup_harddisks |
| 09:04 MT | during installation |
| 09:04 MT | unless you forcefully overwrite it in one of your scripts |
| 09:05 Robinayor_ | MT: the fstab for the net-boot-install-system or the fstab for the sytem which will be installed on harddisk? |
| 09:06 MT | the fstab for the system that is installed on harddisk |
| 09:07 Robinayor_ | MT: mhh okay.. but i want to know if the fstab for the net-boot-install-system is created :-) |
| 09:07 Robinayor_ | *how/where |
| 09:07 MT | so /srv/fai/nfsroot/etc/fstab ? |
| 09:07 MT | this one is actually a dummy |
| 09:07 Robinayor_ | MT: yea+ |
| 09:07 MT | root@mole:~# cat /srv/fai/nfsroot/etc/fstab |
| 09:07 MT | # UNCONFIGURED FSTAB FOR BASE SYSTEM |
| 09:08 MT | mounting is done manually by the fai script |
| 09:08 Robinayor_ | yea, but where is it generated then? the client have to mount some ramdisks and so.. but here it doesn't do so |
| 09:08 Robinayor_ | mhkay |
| 09:09 MT | hmm, which fai version are you using? |
| 09:09 Robinayor_ | MT: momplz |
| 09:09 Robinayor_ | *** 3.1.8 0 |
| 09:10 Robinayor_ | oh.. 3.2.1 is out |
| 09:10 Robinayor_ | *upgrading* |
| 09:10 MT | ah |
| 09:10 MT | be careful |
| 09:10 MT | that might make a big difference |
| 09:10 Robinayor_ | MT: why? it isn't running atm |
| 09:10 MT | fai >= 3.2 |
| 09:10 Robinayor_ | MT: mhkay? |
| 09:10 MT | uses live-initramfs and unionfs |
| 09:11 MT | you need to add boot=live to your pxe-configs |
| 09:12 Robinayor_ | MT: this shouldn't be a problem.. the pxe-configs are generated dynamiclly here because fai is only installing a box once usually |
| 09:12 MT | ah, using fai-chboot? |
| 09:12 Robinayor_ | MT: we use it to install firewall and router-basesystems |
| 09:12 MT | then it's fine |
| 09:12 Robinayor_ | MT: not really, but it shouldn't be too hard to change my scripts |
| 09:12 Robinayor_ | so i'll update it now |
| 09:26 sheldonh | for pxeboot, where are you supposed to get to say which class you want this host to become? |
| 09:26 baldy | moin |
| 09:31 Mrfai | sheldonh: normally you do not define classes during pxeboot. Classes are defined by script in your config space in class/ |
| 09:34 sheldonh | oh. then i haven't read the docs carefully enough. i thought i'd be able to say which class of box i want installed, even with pxeboot. :( |
| 09:34 sheldonh | Mrfai: so basically, i need to let go of pxeboot as an option, and use cdboot? |
| thpo (~thpo@dotrc.de) left irc: Ping timeout: 480 seconds |
| 09:38 Robinayor_ | sheldonh: there is a way to do this.. |
| 09:38 Robinayor_ | sheldonh: http://nopaste.info/e6ee442c5f.html but it isn't so nice |
| i-R2D258 (~deed@tor-irc.dnsbl.oftc.net) left irc: Remote host closed the connection |
| 09:39 Robinayor_ | sheldonh: but ever as possible you should try to get your classes elsewhere :-) |
| i-R2D258 (~deed@tor-irc.dnsbl.oftc.net) joined #fai. |
| thpo (~thpo@dotrc.de) joined #fai. |
| 09:45 sheldonh | Robinayor_: i'm not married to pxeboot. if the easiest way is with cdboot, i can go that route |
| 09:45 sheldonh | Robinayor_: i _really_ like the idea of being able to have an idiot _very_ easily select what kind of box this is and press "go" :) |
| 09:46 sheldonh | Robinayor_: and from the looks of it, pxeboot would require me to adjust the dhcp all the time anyway, yes? |
| 09:49 sheldonh | Robinayor_: hmmm, your bootprompt hack looks like it might do the trick. but i didn't notice menu.lst being presented to pxeboot clients. was i just not watching closely enough? |
| 09:50 Mrfai | Robinayor_: can you put this into the faiwiki please. |
| 09:51 Mrfai | sheldonh: you can use pxeboot and show the user a simple menu later, where he can select which type of installation will be performed |
| 09:52 sheldonh | Mrfai: okay. and the appropriate hooks for that will be explained after chapter 4? :) |
| 09:54 Mrfai | have a look at http://www.informatik.uni-koeln.de/fai/download/30menu.source. This is a simple menu which defined classes by using the variable $newclasses |
| 09:54 Robinayor_ | Mrfai: its allready there i think |
| 09:55 sheldonh | i think my problem is that i went ahead of where i was in the docs, after running into a few problems. time to pause, breath, and read |
| 09:56 sheldonh | specifically, i got hung up on what's supposed to go in pxelinux.cfg, particularly with respect to FAI_ACTION and FAI_FLAGS |
| 09:56 Robinayor_ | fine.. fai 3.2.1 seems to work for me now |
| 09:56 Robinayor_ | *smiling* |
| 09:57 Robinayor_ | sheldonh: do you now fai-chboot? |
| 09:58 Robinayor_ | sheldonh: combine the things it gives to you with this: http://syslinux.zytor.com/menu.php |
| 09:58 sheldonh | Robinayor_: i think i did fai-chboot -IBv default |
| 09:59 sheldonh | ooooooh |
| 09:59 sheldonh | i thought pxeboot.cfg/default was a grub menu.lst :) |
| 10:01 sheldonh | Robinayor_: can i put FAI_CLASSES=... in an append line in the menu? |
| 10:01 Robinayor_ | sheldonh: if you use the script i've postet before you can append -- MYCLASS1 MYCLASSfoo ... |
| 10:02 sheldonh | oh of course, sorry |
| 10:02 Robinayor_ | then you have to put the script in the config-nfsexport at config/class/ |
| 10:03 Robinayor_ | this script will render the classes from "Kernel-line" (how is it called right?) and exports them to FAI_CLASSES |
| 10:04 sheldonh | Robinayor_: it's not clear to me how your local variable newclasses becomes available to anything outside the script. i take it the script is sourced by another script? i _really_ think i should stop and read more :) |
| 10:05 sheldonh | oh, nevermind. got confused between your 35-bootprompt and Mrfai's 30menu.source |
| 10:07 Robinayor_ | sheldonh: i often don't understand fai too.. |
| 10:07 Robinayor_ | sheldonh: but if i want to read all the docs and the source to understand it i can't do the other work anymore :-) |
| 10:07 Robinayor_ | my dns-setup is kinda broken :-( |
| 10:08 sheldonh | it's all about balance :) |
| 10:08 sheldonh | chapter 5 is helping |
| 10:11 Mrfai | In FAI you always have the TIMTOWTDI option like in perl. (There is more than one way to do it) |
| 10:11 Mrfai | so you can define classes in the kernel command line by using the script from Robinayor_, you can use fai-class command or use the 30menu.source script. |
| 10:16 Robinayor_ | Mrfai: you can just append FAI_CLASS= to the kernel-prompt? *wondering* |
| theBro (~theBro@a88-112-16-56.elisa-laajakaista.fi) joined #fai. |
| 10:18 theBro | hello, is there some reason why fai-cd has been changed; when -g option gives grub menu.lst (different name) it is copied as is to cd, not under the name menu.lst that is looked for by grub (my version of fai-cd is: fai-cd 4558 2007-09-07 14:12:01Z lange) |
| 10:32 Mrfai | Robinayor_: no I don't think that this is working |
| 10:34 Mrfai | theBro: Oh, this is a bug. Please report it to the Debian BTS |
| 10:35 sheldonh | the user guide's 5.4 refers to /fai/class ... where is this? |
| 10:37 Mrfai | this is now /var/lib/fai/config/class during installation on the isntall client. It's /srv/fai/config/class on your install server |
| 11:00 sheldonh | ah. so i should expect some staleness in the user guide |
| 11:10 sheldonh | so if i put FAI_ACTION=install in DEMO.var, if you select DEMO from the menu, the FAI_ACTION is set to install. neat |
| asw (~asw@karuna.med.harvard.edu) left irc: Quit: Leaving |
| asw (~asw@karuna.med.harvard.edu) joined #fai. |
| 11:16 Mrfai | sheldonh: yep |
| 11:17 sheldonh | mind you, i don't think that's needed, given the chboot i have |
| 11:19 sheldonh | 7.7 doesn't mention md and lvm. do i have to handle that myself? |
| 11:26 Mrfai | lvm and raid is not yet supported by setup_harddisks. But the new partition tool (alpha stage) has support for it |
| 11:27 sheldonh | hmmm. so can i somehow disable setup_harddisks and supply my own? |
| 11:31 Mrfai | yep, using hooks. |
| 11:32 sheldonh | hmmm... http://faiwiki.informatik.uni-koeln.de/index.php/User:Gervai/Raid_and_LVM_hook |
| 11:52 sheldonh | after making changes in /srv/fai/config, must i re-run fai-setup? |
| 11:59 sheldonh | how does setup_harddisks know which class dictates the disk layout? |
| 12:00 Robinayor_ | in which file is the read banner over the fai-client stored? |
| 12:05 Mrfai | sheldonh: no. |
| 12:05 sheldonh | Mrfai: looks like setup_harddisks uses the last class defined? |
| 12:05 Mrfai | sheldonh: built in magic. The class with the highest priority. |
| 12:06 Mrfai | Robinayor_: you should not change the red banner ;-) |
| 12:06 sheldonh | Robinayor_: unless you pay for the enterprise version :) |
| 12:07 Robinayor_ | Mrfai: why not? :-( |
| 12:07 Robinayor_ | sheldonh: hehe |
| 12:08 Robinayor_ | Mrfai: I don't want to remove the "Thomas Lange" of course - I just want to add the company-name to make my boss happy |
| 12:09 sheldonh | apt-proxy for the win |
| 12:09 Mrfai | Robinayor_: it's lib/prcopyleft |
| 12:10 Robinayor_ | Mrfai: thy |
| Action: Mrfai now leaves to openexpo in zuerich |
| 12:10 Robinayor_ | Mrfai: isn't fai gpl btwß |
| 12:10 Mrfai | yep. |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving |
| 12:10 Robinayor_ | Mrfai: Godspeed! |
| 12:41 sheldonh | where do saved logs go on the server? |
| 12:55 torkel | to $LOGUSER/$HOSTNAME |
| 12:59 sheldonh | ta |
| 12:59 sheldonh | found them in /var/log/fai/... |
| 13:00 sheldonh | does fai-setup use hooks too? i'd love to get my package-signing key added before fai-setup runs "apt-get update" in the nfsroot |
| 13:04 torkel | don't think so. Though I have been thinking of extending the hooks in make-fai-nfsroot to be run at different times |
| 13:07 sheldonh | wooohooo! it boots! it installs! *beam* |
| 13:07 sheldonh | now to figure out why it's installing a -486 instead of -686 kernel |
| 13:09 sheldonh | aha. package_config |
| BarryAllen (~marx@201.86.36.120.adsl.gvt.net.br) joined #fai. |
| 13:21 BarryAllen | hi |
| 13:26 h01ger | BarryAllen, lets discuss qemu stuff here, please |
| 13:27 BarryAllen | ok |
| 13:28 h01ger | what do you mean with first stage? |
| 13:28 BarryAllen | im having problems to bootstrap an and64 system with qemu... i did the first stage... but after, i cant boot with any amd64bit kernel/initrd todo the second stage of the bootstrap.... |
| 13:28 BarryAllen | i know that is a lot off-topic, but, im trying todo an amd64 nfsroot to use with fai :) |
| 13:29 BarryAllen | i tried to use, the kernel/initrd of the netinst(amd64) iso... |
| 13:29 BarryAllen | im trying to boot with it: |
| 13:30 BarryAllen | qemu-system-x86_64 -localtime -kernel vmlinuz -hda c.img -initrd initrd.gz -append "root=/dev/hda1 rw init=/bin/bash -ls" |
| 13:31 h01ger | looks good to me |
| 13:32 h01ger | but if you want to install amd64 hardware, you must have that hardware. so why dont you bootstrap on it, and use qemu instead? |
| 13:32 BarryAllen | i just got an /bin/bash not found... but if i mount the c.img with loop, /bin/bash is there |
| 13:32 BarryAllen | i dont have the hardware now :( |
| Action: h01ger guesses /bin/bash is not in the initrd than. |
| 13:33 BarryAllen | so i tried /bin/sh] |
| 13:33 BarryAllen | that works |
| 13:33 h01ger | if you mount c.img with loop, do "file /bin/bash" - is it an i386 executable instead of amd64? |
| 13:33 h01ger | how did you create c.img? |
| 13:33 h01ger | /bin/bash != /bin/sh :) |
| 13:34 BarryAllen | i know, but, works to me to have a console and look around.... sou i saw, the / isnt the same that if i mount c.img with loop, havent an /debootstrap on it... |
| 13:34 BarryAllen | just a sec |
| 13:34 BarryAllen | let me see, the bash arch |
| 13:35 BarryAllen | bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), stripped |
| 13:36 BarryAllen | i create the c.img with qemu-img create c.img 2G |
| 13:36 BarryAllen | then i create the partitions... |
| 13:37 BarryAllen | then i formated it .... and later, run the 1st stage of the bootstrap |
| 13:39 h01ger | try without init=? |
| 13:41 BarryAllen | yes |
| 13:41 BarryAllen | so, the installer is opened |
| 13:41 h01ger | i dont understand |
| 13:41 BarryAllen | you recommends finish the install with it? |
| 13:42 BarryAllen | my plan was just run the second stage of the debootstrap |
| 13:47 h01ger | boot an amd64 live-cd with qemu, and the run the full debootstrap from there? |
| VattaFarI (~chatzilla@p50855734.dip.t-dialin.net) joined #fai. |
| 13:49 BarryAllen | h01ger, that could works.... |
| 13:49 BarryAllen | h01ger, ill try |
| BarryAllen (~marx@201.86.36.120.adsl.gvt.net.br) left irc: Ping timeout: 480 seconds |
| VattaFarI (~chatzilla@p50855734.dip.t-dialin.net) left irc: Quit: ChatZilla 0.9.78.1 [Firefox 2.0.0.6/2007072518] |
| VattaFarI (~VattaFarI@tmo-111-1.customers.d1-online.com) joined #fai. |
| VattaFarI (~VattaFarI@tmo-111-1.customers.d1-online.com) left irc: Remote host closed the connection |
| BarryAllen (~marx@201.86.32.16.adsl.gvt.net.br) joined #fai. |
| VattaFarI (~VattaFarI@tmo-099-1.customers.d1-online.com) joined #fai. |
| 14:17 VattaFarI | /commands |
| VattaFarI (~VattaFarI@tmo-099-1.customers.d1-online.com) left irc: |
| VattaFarI (~VattaFarI@tmo-099-1.customers.d1-online.com) joined #fai. |
| VattaFarI (~VattaFarI@tmo-099-1.customers.d1-online.com) left irc: |
| sanso|work (~sanso@194.120.17.62) joined #fai. |
| 14:30 sheldonh | grrrr. it can take some head-scratching to find that an FAI script isn't executable :) |
| 14:31 juri_ | failint for the win! :) |
| 14:32 sheldonh | huh? where? where! |
| 14:34 BarryAllen | h01ger, i wait todo that @#*$&@*#$& just 1 time... man... that is too slow!! |
| 14:39 sheldonh | grrrr. new install still not working. can't for the life of me get lvm root to boot |
| sanso|work (~sanso@194.120.17.62) left irc: Quit: nightie-night :-) |
| 14:41 BarryAllen | correct me if im wrong, after finish my amd64 install, i copy the / from the new installed system to an nfsroot, and i have to take a look, on the make-fai-nfsroot script todo what it does when is executed? |
| 14:52 sheldonh | i've added a script to add dm_mod, dm_mirror and dm_snapshot to the install client's /etc/initramfs-tools/modules and run update-initramfs -u, but when the installed client boots, /dev/mapper/vgr1-root doesn't exist (even though the modules got loaded and /dev/mapper/control exists). any ideas? |
| 15:41 h01ger | BarryAllen, you run the make-fai-nfsroot script there |
| 15:41 h01ger | sheldonh, iirc failint is linked in the faiwiki |
| 15:52 juri_ | failint needs an update... too bad i'm presently fighting with qemu and xrdp folks... |
| 16:19 BarryAllen | h01ger, ... but run the make-fai-nfsroot there, will not rewrit the nfsroot? |
| 16:20 Robinayor_ | how does the fai-client (net-boot-installer) get his hostname if i haven't any working dns? |
| 16:20 MT | it may be provided by your DHCP server |
| 16:20 BarryAllen | or manually informed when you boot |
| 16:21 Robinayor_ | BarryAllen: how can i manually set it? |
| 16:21 BarryAllen | like a kernel parameter, HOST=myhostname (or HOSTNAME=myhostname), im not sure wich |
| 16:21 MT | hmm, I'm not sure how its currently done |
| 16:21 MT | yeah, try these two |
| 16:22 Robinayor_ | hehe ok :-) |
| 16:22 Robinayor_ | thx - i'll try |
| 16:22 h01ger | BarryAllen, you basically have a 2nd fai-server then running in qemu. where you want to create a new nfsroot |
| 16:26 BarryAllen | hmmm understand now... i was think about use that, install like an nfsroot, tks |
| 16:41 sheldonh | any advice on my lvm root issue? it feels like i'm sooo close :( |
| 16:45 BarryAllen | sheldonh, sorry, i never tried to setup an lvm |
| 16:46 BarryAllen | (with fai) |
| 16:47 sheldonh | oh well, i'll soldier on |
| 16:54 sheldonh | grrr, okay, home time. will hack away at it later |
| meandtheshell (~markus@85.127.108.167) left irc: Quit: Leaving. |
| 17:22 Robinayor_ | it's HOSTNAME= btw |
| 17:23 BarryAllen | Robinayor_, :) |
| 17:38 sheldonh | i think i've figured my problem out. i didn't make FAI install lvm2 and mdadm packages into the software raid client, so update-initramfs wasn't putting the required bits in the initramfs |
| 17:43 sheldonh | YES! it boots!!! |
| 17:47 sheldonh | now to hack up a checklist dialogue so you can select multiple classes from a menu *drool* |
| 17:59 mikap | there does not exist a possibility for mount --bind within dirinstall already, right? |
| sanso (~sanso@d83-189-101-248.cust.tele2.de) joined #fai. |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Remote host closed the connection |
| MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| sanso (~sanso@d83-189-101-248.cust.tele2.de) left irc: Ping timeout: 480 seconds |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds |
| --- Wed Sep 19 2007 |