LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   ./setup_install_server not working on RHEL5 (https://www.linuxquestions.org/questions/solaris-opensolaris-20/setup_install_server-not-working-on-rhel5-769579/)

deci007 11-16-2009 10:41 PM

./setup_install_server not working on RHEL5
 
Code:

[root@rhel5srv Tools]# uname -a
Linux rhel5srv 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux

[root@rhel5srv Tools]# mount
....
/dev/mapper/OsImageVG-rhel5LV on /OSIMAGE/rhel5 type ext3 (rw)
/dev/mapper/OsImageVG-solaris10LV on /OSIMAGE/solaris10 type ext3 (rw)
/dev/hda on /mnt/cdrom type iso9660 (ro)

[root@rhel5srv Tools]# pwd
/mnt/cdrom/Solaris_10/Tools

[root@rhel5srv Tools]# ./setup_install_server /OSIMAGE/solaris10/
./setup_install_server: line 785: mach: command not found
./setup_install_server: line 88: /usr/bin/sed: No such file or directory
./setup_install_server: line 89: [: !=: unary operator expected
Verifying target directory...
Calculating the required disk space for the Solaris_10 product
|\b\c
/\b\c
Calculating space required for the installation boot image
./setup_install_server: line 1064: [: 2485588: unary operator expected
Copying the CD image to disk...
|\b\c
./setup_install_server: line 1078: bar: command not found
./setup_install_server: line 1078: bar: command not found
ERROR: Copy of CD image failed
[root@rhel5srv Tools]#

Question: I am trying to setup RHEL5 as Solaris 10 install server. I am getting the above error. why is it giving error?

Question: Can i just use cp command to copy entire Solaris 10 DVD on local disk? or running script is required?

jlliagre 11-17-2009 02:03 AM

This script is designed to work on Solaris, not Gnu/Linux. Using a Gnu/Linux distro as a jumpstart server is unsupported. Issues to achieve it can likely be overcome but that probably doesn't worth the effort.

deci007 11-17-2009 10:42 AM

I thought we can atleast store the installation files on Suse or Other LInux Distros.

only rules.ok, sysidcfg and other scipts need to exist on solaris or even the Installation files copied from Solaris 10 cd/dvd.

hundeeselhaarfaenger 11-23-2009 04:00 AM

You can get this script to work on linux by preparing your box with this command:

ln -s /bin/tar /bin/bar


All times are GMT -5. The time now is 07:37 PM.