Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Apr 2002 09:56:39 -0800
From:      Koroush Saraf <koroush.saraf@lmco.com>
To:        freebsd-questions@FreeBSD.ORG
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Help: FreeBSD 4.3 to 4.5 upgrade problem using sysinstall script
Message-ID:  <001001c1dc02$11f15b00$3017c581@BSDWIN2KKOROUSH>

next in thread | raw e-mail | index | archive | help
Hi All,
I would like to upgrade a bunch of FreeBSD4.3 computers to FreeBSD 4.5.
Following the FreeBSD handbook I have setup a computer as an ftp server to
serve the contents of the CD4_5_1 as the root for anonymous FTP.
I like to be able to write a script to tell sysinstall to simply upgrade all
the computers. However, before I attempted to write the script I decided to
just try the interactive setup using the /stand/sysinstall on one of the
computers that needs the upgrade.
I go through the following menus:
? Upgrade Upgrade an existing system
Then I choose
?[X] 5 X-Developer Same as above + X Window System
then it backs up my data to the following directory
???????????????????????? Value Required ????????????????????????
? Under which directory do you wish to save your current /etc? ?
? ???????????????????????????????????????????????????????????? ?
? ?/usr/tmp/etc
then I choose
? 2 FTP Install from an FTP server
next menu
? URL Specify some other ftp site by URL
and then I give it the URL of the ftp server that I can configured which
contains the 4.5 release CD with the following files as expected:
ftp> ls
150 Opening ASCII mode data connection for '/bin/ls'.
total 4219
-r--r--r-- 1 0 0 4206 Jan 29 14:59 ERRATA.HTM
-r--r--r-- 1 0 0 2713 Jan 29 14:59 ERRATA.TXT
-r--r--r-- 1 0 0 104406 Jan 29 14:59 HARDWARE.HTM
-r--r--r-- 1 0 0 36878 Jan 29 14:59 HARDWARE.TXT
-r--r--r-- 1 0 0 102689 Jan 29 14:59 INSTALL.HTM
-r--r--r-- 1 0 0 59121 Jan 29 14:59 INSTALL.TXT
-r--r--r-- 1 0 0 22500 Jan 29 14:59 README.HTM
-r--r--r-- 1 0 0 13808 Jan 29 14:59 README.TXT
-r--r--r-- 1 0 0 68057 Jan 29 14:59 RELNOTES.HTM
-r--r--r-- 1 0 0 29529 Jan 29 14:59 RELNOTES.TXT
dr-xr-xr-x 4 0 0 6144 Jan 29 13:01 XF86336
dr-xr-xr-x 2 0 0 18432 Jan 29 14:59 bin
dr-xr-xr-x 3 0 0 4096 Jan 29 14:59 boot
dr-xr-xr-x 2 0 0 4096 Jan 29 14:59 catpages
-r--r--r-- 1 0 0 25 Jan 29 14:59 cdrom.inf
dr-xr-xr-x 2 0 0 2048 Jan 29 14:59 compat1x
dr-xr-xr-x 2 0 0 2048 Jan 29 14:59 compat20
dr-xr-xr-x 2 0 0 2048 Jan 29 14:59 compat21
dr-xr-xr-x 2 0 0 2048 Jan 29 14:59 compat22
dr-xr-xr-x 2 0 0 2048 Jan 29 14:59 compat3x
dr-xr-xr-x 2 0 0 2048 Jan 29 14:59 compat4x
dr-xr-xr-x 2 0 0 10240 Jan 29 14:59 crypto
dr-xr-xr-x 2 0 0 2048 Jan 29 14:59 dict
dr-xr-xr-x 2 0 0 10240 Jan 29 14:59 doc
-r--r--r-- 1 0 0 2963 Jan 29 14:59 docbook.css
-r--r--r-- 1 0 0 89310 Jan 28 18:49 filename.txt
dr-xr-xr-x 2 0 0 2048 Jan 29 14:59 floppies
dr-xr-xr-x 2 0 0 4096 Jan 29 14:59 games
dr-xr-xr-x 2 0 0 2048 Jan 29 14:59 info
-r-xr-xr-x 3 0 0 3648397 Jan 28 06:31 kernel
dr-xr-xr-x 2 0 0 6144 Jan 29 14:59 manpages
dr-xr-xr-x 66 0 0 8192 Jan 29 13:01 packages
dr-xr-xr-x 2 0 0 2048 Jan 29 09:08 ports
dr-xr-xr-x 2 0 0 2048 Jan 29 14:59 proflibs
dr-xr-xr-x 2 0 0 40960 Jan 29 14:59 src
dr-xr-xr-x 5 0 0 4096 Jan 29 13:01 tools
226 Transfer complete.



Howevever the problem is that it comes back and gives the following error:
? Warning: Can't find the `4.3-RELEASE' distribution on this ?
? FTP server. You may need to visit a different server for ?
? the release you are trying to fetch or go to the Options ?
? menu and to set the release name to explicitly match what's ?
? available on bsdcon (or set to "any"). ?
? ?
? Would you like to select another FTP server?

Can someone please tell me what I'm doing wrong and also tell me how to
script this?

Second I'm having problem finding the script commands that allow you to
bypass an already configured network. Since I have a number of computers I
don't want to give the hostname etc for each one, so it would be great if
the
script could just issue the upgrade command and bypasses explicit assignment
of hostname, default gateway etc. If you can send me an example of such
script to follow it would be much appriciate it.
regards,
~koroush


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001c1dc02$11f15b00$3017c581>