It is much easier to use a readymade LiveUSB that can give you quick access to the audio/video playback programs you use with OpenBSD. You have tools like SoX, mplayer,ffmpeg and more.
If you wish to have LiveCD/LiveDVD instead, please refer to our other LiveCD-Multimedia project on sourceforge!
This USB image shall not touch your hard disk in any way. All the operations are done in the USB stick and main memory. Nothing will be written to your MBR or boot loaders!
Really easy. Watch out. Everything is done with qemu by Fabrice Bellard. Just install that package and blindly follow the instructions below.
# qemu-img create liveusb-multimedia.img 15625000k # qemu-system-x86_64 -hda liveusb-multimedia.img -cdrom install54.iso
That is it! You are ready to dd(1) now. See below.
Creating a LiveCD is more work because you need a read only OS. No such issue with writeable USB memory sticks.
You can login as user live and password live123 The root password is openbsd1729.
These LiveUSB images are based on 5.4 release of OpenBSD made on November 1, 2013.
Packages included in this project are given below.
ImageMagick-18.104.22.168p2 image processing tools atomicparsley-0.9.0p0 read and set MPEG-4/3GPP metadata tags audiopreview-0.6p2 tool to play previews of audio and video files avidemux-2.4.4p14 free video editor avinfo-1.0.a15 utility for audio-video information extraction ccextractor-0.56 closed caption subtitles extractor coherence-0.6.6.2p3 UPnP/DLNA media server colorls-5.3 ls that can use color to display file attributes curl-7.26.0p3 get files from FTP, Gopher, HTTP or HTTPS servers devede-3.23.0 video DVDs and CDs creation tool dvdauthor-0.7.0p1 creates DVD file structures dvdbackup-0.1.1p3 DVD ripper dvdcpy-1.0.0p0 copy selected info from DVD ffmpeg-20130319 audio/video converter and streamer ffmpeg-php-0.6.0p13 PHP support for FFmpeg ffmpeg2theora-0.29p1 re-encode many media file formats to Ogg Theora figlet-2.2.5 generates ASCII banner art firefox-22.0 Mozilla web browser get_flash_videos-1.24.20121020 download flash video files from various sites get_iplayer-2.83 download/stream programmes from BBC iPlayer gnome-3.8.3p0 GNOME desktop meta-package (base installation) gnome-session-22.214.171.124p3 GNOME session gnomebaker-0.6.4p21 CD/DVD authoring application for GNOME hdhomerun-20110323p0 HDHomeRun Config CLI utility & firmware kaffeine-0.8.8p11 video player for KDE kguitar-0.5.1p4 guitar tab editor lftp-4.4.5 shell-like command line ftp and sftp client libass-0.10.1 portable ASS/SSA subtitle renderer libdv-1.0.0p0 Quasar DV codec libdvdnav-4.2.0p2v0 DVD navigation library libmatroska-1.3.0 extensible open standard audio/video container library libmms-0.6.2p0 library for parsing mms:// and mmsh:// type network streams libmp4v2-1.9.1p0 read and manipulate the MP4 container format libquicktime-1.2.4p1 library for reading and writing QuickTime files libreoffice-126.96.36.199v0 multi-platform productivity suite libtheora-1.1.1p2 open video codec libvpx-1.1.0p0 Google VP8 video codec lives-1.0.10p3 video editor and a VJ tool lsdvd-0.16p2 print information about the content and structure of a DVD mediatomb-0.12.1p11 UPnP media server ming-0.4.4 Flash 4/5 movie output library mjpegtools-2.0.0p0 tools to edit/modify/encode video streams moovida-1.0.7p9v0 Moovida media center software mpgtx-1.3.1 command line MPEG audio/video/system file toolbox mplayer-20130214p4 movie player supporting many formats mutt-1.5.21p4v0-sasl-sidebar-compressed tty-based e-mail client, development version oggconvert-0.3.3p2 convert media files to Vorbis, Theora and Dirac oggz-1.1.1 inspect, edit and validate Ogg files ogmtools-1.5 ogg mux/demuxer osd_clock-0.5p2 xosd based clock p5-AMF-Connection-0.30 AMF client to connect to remote FLEX AIR service p5-Curses-UI-0.9609 curses based user interface framework for Perl p5-CursesWidgets-1.997p3 curses(3) based terminal widgets p5-Data-AMF-0.09 serialize/deserialize Adobe Action Message Format data p5-Proc-Daemon-0.14 run perl program as a daemon process p5-Storable-AMF-1.00p0 deserializer for Adobe Action Message Format p7zip-9.20.1p0 file archiver with high compression ratio pidgin-2.10.7-gtkspell multi-protocol instant messaging client postfix-2.11.20130710-sasl2 fast, secure sendmail replacement pure-ftpd-1.0.36p1-virtual_chroot small, easy to set up, fast and very secure FTP server qemu-1.5.1 multi system emulator recordmydesktop-0.3.8.1p5 record desktop sessions to an Ogg-Theora-Vorbis file regionset-0.1 set region on dvd drives root-tail-1.2p1 tails a given file anywhere on your X11 root window schroedinger-1.0.11p0 high-speed Dirac codec sox-14.4.1 Sound eXchange, the Swiss Army knife of audio manipulation streamdvd-0.4p0 fast tool to backup video DVDs 'on the fly' subrip-0.10.0p2 extract subtitles from dvds swfmill-0.3.1p0 xml2swf and swf2xml processor with import functionalities swftools-0.9.1p1 SWF manipulation and generation utilities transcode-1.1.7p3 video stream processing tools vim-7.3.850-no_x11 vi clone, many additional features vitunes-2.3p0 curses media indexer and player for vi users wget-1.14p0 retrieve files from the web via HTTP, HTTPS and FTP windowmaker-0.92.0p13 window manager that emulates NEXTSTEP(tm) wmcalclock-1.25p0 wm-dockapp; calendar/clock wmdate-0.7p2 wm-dockapp; shows the current date wmmoonclock-1.27p4 wm-dockapp; shows the moon phase wmtictactoe-1.1.1p1 wm-dockapp; TicTacToe game wmtimer-2.92p4 wm-dockapp; alarm clock wmweather-2.4.3p3 wm-dockapp; weather monitor x264-20130302 free H.264/MPEG-4 AVC encoder xine-lib-1.2.3 multimedia decoding library xine-ui-0.99.7p4 multimedia player xosd-2.2.14 displays text on your screen xvidcore-1.3.2p2 ISO MPEG-4 compliant video codec yle-dl-1.4.6 download videos from YLE Areena
You can always add and remove packages with the pkg_add(1) and pkg_delete(1) commands in case my choices do not agree with yours.
Once you download the 7z image, install p7zip and unzip the USB image.
Install 7zip if not already present. # pkg_add p7zip Unzip the downloaded image with this command. $ 7z e liveusb-miniX.img.7z
You can burn this image to a USB stick with this command on OpenBSD
# dd if=liveusb-multimedia.img of=/dev/rsd0c bs=256k
Please be aware that your USB stick could be sd0 .. sdn depending upon in what order you insert into your computer.
You can burn this image to a USB stick with this command on Linux.
# dd if=liveusb-multimedia.img of=/dev/sdb bs=8192
Please check with dmesg and find out whether your stick is identified as sdb or sdc or whatever else.
Once you write the image you can test the USB stick without rebooting the computer with this qemu command on OpenBSD.
# qemu-system-x86_64 -usb -hda /dev/rsd0c
Once you find that things work fine you can reboot. You can do something similar on Linux and Windows too.
If you are too lazy to burn it into a USB stick you could run this off a qemu emulator.
# qemu-system-x86_64 -hda liveusb-multimedia.img (If you want full networking you boot with) # qemu-system-x86_64 -net nic -net tap -hda liveusb-multimedia.img
Booting resumes from this point and throws up an xdm screen. Once you login as live you will get the familiar gnome desktop.
In fact the easiest way to use LiveUSB is by burning the ISO of the same project.
Should you not have access to any UNIX or Linux system you could always use this project to try out OpenBSD by burning to a USB stick from Windows using the free VMWare Player. It is a free download available for those who register on the VMWare website. You also require an ISO image of the LiveCD-OpenBSD project(see above).
Being a GUI tool I am not in a position to detail the process as a bulleted list. However I will guide you briefly and add screenshots when I get time.In case you are curious you could always drop me a mail and I shall respond(mail ID given at bottom of the page).
The idea is to connect to the USB subsystem when you create a new VM and use the downloaded LiveCD-OpenBSD ISO to boot and create a VM which is basically a hard disk image to install the ISO to.
But we instead install to the USB stick. When you create a VM in the final screen you can click at Options and add a USB controller. Then you go to the top menu and Connect to the USB stick in question.
As part of the booting process you will see that OpenBSD actually recognizes the USB stick as yet another hard disk and this happens by disconnecting the stick in the Windows host and connecting it to the OpenBSD guest(this happens automatically).
Now when you run the installer from the CD inside VMWare, you can choose the USB stick instead of the VMWare's hard disk file store as the installer shows the size of the disk to install to. This is bit tricky as my installer does not report the name of the disk. But you should not have much trouble with it. I suggest you always use a VMWare disk image as being very small(since you never use it anyway) like 1G or something and the USB stick you use will be either 4 or 8 Gigabytes. So you can always identify which disk is which from the size reported by the installer. You choose by pressing SPACE bar and then you type TAB followed by ENTER.
Here are screenshots to explain how to install LiveUSB from a Windows machine to a USB stick. If you are familiar with VMWare Player you can go the usual way till the final "Customize Hardware" button and then you have to add the USB controller. Then you can choose to install to USB stick after the CD boots.
All updates are tweeted to https://twitter.com/LiveUSBOpenBSD.