From owner-freebsd-questions Thu Apr 4 9:57:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailgw3a.lmco.com (mailgw3a.lmco.com [192.35.35.24]) by hub.freebsd.org (Postfix) with ESMTP id 8474D37B41C; Thu, 4 Apr 2002 09:56:53 -0800 (PST) Received: from emss01g01.ems.lmco.com ([129.197.181.54]) by mailgw3a.lmco.com (8.11.6/8.11.6) with ESMTP id g34Huq513972; Thu, 4 Apr 2002 12:56:52 -0500 (EST) Received: from CONVERSION-DAEMON by lmco.com (PMDF V5.2-33 #38886) id <0GU200E011UF4H@lmco.com>; Thu, 4 Apr 2002 09:56:39 -0800 (PST) Received: from BSDWIN2KKOROUSH ([129.197.23.48]) by lmco.com (PMDF V5.2-33 #38886) with SMTP id <0GU2007KQ1UAW7@lmco.com>; Thu, 04 Apr 2002 09:56:34 -0800 (PST) Date: Thu, 04 Apr 2002 09:56:39 -0800 From: Koroush Saraf Subject: Help: FreeBSD 4.3 to 4.5 upgrade problem using sysinstall script To: freebsd-questions@FreeBSD.ORG Cc: freebsd-hackers@FreeBSD.ORG Message-id: <001001c1dc02$11f15b00$3017c581@BSDWIN2KKOROUSH> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Mailer: Microsoft Outlook Express 5.50.4807.1700 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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