Hi! On 10/18/2010 03:58 PM, Michael Tautschnig wrote: > [...] > >> >> Would you mind doing that *now*? Well, probably it suffices if you just >> replace >> 10-setup with the attached version. The code in stable (and trunk) is known >> to >> work only in very simple cases, but proper testing of our experimental >> versions >> will help in getting the patches merged. BTW: No, this is not "my" branch, >> it's >> open to everyone, it just so happens that until now most of the stuff has >> been >> committed by myself. But it should be very easy to grab the experimental >> builds, >> as described here: >> >> http://wiki.fai-project.org/index.php/Main_Page#getting_FAI >> > > Sorry, I forgot to actually attach 10-setup, as I had promised. Here it is.
Just tested the script. Seems to work. Fine! But: I get an error (which seems like an warning to me) after... GRUB loading. Welcome to GRUB! error: no such device: [UUID] error: no such disk. error: no suitable mode found. ... and before the Grub-Menu is shown (which clears the output). System boots fine also with just the second disk and it may only be a minor problem but it's just not "nice". After digging around a bit it seems to come from "/etc/grub.d/00_header" or to be more precise from the line "/usr/sbin/grub-probe --target=device /usr/share/grub/unicode.pf2" (as the parameter for "prepare_grub_to_access_device"). It returns "vgroup-usr" (why?). With this parameter for "prepare_grub_to_access_device" the following code (for grub.cfg) is finally generated: insmod raid insmod mdraid insmod lvm insmod part_msdos insmod part_msdos insmod ext2 set root='(vgroup-usr)' search --no-floppy --fs-uuid --set [UUID] I have absolutely no idea what the intension of this part of the code should be and why grub-probe returns "vgroup-usr" in the first place... (but "set root='(group-usr)'" looks terribly wrong.) I then removed these lines from grub.cfg and still got the same error-lines. I then manually did: % /usr/sbin/grub-install --no-floppy --modules="lvm raid" /dev/sd[ab] And guess what. Sill the same error-lines. I am lost. Where does is come from? I have to admit. I looks like a problem in Grub, not FAI. But I still hope you (or someone) has a clue what the problem could be. (This error-lines are not shown with my version of 10-setup). Regards and thx for your help! - Darsha
