Hi,
I have re-install the client without problem. Then I have installed the
systemimager-client on it. And now I try to create the kernel and initrd
file with the following commande:
agetest2:~ # si_prepareclient --server srvpxe --my-modules
And with this output:
Using "parted" to gather information about disk:
/dev/sda
>>> Copying modules to new initrd from: /lib/modules/2.6.5-7.244-smp...
skipping directory /lib/modules/2.6.5-7.244-smp/extra
skipping directory /lib/modules/2.6.5-7.244-smp/kernel
skipping non-regular file "lib/modules/2.6.5-7.244-smp/build"
skipping non-regular file "lib/modules/2.6.5-7.244-smp/source"
>>> Appending insmod commands to ./my_modules_dir/INSMOD_COMMANDS...
>>> Choosing filesystem for new initrd: ext2
>>> Creating new initrd from staging dir: /tmp/.systemimager.0
>>> New initrd mount point: /tmp/.systemimager.1
>> dd if=/dev/zero of=/etc/systemimager/boot/initrd bs=1024 count=21228
21228+0 records in
21228+0 records out
>> mke2fs -b 1024 -m 0 -N 307 -F /etc/systemimager/boot/initrd
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
312 inodes, 21228 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
3 block groups
8192 blocks per group, 8192 fragments per group
104 inodes per group
Superblock backups stored on blocks:
8193
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
>> tune2fs -i 0 /etc/systemimager/boot/initrd
tune2fs 1.38 (30-Jun-2005)
Setting interval between checks to 0 seconds
>> mount /etc/systemimager/boot/initrd /tmp/.systemimager.1 -o loop -t
ext2
>> tar -C /tmp/.systemimager.0 -cf - . | tar -C /tmp/.systemimager.1
-xf -
>> umount /tmp/.systemimager.1
>> gzip -f -9 -S .img /etc/systemimager/boot/initrd
>> ls -l /etc/systemimager/boot/initrd.img
-rw-r--r-- 1 root root 7360496 Mar 21 15:50
/etc/systemimager/boot/initrd.img
>> rm -fr /tmp/.systemimager.1
>> Evaluating initrd size to be added in the kernel boot options
>> (e.g. /etc/systemimager/pxelinux.cfg/syslinux.cfg):
>> suggested value -> ramdisk_size=31468
>>> Using kernel from: /boot/vmlinuz
>> ls -l /etc/systemimager/boot/kernel
-rw-r--r-- 1 root root 1743905 Mar 21 15:50
/etc/systemimager/boot/kernel
Starting or re-starting rsync as a daemon.....
done!
This client is ready to have its image retrieved. You must now run
the "si_getimage" command on your imageserver.
Your client has been successfully prepared. Boot kernel (copied from
this Linux distribution) and an initrd.img (generated by the
initrd_template package) can be found in /etc/systemimager/boot. If
PXE-booting, you can copy the files to /tftpboot or the specified
location.
agetest2:~ #
Then I think my problem when I try to use the UYOK kernel configuration
the image of the kernel is not good. Because no modules was loading
during the creation of this both file. Strange !!!
Thanks for your help
/Olivier
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrea
Righi
Sent: mardi, 20. mars 2007 19:31
To: [EMAIL PROTECTED]
Subject: Re: [sisuite-users] Problem to create partition
Studer Olivier wrote:
> Hi,
>
>
>
> I try to use the SystemImager tool to create a secure system. The
server
> is an Intel x86 with SLES9 SP3 and the Golden Client is a Sun Fire
V40z
> x86_64 AMD Opteron also with SLES9 SP3.
>
>
>
> But now I have a problem to create the partition on the golden client.
> Error message:
>
> get_arch
>
> Partitioning /dev/sda...
>
> Old partition table for /dev/sda:
>
> Error: Could not stat device /dev/sda - No such file or directory.
Here is the problem... your disk is not correctly detected.
Which version of SystemImager are you using?
Are you using the default BOEL (the kernel shipped in the
systemimager-i386boot_standard package or UYOK (see
http://wiki.systemimager.org/index.php/UYOK)?
Regards,
-Andrea
------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users