|
Guides All Guides and HOWTO's. |
|
Thread Tools | Display Modes |
|
|||
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. 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. |
Tags |
buildworld, custom_kernel, mergemaster, nvidia, x_fixes |
Thread Tools | |
Display Modes | |
|
|
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 |