![]() |
|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
Hi,
I recently upgraded my source tree using cvsup. Then I did make buildworld make KERNCONF=MYKERNEL kernel (reboot) mergemaster -p make installworld However, when I was running 'mergemaster -p' I think I accidentally deleted my old master.passwd. Then, when I went to do 'make installworld' it failed. Here is the output: Code:
mkdir -p /tmp/install.OZoAkQAa for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.OZoAkQAa; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE=i386 GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.OZoAkQAa make -f Makefile.inc1 reinstall -------------------------------------------------------------- >>> Making hierarchy -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 hierarchy cd /usr/src/etc; make distrib-dirs mtree -eU -f /usr/src/etc/mtree/BSD.root.dist -p / mtree -eU -f /usr/src/etc/mtree/BSD.var.dist -p /var mtree -eU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr mtree -eU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include mtree -deU -f /usr/src/etc/mtree/BIND.chroot.dist -p /var/named mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p / cd /; rm -f /sys; ln -s usr/src/sys sys cd /usr/share/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/man; set - `grep "^[a-zA-Z]" /usr/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done cd /usr/share/openssl/man; set - `grep "^[a-zA-Z]" /usr/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/nls; set - `grep "^[a-zA-Z]" /usr/src/etc/nls.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done -------------------------------------------------------------- >>> Installing everything -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install ===> share/info (install) ===> lib (install) ===> lib/csu/i386-elf (install) install -o root -g wheel -m 444 crt1.o crti.o crtn.o gcrt1.o /usr/lib ===> lib/libc (install) install -C -o root -g wheel -m 444 libc.a /usr/lib install -C -o root -g wheel -m 444 libc_p.a /usr/lib install -s -o root -g wheel -m 444 -fschg -S libc.so.7 /lib ln -fs /lib/libc.so.7 /usr/lib/libc.so ln: /usr/lib/libc.so: Operation not permitted *** Error code 1 Stop in /usr/src/lib/libc. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. make buildworld make KERNCONF=MYKERNEL kernel (reboot) make installworld without doing 'mergemaster -p' and I still get exactly the same result. Is this because I deleted master.passwd?' Is it because of something else? How can I got about trying to correct this? P.S. - All of my applications are still working fine, besides Firefox. |
|
|||
![]()
Read from the Handbook:
http://www.freebsd.org/doc/handbook/makeworld.html I think the right way to build the kernel is this: Code:
# make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL http://daemonforums.org/showthread.php?t=1843 EDIT: Quote:
What is your # sysctl kern.securelevel ? If I'm correct if you are with a securelevel 1 or higher when you are rebuilding your kernel the make install command will try to install your kernel with the schg flag. Code:
===> lib/libc (install) install -C -o root -g wheel -m 444 libc.a /usr/lib install -C -o root -g wheel -m 444 libc_p.a /usr/lib install -s -o root -g wheel -m 444 -fschg -S libc.so.7 /lib ln -fs /lib/libc.so.7 /usr/lib/libc.so ln: /usr/lib/libc.so: Operation not permitted *** Error code 1 For further information read the man page of chflags. Last edited by DNAeon; 18th September 2008 at 09:38 PM. |
|
|||
![]()
It is -1
Quote:
|
|
|||
![]() Quote:
Quote:
![]() Ah, OK. Thanks! |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't passwd on all accounts anymore | ck2323 | FreeBSD General | 1 | 7th October 2009 03:28 AM |
upgrade installworld error | carpman | FreeBSD Installation and Upgrading | 11 | 8th February 2009 05:36 PM |
Installation master "disk" using USB memory stick, dd? | peterg22 | FreeBSD Installation and Upgrading | 7 | 14th October 2008 05:18 PM |
FreeBSD 7.0 amd64 make installworld fails. | KernelPanic | FreeBSD Installation and Upgrading | 8 | 11th June 2008 04:34 PM |
Deleted my /boot/loader | enpey | FreeBSD General | 16 | 10th June 2008 10:02 PM |