I'm starting this thread as a result of this other thread. Hopefully it helps someone out. Maybe even me. Anyone reading this who knows what they are doing, please feel free to correct me or answer questions as I ask them.
So where am I at now, and what do I want to do?
Where I'm at now:
What I want to do:
I may as well detail what I did to upgrade, for others following along:
Upgrading from 8.0-RELEASE to 8.1-RELEASE
I have managed to upgrade from 8.0-RELEASE to 8.1-RELEASE, by virtue of these threads (and especially this post). The process I took was the following:
I'd recommend doing this first - before we begin, do a snapshot of zroot:
Then
(Takes forever to download files. It was at this point that I decided to execute portupdater.sh as well.)
Put in your 8.1-RELEASE DVD and do the following:
Rebooted, and it is now working!
Remember to continue with instructions at here:
Note that we can see that (the kernel?) is a new version:
Note that to stop gnome coming up automatically if gnome panels aren't working, log in as root, click on something on the desktop and navigate to /etc/rc.conf and put a "#" at the beginning of the line:
and reboot.
My next post will start off the custom kernel compile.
UNIXgod said:When you are ready to compile your kernel start a new thread and I would be more than happy to help you with grokking the config and maybe save you one less headache.
So where am I at now, and what do I want to do?
Where I'm at now:
- I have a ZFS root mirror setup, using 8.0-RELEASE.
- Have upgraded from 8.0-RELEASE to 8.1-RELEASE.
- Have done a
# [url=http://forums.freebsd.org/showpost.php?p=39092&postcount=37]portupdater.sh[/url] yes
in the midst of the former, deleted some libraries, and I think botched my gnome somehow. This is NOT a criticism of portupdater.sh btw, it's very likely a reflection of my own combination of ignorance/stupidity/impatience.
What I want to do:
- Compile a custom kernel, and learn how to update that (and world I guess) so that I can do it regularly and easily, so as to have a properly secure and reliable system.
- Get system able to boot from 2nd disk, which is apparently a problem with 8.1-RELEASE and ZFS root mirror setups. Test it.
- Fix my broken gnome (no gnome panel).
- Figure out how to properly backup and restore the updated root mirror (which probably involves figuring out the minimum set of directories/files to backup and the order in which to do so).
I may as well detail what I did to upgrade, for others following along:
Upgrading from 8.0-RELEASE to 8.1-RELEASE
I have managed to upgrade from 8.0-RELEASE to 8.1-RELEASE, by virtue of these threads (and especially this post). The process I took was the following:
I'd recommend doing this first - before we begin, do a snapshot of zroot:
# zfs snapshot -r zroot@8.0_working_date
Then
# freebsd-update upgrade -r 8.1-RELEASE
(Takes forever to download files. It was at this point that I decided to execute portupdater.sh as well.)
# freebsd-update install
Put in your 8.1-RELEASE DVD and do the following:
# mount -t cd9660 /dev/cd0 /mnt
# gpart bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptzfsboot -i 1 da0
# gpart bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptzfsboot -i 1 ada0
Rebooted, and it is now working!
# shutdown -r now
Remember to continue with instructions at here:
# freebsd-update install
# shutdown -r now
Note that we can see that (the kernel?) is a new version:
# uname -r
Code:
8.1-RELEASE
Note that to stop gnome coming up automatically if gnome panels aren't working, log in as root, click on something on the desktop and navigate to /etc/rc.conf and put a "#" at the beginning of the line:
Code:
gnome_enable="YES"
My next post will start off the custom kernel compile.