Instructions on how to build a FreeBSD image: http://azure.microsoft.com/blog/2014/05/22/running-freebsd-in-azure/
Instructions on how to build a Linux image: http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-tutorial/
Images can be published on http://vmdepot.msopentech.com when complete
How to customize and republish an image once a base image is available in VM Depot: https://vmdepot.msopentech.com/tutorial/freeBSD.html
I have successfully installed NetBSD to my pi from the supplied images, but it is just the core system with no X server. I am a relative newby to Linux, let alone BSD and am slowly working my way around it, but I am struggling with pkg_add because I can't find a source file to match...
I downloaded rpi.img.gz from here:
I followed the instructions on this page, but fall down when trying to add packages
but when following the instructions here: https://www.netbsd.org/docs/pkgsrc/using.html
and here: http://www.netbsd.org/docs/guide/en/chap-boot.html
I cannot find a matching distribution.
uname -a reports:
NetBSD rpi 7.0_BETA NetBSD 7.0_BETA (RPI_201501031030Z) evbarm
but the closest I can get is
Should I be looking elsewhere for the repository?
The example code at
has a bug. It skips the first file in the directory of files it's supposed to monitor.
I was able to fix this by changeing line 51 to
while(cnt++ < 2 && (pdent = readdir(pdir)) != NULL)
Some of the links in the "Additional Info" section refer to wiki.netbsd.org, whereas they should refer to www.netbsd.org.
is a broken link.
But changing wiki to www works:
Links I've noticed that need correcting include:
Notes on System Models
I succeeded to connect via the serial port, but I have a first problems, the root partition exceeds the maximum capacity of the partition:
beagleboard# df -h
Filesystem Size Used Avail %Cap Mounted on
/dev/ld0a 434M 434M -21M 105% /
I could make some changes and I do not know if it came from there, but it is impossible to create user the database is apparently corrupt:
beagleboard# pwd_mkdb /etc/master.passwd
pwd_mkdb: Cannot open `/etc/spwd.db.tmp': File exists
in order to properly operate the cubietruck, I set up a fex/bin file to the root of my SD card.
I tried without the script, with a script modified to display on a VGA screen, as well as an original script for display on HDMI display, but none work.
I feel that the script is not even read it.
the LED display does not do properly. However, I checked several times, I put exactly what was stated in the wiki.
This is a really nice page, thank you. I just installed NetBSD 6.1.5 onto the notoriously quirky iMac G4 (take a look at some of the Debian/MintPPC/Ubuntu posts to see how nicely it plays with the nouveau driver) and I needed some workarounds, but otherwise these instructions worked well. I wanted to add this comment for people with that system, since it doesn't play nice.
follow these instructions closely, except alter the following:
don't bother trying to set up networking with sysinst- it doesn't do dhcp on this computer
pdisk is included on the 6.1.5 cd, so it doesn't need downloaded
newfs won't work on this setup with the command listed above, use #newfs /dev/rwd0c
(r for raw)
after installing the sets quit sysinst and chroot into the new installation
edit the rc.conf
change configured to YES,
add a root password
add a user and put her in group wheel
give them a password too.
edit fstab one more time to enable pty (needed to ssh in, at least on my computer)
add the line
ptyfs /dev/pts ptyfs rw 0 0
save, exit, reboot, boot cd:,ofwboot.xcf hd:3,/netbsd
and when the computer comes back up, it will show the kernel messages and then nothing. the messages will then scroll off the screen and there'll be an invisible console present. hence the need for ssh
ssh in from another computer, and do whatever configuration you want from that console
or, hit enter a few times to specify terminal type, etc, type your name, hit enter, password, hit enter, and then startx. x will load with twm as the window manager.
I can't get hformat to work with this version or this computer. It compiled correctly, but it will not format my boot partition. So I just use the cd to boot.
Thanks for your work putting this together! NetBSD was my savior when the Debian family switched from nv to nouveau. the iMac G4 needs nv.