DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th October 2009
jb_daefo jb_daefo is offline
Spam Deminer
 
Join Date: May 2008
Posts: 303
Default Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia"

[Maybe not a second-draft-proper GUIDE, no time, but the commands below maybe
help someone ]
(ignoring typos...)
Code:
# mkdir /save
# copy old GENERIC to /save/old.GENERIC
# /bin/rm -rf /usr/obj
# {cvsup _8 sources}
.................... # read /usr/src/UPDATING  (IIRC)
#cd /usr/src
................# copy new GENERIC to /save/new.GENERIC
# env -i -DNO_PROFILE buildworld | tee -a log...  #edit per preference
# sdiff /save/old.GENERIC /save/new.GENERIC
.................# note differences if one has a custom kernel to add/subtract 
.................# from. also check New (release Notes (online)
# edit YOUR_CUSTOM_KERNEL  # if applicable
# ..........copy it somewhere. also to /conf/i386/... or wherever it is/was
# mmv (move and rename, is /mmv/) /etc/make.conf /etc/make.conf.BAK
#...........online, check the STABLE (or) mailing list form current problems
#........... backup the system
# env -i make installkernel KERNCONF=(YOUR_CUSTOM_KERNEL if exists)
# shutdown -p now
#.............reboot "boot prompt loader"
# boot -s
# fsck -p
# mount -u /
# mount -a -t UFS
# swapon -a
# cd /usr/src
# adjkerntz -i
# cd /usr/src/usr.sbin/mergemaster
# sh ./mergemaster.sh -piPcvU
#.............write down differences, etc ("services" "device.hints" 
#.............and another file (one of the two .cshrc-something) were installed overwrite rather than default install new
#.............or skip, here, on _7 > _8
Code:
# cd /usr/src
# env -i -DNO_PROFILE installworld | tee -a log... # edited
# mergemaster -iPcvU   # l -- merge old r -- merge new  (left,right) etc
# ...........writing down differences (1/2 hour maybe)
# ........... mergemaster ended by rebuilding two databases...
# ln -s aj /etc/malloc.conf
# shutdown -p now
# ............reboot
# install /usr/ports/misc/compat7x
# tzsetup #per Release Notes.
NOW the reason for this post...
I found xinit did not work. I only! had to rebuild...
dri,
libGL, (both at once)
.........
then /nvidia-driver/
..........
3 ports and everything works so far!
...
You want to keep your kernel sources to build several ports, probably, UNCHANGED,
until your next kernel build, among them,
lsof, fusefs-kmod, nvidia-driver, (3 others here,)
__________________
FreeBSD 13-STABLE

Last edited by jb_daefo; 6th October 2009 at 01:36 AM. Reason: 2-3 more details, #tzsetup especially.
Reply With Quote
Reply

Tags
buildworld, custom_kernel, mergemaster, nvidia, x_fixes

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opera Port - conflicting pkgs in "make install" IronForge OpenBSD Packages and Ports 5 29th October 2009 05:10 AM
"Thanks" and "Edit Tags". diw Feedback and Suggestions 2 29th March 2009 12:06 AM
Scripted sysinstall fails with "Command 'system' failed" PeterSteele FreeBSD Installation and Upgrading 0 13th November 2008 11:31 PM
Newbie-friendly "printing in OpenBSD" guide wanted Shagbag OpenBSD Packages and Ports 5 7th July 2008 09:26 PM


All times are GMT. The time now is 07:50 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick