Booting FreeBSD with GRUB2 on MBR

DO:

https://wiki.bsdforen.de/howto:grub2-anleitung

menuentry “FreeBSD 9.0 (1)” –class freebsd –class bsd –class os

{

echo Chainloading slice hd0,2 … chainloader (hd0,2)+1

}

DO NOT:

Two other possibilities from this post. Third one eliminates boot1, boot2 and loader stage leaving the job to grub2. Stuff like loader.conf will be entirely ignored… Mountroot will require manual ufs:/dev/da0xxx entry.

UPDATE:

This procedure does not work for another PC, what works is:

menuentry "FreeBSD" {
insmod ufs2
insmod part_gpt
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 574744019d04da3b
kfreebsd /boot/kernel/kernel
kfreebsd_loadenv /boot/device.hints
set kFreeBSD.vfs.root.mountfrom=ufs:/dev/ada0s1a
set kFreeBSD.vfs.root.mountfrom.options=rw
}

To find out fs_uuid under linux (debianoid): sudo grub-probe -t fs_uuid -d /dev/sda1

This GRUB2 crap is not funny anymore!

Advertisements

VLC audio streaming over http

See

https://github.com/piotrbetlej/monit_infrastructure/blob/master/audio_vlc_scr.sh

for working VLC command streaming audio over http. Vlca is just like vlcv a symlink to vlc (making killall on separate vlc process possible).

Hardware is Olinuxino A13 https://www.olimex.com/Products/OLinuXino/A13/A13-OLinuXino-WIFI/open-source-hardware running standard Wheezy (I am cowardly not updating to Jesse because of USB errors seen on BeagleBoneBlack ).