I started building a "usable" FreeBSD live-stick (creating a set-up with memory disks doing duty for /tmp and /var/log, etc) - all the usual live-stick things.
To build the stick, I booted into the "live" environment from a FreeBSD-10.0-BETA CD. I like the orange beastie! Maybe a reason to upgrade right there! To begin, I created a play-pen memory disk and allocated about half the machine's available memory to it. I inserted an archive USB stick, which had prepopulated files (fstab, a script for auto-building the new stick, base and kernel, etc). I decided to copy the prepopulation stuff to the memory disk first, so that I could extract the kernel tarball. Then I figured I could pull the archive USB stick out, insert a new one, and build FreeBSD-10.0-BETA on it.
As soon as I started the copy to my play-pad memory disk from the archive USB, the whole OS blinked out of existence, and the computer reset. After it reset, I tried to mount the archive USB to no avail. fsck claimed it didn't exist, but luckily
I managed to build the stick and boot it. I loaded Xorg and browser packages (built a while ago on 10.0-CURRENT) from another archive USB stick, and Xorg worked fine. The browser installed fine, but then complained that gcc related libraries couldn't be found. Has gcc 4.1 been removed from the beta?
So, I decided to try
Seems the upgrade to 10 is worth the effort, I think.
To build the stick, I booted into the "live" environment from a FreeBSD-10.0-BETA CD. I like the orange beastie! Maybe a reason to upgrade right there! To begin, I created a play-pen memory disk and allocated about half the machine's available memory to it. I inserted an archive USB stick, which had prepopulated files (fstab, a script for auto-building the new stick, base and kernel, etc). I decided to copy the prepopulation stuff to the memory disk first, so that I could extract the kernel tarball. Then I figured I could pull the archive USB stick out, insert a new one, and build FreeBSD-10.0-BETA on it.
As soon as I started the copy to my play-pad memory disk from the archive USB, the whole OS blinked out of existence, and the computer reset. After it reset, I tried to mount the archive USB to no avail. fsck claimed it didn't exist, but luckily
newfs -N provided a backup super block, and fsck_ffs -b fixed the archive USB. Then I decided to copy directly to the new stick from the archive, so as to avoid another crash. My memory disk had been created with the usual ( mdconfig -a -t malloc -s500M -u10) and ( newfs /dev/md10) commands, and then mounted on the "live cd" /mnt mount point. The files copied were rather large. I should add that the copied file sizes were close to the size of the memory disk. I managed to build the stick and boot it. I loaded Xorg and browser packages (built a while ago on 10.0-CURRENT) from another archive USB stick, and Xorg worked fine. The browser installed fine, but then complained that gcc related libraries couldn't be found. Has gcc 4.1 been removed from the beta?
So, I decided to try
pkg install to install another browser. Wow, what a treat! It's a far way from the old pkg_add -r days. I like the new pkg management. It told me what was to be installed, what was to be upgraded, and went about the whole process with only a short error emitted about my /tmp being too small (being on a USB stick, it's small). It recovered from that, and went on installing the packages. As it downloaded and installed files, I noticed that some of the upgrade package sizes were minuscule. I guess the new package manager is "smartly" downloading only incremental changed/additional pieces/parts? Nice! Seems the upgrade to 10 is worth the effort, I think.