The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 /dev error, after Buildworld w/ FreeBSD 4.2 stable
Author: reinerm 
Date:   19-12-00 10:22

hi,
this is what I did in updating my FreeBSD4.1 to 4.2 stable

edit /etc/make.conf
CFLAGS= -O -pipe
NOPROFILE= true

cd /usr/obj
chflags -R noschg *
rm -rf *

now compile:
cd /usr/src
make buildworld

update kernel:
cd /usr/src
make buildkernel KERNEL=MYKERNEL
make installkernel KERNEL=MYKERNEL

shutdown now
mount -u /
mount -a -t ufs
swapon -a

install world:
cd /usr/src
make installworld
cp -Rp /etc /etc.old
/usr/sbin/mergemaster -v -w 132

update /dev:
cd /dev
./MAKEDEV all

update /stand
cd /usr/src/release/sysinstall
make clean
make all install

REBOOT


now after I reboot the system, lots of error messge popped up (below is one of the error message), Login prompt doesn't show already, I think what I miss is the step:
./MAKEDEV all

how can I rescue my system, or do I have to reinstall the whole thing again (I hope not)..Im totally a newbie in FreeBSD and this is my first time in Buildingworld.

PLEASE HELP ME
thanks!


one of the error message:
init:can't exec getty '/usr/libexec/getty' for port /dev/ttyv5 : No such file or directory

others were:
for port /dev/ttyv1 , ttyv2, ttyv1, etc.

Reply To This Message
 
 Re: /dev error, after Buildworld w/ FreeBSD 4.2 stable
Author: Daniel Schrock 
Date:   21-12-00 07:34

you may want to try making it simpler if its your first time.
here are the steps I take and they have worked flawlessly since 4.0-release

after cvsuping:

cd /usr/src
make buildworld
make buildkernel KERNEL=MYKERNEL
make installkernel KERNEL=MYKERNEL
make installworld
mergemaster
reboot

i also had to re-make all my devices when I updated from 4.2-release to 4.2-stable (did this in betfore rebooting), which i haven't had to do since going from 3.5 to 4.0

thats it...no editing, no extra flags...perfect updating on 2 different systems, one of which was done remotely (i get bored at work sometimes...)

I also cvsup the ports during buildworld.

Reply To This Message
 
 Re: /dev error, after Buildworld w/ FreeBSD 4.2 stable
Author: elliot 
Date:   08-01-01 15:49

don't MAKEDEV all. it will break things, afaik.

you might be able to boot into single user mode with a
boot -s interupting the 10 second delay

and make the devices you need. (ttyvX, your disk slices, etc )

if that can't fix it, your box may be hosed.

Reply To This Message
 
 Re: /dev error, after Buildworld w/ FreeBSD 4.2 stable
Author: Josh 
Date:   03-02-01 18:24

I did an cvsup yesterday fr 4.2 release to 4.2 stable...noting gones wrong..except the connection...after i reboot seems like the network configuration is gone.b4 i did this, during the installation, i set my netwrok config as dhcp,but now i can't connected to the net and i'm blurr which file shud i edit so that it's restored to the default setting which it's ip is determiend 'dhcp'ly during the booting time.I'm quite new in this.and..today..i did make clean in /usr/src and my X window is thrased now i think.i can't get into X as stated i haf a few missiong lib files.plz guide me .

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org