On 20-07-10 23:09, Tristam MacDonald wrote:
> On Tue, Jul 20, 2010 at 12:51 PM, Brian Elliott Finley
> <[email protected]>  wrote:
>> Tristam,
>>
>> Are you using ext4?  If so, I bet that's why. I'm in the process of
>> adding support for ext4 and grub2, but its not there yet.
>
> Right you are - I am imaging an ubuntu 10.04 box, so ext4 and grub2 by
> default. I just tested switching to ext3, and the imaging appears to
> be proceeding perfectly, so I will mess with downgrading grub in the
> morning.
>
> Thanks,
>
If you want ext4 and grub2 support. You can can grab the kernel/initrd from
https://subtrac.sara.nl/oss/sali to replace the kernel/initrd that your are 
know using.

We us a post-installation script that determines if we must use grub1 or grub2:
{{{
# Author: Bas van der Vlies
# Date  : 6 Sep 2007
# Desc. : This will setup the GRUB bootloader
#
# SVN INFO:
#       $Id: 02all.bootloader 4683 2010-06-23 12:15:04Z bas $
#       $URL: 
https://subtrac.sara.nl/hpcv/svn/beowulf/trunk/systemimager/boot_scripts/post-install/02all.bootloader
 
$

# Get the Systemimager variables
. /tmp/post-install/variables.txt

echo "setting up grub: running grub.."
#

if [ -e "/etc/default/grub" ]
then

echo "Using GRUB2 install method! :: $DISK0"

echo "grub-install --no-floppy $DISK0"
grub-install --no-floppy $DISK0

echo "grub-mkconfig -o /boot/grub/grub.cfg"
echo "This command can take while..."
grub-mkconfig -o /boot/grub/grub.cfg

echo "GRUB2 install done"

else

echo "Using Legacy GRUB install method!"
grub --batch <<EOF
root (hd0,0)
setup (hd0)
EOF
echo "setting up grub: done."

fi

exit 0
}}}

-- 
********************************************************************
*  Bas van der Vlies                    e-mail: [email protected]       *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *
********************************************************************

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to