On 2/23/08, Andrea Righi <[EMAIL PROTECTED]> wrote:
>
> Jesús Sánchez González wrote:
> > Hello.
> >
> > I am having problems cloning a recently upgraded golden client.
> > I managed to generate the image and to clone a new node, after rebooting
> > I got lilo and I tried to start the system but it complained saying that
> > 'Could not find /dev/sda2'.
>
>
> Ok, stupid question: is /dev/sda2 the correct device for / (could you
> post also your autoinstallscript.conf)?


  On every node, include the golden client we are trying to clone after the
upgrade we have /dev/sda2 mounted on /.
  Here you are the autoinstallscript.conf (head comments omitted):

<config>

  <disk dev="/dev/sda" label_type="msdos" unit_of_measurement="MB">
    <!--
      This disk's output was brought to you by the partition tool "parted",
      and by the numbers 4 and 5 and the letter Q.
    -->
    <part  num="1"  size="2154.97"  p_type="primary"  p_name="-"  flags="-"
/>
    <part  num="2"  size="21476"  p_type="primary"  p_name="-"  flags="boot"
/>
    <part  num="3"  size="56393"  p_type="primary"  p_name="-"  flags="-" />
  </disk>

  <fsinfo  line="10" real_dev="/dev/sda2" mp="/"  fs="ext3"
options="acl,user_xattr" dump="1" pass="1"
 />
  <fsinfo  line="20" real_dev="/dev/sda3" mp="/local"  fs="ext3"
options="acl,user_xattr" dump="1" pas
s="2" />
  <fsinfo  line="30" real_dev="/dev/sda1" mp="swap"  fs="swap"
options="defaults" dump="0" pass="0" />
  <fsinfo  line="40" real_dev="proc" mp="/proc"  fs="proc"
options="defaults" dump="0" pass="0" />
  <fsinfo  line="50" real_dev="sysfs" mp="/sys"  fs="sysfs" options="noauto"
dump="0" pass="0" />
  <fsinfo  line="60" real_dev="debugfs" mp="/sys/kernel/debug"  fs="debugfs"
options="noauto" dump="0"
 pass="0" />
  <fsinfo  line="70" real_dev="usbfs" mp="/proc/bus/usb"  fs="usbfs"
options="noauto" dump="0" pass="0
"  format="no" />
  <fsinfo  line="80" real_dev="devpts" mp="/dev/pts"  fs="devpts"
options="mode=0620,gid=5" dump="0" p
ass="0" />
  <fsinfo  line="90" comment="#" />
  <fsinfo  line="100" real_dev="fs-aloy:/disks/pa_home" mp="/aloy/home"
fs="nfs" options="defaults,no
suid" dump="0" pass="0" />
  <fsinfo  line="110" real_dev="fs-aloy:/disks/pa_data" mp="/aloy/data"
fs="nfs" options="defaults,no
suid" dump="0" pass="0" />
  <fsinfo  line="120" real_dev="pac-master:/opt/n1ge6" mp="/opt/n1ge6"
fs="nfs" options="defaults,nos
uid" dump="0" pass="0" />

  <boel devstyle="udev"/>

</config>

> I tried also to install grub through a post-install script and although
> > I didn't see any errors, the system keep on booting with lilo.
>
>
> Could you try to add the PREFERED parameter under the BOOT section of
> systemconfig.conf in your golden client?
>
> [BOOT]
> PREFERED = Boot::Grub
> ...


  Do you mean keeping the post-install script  to install grub, don't you?

And try to re-clone the image (si_prepareclient on golden client and
> si_getimage on your image server).
>
> -Andrea



  I didn't point that the new nodes are slightly different than the
golden-node regarding to the hard disk type, which in the new nodes is a
SATA drive.

  Thank you.

                 jesus .-


>
> > Here you are the details:
> >
> > - The distribution for the golden client is OpenSUSE 10.3 (x86_64), the
> > server is running OpenSUSE 10.1 (x86_64)
> > - The golden client is running grub-0.97-82 and lilo-22.7-118
> > - The version of systemimager on the golden client is
> > systemimager-client-4.0.2-1
> > - The version of systemimager on the server is
> systemimager-server-4.0.2-1
> > - The version of systemconfigurator on both sides (golden client and
> > server) is systemconfigurator-2.2.11-1
> > - The file systemconfig.conf generated in the client that is also copied
> > in the image is this:
> >
> > golden-client:/var/lib/systemimager/images/suse-10.3/etc/systemconfig #
> > more systemconfig.conf
> > [BOOT]
> > ROOTDEV = /dev/sda2
> > BOOTDEV = /dev/sda
> > DEFAULTBOOT = systemimager
> >
> > [KERNEL0]
> > LABEL = systemimager
> > PATH = /boot/vmlinuz-2.6.22.5-31-default
> > INITRD = /boot/initrd-2.6.22.5-31-default
> > APPEND = auto BOOT_IMAGE=oS_10.3 ro
> > root=/dev/disk/by-id/scsi-SATA_Maxtor_6L080M0_L26FVVDG-part2 resum
> > e=/dev/sda1 splash=silent showopts
> >
> > Any ideas how can I fix it?
> >
> >   Thank you very much.
> >
> >            Jesús .-
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> sisuite-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to