<div dir="ltr"><div><div>Hi all,<br><br>We currently have a working fai-server that we used to install about 15 small servers already.<br>Currently the server runs Debian wheezy and has fai-server & fai-client 4.3.2 installed.<br><br>The hosts we are creating are all the same, so there is one default pxe config.<br><br>Now we also want to make a bootable usb stick as some of the hardware does not support network booting by default.<br><br>So I tried using fai-cd -B boot-image.iso<br><div>Using a custom grub.cfg:<br><br><span style="font-family:monospace,monospace">## grub2 configuration<br>set default="Boot OS of first partition on first disk"<br>set timeout=20<br>set resolution=1024x768<br><br>set superusers="grub"<br>password grub installme<br><br>if loadfont /boot/grub/ascii.pf2 ; then<br>   insmod png<br>   set gfxmode=640x480<br>   insmod gfxterm<br>   insmod vbe<br>   terminal_output gfxterm<br>fi<br><br>if background_image /boot/grub/fai.png ; then<br>  set color_normal=black/black<br>  set color_highlight=red/black<br>  set menu_color_normal=black/black<br>  set menu_color_highlight=black/yellow<br>else<br>  set menu_color_normal=white/black<br>  set menu_color_highlight=black/yellow<br>fi<br><br># make sure we can access partitions<br>insmod part_msdos<br>insmod part_gpt<br><br>if [ ${iso_path} ] ; then<br>    set loopback="findiso=${iso_path}"<br>fi<br><br><br>menuentry "+------------------------------------------------------+" {<br>    set gfxpayload=$resolution<br>}<br>menuentry "|    FAI-CD        (c) Thomas Lange, <a href="mailto:lange@debian.org" target="_blank">lange@debian.org</a>  |" {<br>    set gfxpayload=$resolution<br>}<br>menuentry "| _VERSIONSTRING_ |" {<br>    set gfxpayload=$resolution<br>}<br>menuentry "+------------------------------------------------------+" {<br>    set gfxpayload=$resolution<br>}<br><br>menuentry "Fully Automatic Installation - demohost (user: grub pw: installme)" --users "grub" {<br>    set gfxpayload=$resolution<br>    linux   /boot/vmlinuz boot=live FAI_FLAGS="verbose,sshd,createvt,reboot" FAI_ACTION=install ip=dhcp FAI_CONFIG_SRC=file:///var/lib/fai/config<br>    initrd  /boot/initrd.img<br>}<br>menuentry "Boot OS of first partition on first disk" {<br>    set root=(hd0,1)<br>    multiboot /boot/grub/core.img<br>}</span><br><br></div>The image gets created but when booting it fails:<br>dracut Warning: dracut: FATAL: No or empty root= argument<br>Any
 idea what I am missing in my grup config? I guess the root argument? 
But what should it be set to? (hd0,1) is probably the local disk, but 
that doesn't have an os installed.<br></div>I tried setting it to root=live:CDLABEL=FAI_CD but that threw another dracut error.<br></div>Any ideas what the correct value should be?<br><div><div><br>I also tried creating a full blown iso image, but that failed since the server does not have aufs installed.<br><br>Thanks in advance,<br>Pieter</div></div></div>