St. Olaf Beowulf Blog

Friday, July 07, 2006

SystemImager Issues with non-i386 systems

Our new Sun Fire x2100 servers show up as something other than i386 (for obvious reasons; they are 64 bit machines, so probably show up as x86_64 or something) to some of SystemInstaller's scripts.  The problem with this is that /usr/sbin/si_prepareclient will use sfdisk on i386 systems, and parted on everything else.

So, when running si_prepareclient, parted is used, which causes some errors that, in the end, make imaging not work.  The fix is simple (assuming you're using v3.6.3 of SystemImager):

1.  emacs /usr/sbin/si_prepareclient
2.  Go to line 673, right after this code:
        my $arch = get_arch();
        if($arch eq "i386") {
                $preferred_tool = 'sfdisk';
        }
and add this code:
        # Ben Landsteiner's addition
        $preferred_tool = 'sfdisk';

All this does is force si_prepareclient to use sfdisk.  After that, imaging our x2100 servers worked just fine.

0 Comments:

Post a Comment

<< Home