Archive

Archive for the ‘Operating Systems’ Category

FreeDOS 1.1 USB Boot Image

January 17th, 2012 20 comments

I’ve updated the FreeDOS USB boot image to now include the official FreeDOS 1.1 kernel, and command interpreter, now that it has been officially released.

FreeDOS USB Image: FreeDOS-1.1-USB-Boot.img.bz2

Size: 117652 bytes
SHA1: 7d8a3c73f9cfdc71611e3f7a5b7b134529179821

If you are looking for a FreeDOS 1.0 USB Boot Image, see my earlier post of the same title.

If you run in to trouble, take a look at the comments for 1.0 first, many will apply.  If that doesn’t solve your issue, leave a comment.

.flac to .mp3 parallel conversion script

May 12th, 2011 2 comments

I’ve been using FLAC to backup my CDs for some time, but due to the ubiquity of MP3, I frequently found myself transcoding a large number of these files for various devices.

I found a good number of scripts[1] for doing the conversion, and it seems to be  a bike shed everyone wants to chime in on.  What I found didn’t really handle modern multi-core processors, so I made some quick tweaks and thought I’d post my results.  There are two scripts:

mp3xcode:

#!/bin/bash

mkdir mp3
parallel mp3xcode_sub — *.flac

mp3xcode_sub:

#!/bin/bash

[ -r “$1″ ] || { echo can not read file \”$1\” >&1 ; exit 1 ; } ;

FLAC=$1
MP3=”mp3/${FLAC%.flac}.mp3″

eval `metaflac –export-tags-to=- “$FLAC” | sed ‘s/=\(.*\)/=”\1″/’`

flac -dc “$FLAC” | lame –replaygain-accurate -v -V 2 –tt “$TITLE” \
–tn “$TRACKNUMBER” \
–tg “$GENRE” \
–ty “$DATE” \
–ta “$ARTIST” \
–tl “$ALBUM” \
–add-id3v2 \
– “$MP3”

This script seems to be a good way to do it. I’ve only tested this on linux.

On FreeBSD, there may be some tweaks required to not depend on bash.  Also, you’ll need to install the GNU parallel program (sysutils/parallel).

FreeDOS 1.0 USB Boot Image

August 13th, 2009 22 comments

Update (2012-01-17) new version available: FreeDOS 1.1 USB Boot Image
Update (2011-10-20) download the FreeDOS USB Image: FreeDOS-1.0-USB-Boot.img.bz2

I was trying to update the BIOS of my new SATA controller (a Syba SD-SATA2-4IR, or SD-81012336 – you decide), as the system will not boot with the RAID BIOS, unless you have a logical drive defined.  Since this fakeraid is generally garbage, and I’ll be using ZFS as well as gmirror, I thought I would try and work around it.

Read more…