Which SALI version do you use? The line must be:
PART0_STR="1024:ext2:/boot:boot 1:grub2 4096:swap::swap"
Note: 1:grub2
And pxe setting GRUB2=yes
You must have the grub utilities installed. If this does not work can you post
your install script
We use a postinstall script to install grub 1 or 2:
=====================================================================================
#
# 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
From: Jérémie Tétillon [mailto:j.tetil...@e-merchant.com]
Sent: dinsdag 20 december 2011 15:41
To: sisuite-users@lists.sourceforge.net
Subject: Re: [sisuite-users] Question about sali and lvm creation
Hi all,
Thanks for the replies, i managed to create a lvm partition
I have another problem, since i can't get grub to install ..
error: cannot find a device for / (is /dev mounted?)
here are my partition definition :
partition $DISK0 1024:ext2:/boot:boot 1:grub_bios::grub 0:none::lvm
it fails with the same error with a msdos or gpt label, with GRUB2=yes or
GRUB2=no in my pxelinux.cfg
Any ideas ?
Le 09/11/2011 12:33, Jérémie Tétillon a écrit :
Hello,
We used systemimager for 4 years in my company and we decided to try sali as
the old kernel/initrd doesn't work out with some of our servers.
I'm trying to use the new master script and i can't figure out how to create a
lvm partition
Am i missing something ? is it even possible ?
Any help would be nice
--
Jérémie Tétillon
Administrateur Systèmes et Réseaux
E-Merchant Service IT / PIXMANIA Group
43 av. de la grande Armée
75116 Paris
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net<mailto:sisuite-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/sisuite-users
--
Jérémie Tétillon
Administrateur Systèmes et Réseaux
Tel: +33 1.45.01.42.44
j.tetil...@e-merchant.com<mailto:j.tetil...@e-merchant.com>
E-Merchant Service IT / PIXMANIA Group
43 av. de la grande Armée
75116 Paris
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users