Hello.
I didn't use my notebook for a long time, but this time I decided to start again.
I have upgraded my old Asus x51rl and decided to reinstall the OS from scratch.
First of all, I checked if a new FreeBSD version was available and it was (v10). Of course, I could download the new version .iso image, but:
- I had not disk to burn the image;
- I didn't want to do it.
But it was not as easy as it was written in the article.
The first step was completed successfully:
# freebsd-update fetchAfter restart uname -a showed me 9.0-RELEASE-p3. Well, I tested the tool and it looked like it worked as it supposed to work.
# freebsd-update install
But the next step:
freebsd-update upgrade -r 10.0-RELEASEreturned me the message:
Cowardly refusing to proceed any further.and exited.
So I decided to run this upgrade in 2 steps:
- freebsd-update upgrade -r 9.2-RELEASE
- freebsd-update upgrade -r 10.0-RELEASE
But! There is still the last step: upgrading programs.
It recommends to run:
# portmaster -afbut the issue was that I did not have the program installed yet (I had a clean installation). When I tried to install the program from the ports, I got an error:
Improper use of USE_PERL5 in /usr/ports/Mk/bsd.port.mkor something like that. A short googling advised me to update the port's tree.
What I did:
# cd /usr/portsDoing that, I was said, that 'make update' uses portsnap and I have to run:
# make update
# portsnap fetch extractThe command started, but failed because of the lack of inodes in /var (I have 2Gb there). A short investigation showed me, that it was because of
/var/db/freebsd-updatewhich had a lot of little files. So, I cleaned downloaded files, the portsnap file:
/var/db/portsnap/4Fuy78jn&...JHjj78.tgzand re-run it in 2 steps:
- # portsnap fetch
- # portsnap extract
Good.
So, the last step was to install portmaster and to run:
# portmaster -afIt was completed successfully and I had FreeBSD 10.0-RELEASE with the ports upgraded.
Well done.
Let's start to use it.