From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,9b9bb76254e20b9f X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,9b9bb76254e20b9f X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,9b9bb76254e20b9f X-Google-Attributes: gid1164f8,public From: Emmanuel Choquet Subject: Re: Changing Kernal Name in Digital UNIX 4.0D Date: 1998/09/01 Message-ID: <35EB962E.249E857E@cica.fr>#1/1 X-Deja-AN: 386706003 Content-Transfer-Encoding: 7bit References: To: Sung Moon Kang Content-Type: text/plain; charset=us-ascii Organization: IC/S&C Mime-Version: 1.0 Reply-To: ics@cica.fr Newsgroups: comp.sys.dec,comp.unix.osf.misc,comp.unix.osf.osf1 Sung Moon Kang wrote: > Let me explain.... > > We just got a new DEC Personal Workstation 433au. And because I > didn't have all the correct information with me when I first > started up the machine with its factory installed Digital UNIX 4.0D, > I gave the machine a name... let's just for the sake of argument say > that I called it BADNAME because I couldn't think of anything else. > > Now later, to bring the machine in line with the entire school's > ethernet name servers and such, it was changed to GOODNAME. And > everything is just fine. > > However, during one my random trips thro the filesystem (probably > while installing something), I noticed that there were a few > files and directories in /usr/ that had the old BADNAME. From the > various documentation, I think these all refer to the name of the > kernel. > > Now since I'm probably not going to be taking care of this machine > into perpetuity, I'd like to change these file names to GOODNAME so > that it doesn't confuse the next poor guy. However, I'm concerned > that changing the directory names and file names from BADNAME.* to > GOODNAME.* isn't enough... that when I next reboot the machine, it > won't be able to find the kernel to load to make the machine run. > > Could anyone tell me what other things need to be changed from BADNAME > to GOODNAME to ensure that the machine will reboot okay? Or do I > have to compile yet another kernel, altho I'm not making any hardware > changes? > > Please email. Many thanks in advance. > > --------------------------------------------------------------------- > Sung Moon Kang BK94 AA96 | UCLA Mech and Aero Engineering > sung.kang.bk.94@aya.yale.edu | http://home.att.net/~sungmoonkang/ cleanest way : Just go to /sys/conf/ # cp BADNAME GOODNAME edit GODDNAME and change 1st line (ident) to good. # doconfig -c GOODNAME # mv /sys/GOODNAME/vmunix / add goodname in /etc/hosts with your ip Address then edit /etc/rc.config and change hostname Tha's all you'll have to do -- Emmanuel Choquet Informatique Client/Serveur & Communication _/ _/ _/ _/_/_/ _/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ _/ _/_/_/ _/ _/_/_/ ics@cica.fr c/o Cica Tel: (33) 4 92.94.23.50 2229, route des cretes fax: (33) 4 92.94.23.54 06560 Sophia-Antipolis