Categories
Applications Command Line (CLI) Using Linux

Burning Music CD Backup is not simple

Recently, I needed to backup a Music CD with my Linux OS.  Sadly, this was not simple.  This post discusses using Linux to back up a music cd. Nothing more, nothing less. I don’t intend to promote or sell my backups.  Yes, I am aware that

  • On Mac and Windows, music cd backup woes aren’t worth discussing since easily-obtainable programs exist
  • This is an area of computer use that can raise eyebrows

Why backup our music CDs?

Safekeeping in a familiar location; your personal computer

If I backed up my Led Zeppelin CD “In Through the Out Door”, then I wouldn’t be upset about it (it’s missing). Of course, music CDs are not as expensive as they were before the days of digital purchase, digital download, and youtube, but it’s the principal of it.

Easily encode & transfer music for different formats & players

For example, you make a digital backup of “In Through the Out Door”. Your wife wants to listen to it on her iPad in high quality audio format.  Your nephew would also like to listen to it, but has limited audio file type support and less storage space on his iPod Touch.  With a full digital backup of the cd, you can easily encode the songs to satisfy both requirements without having to take the original music cd out of its case multiple times.

You covered “why”, ? “how”

I will first give citation to the source of the solution that worked for me. See the first post from user noz in How to dump an Audio CD to ISO from the freebsd forums for the instructions. I found a “gotcha” (possibly) overlooked in the “Playing it” section;  Note: Playing the BIN without conversion will give you an earful of static.  This is notable, it also applies to the burn process.  You want to burn the converted (not original) bin file.  I got this wrong the first time. To avoid the mistake the 2nd time, I did the following:

  • Kept the file names the same for both original and converted bin files.
  • Used sed to replace the source (in TOC) to the converted bin file. Sed was quicker than a GUI text editor to accomplish same [find/replace] task.

For example, if your original bin = in-out-door.bin, converted bin = in-out-door-converted.bin, and TOC file is in-out-door.toc

sed -i -e ‘s/in-out-door.bin/in-out-door-converted.bin/’ in-out-door.toc

You might prefer to rename the .bin files and leave the toc as-is. It’s up to you.

Categories
drive setup Installing Linux

Partitioning for Linux

Partitioning is a drive-setup process where you designate areas of your hard drive as “mount points”.

Depending on the situation, you can partition the drive as you’re installing Linux, or set up the drive first, (using a utility CD such as GParted or other).  For a single-boot setup, I suggest using the Install CD’s partitioning tool if you’re wiping out the old operating system or replacing one Linux distro with another.   If you’re adding Linux (to create a dual-boot machine with MS Windows or Mac OS-X) then you should attend to the partitioning chores first.  More on dual booting later.

Partitioning can intimidate newcomers, but fear not.  The Linux install process is flexible, and you don’t have to manually create partitions for single boot setup.  The install CD may offer suggestions (depends on distro) or at the very least have an “automatic partitioning” feature that works fine.

Manual partitioning, on the other hand, is worth learning.  Even the basic “3 partition” scheme (/, swap, and /home) offers the advantage of not losing your documents if you replace your distro.  While you should make frequent backups of your files anyway, common advice from the Linux community suggests keeping /home on its own partition for that very reason.  Find a partitioning tutorial here.

Categories
Obtaining Linux

Download a distro

Linux Operating systems or “distros” are available for download from a variety of sources.  When downloading a distro, I usually go to distrowatch.com. At other times I go to the project’s website; for example: Linux Mint, Crunchbang, and Ubuntu.

Why go to distrowatch?  It’s an easy name to type into a web browser.  It lets you search by distribution name and takes you to the “project page” for that distro—where you can get details about the distro—such as country of origin, which releases/editions are available, what software/applications are included, the default desktop manager, and more.

When your download is complete, you should verify your download before you burn the .iso file to a CD or DVD.  Verification is the process where you compare the md5 hash of your downloaded .iso with the expected md5 hash published at the website where you downloaded the .iso from.

There are a few ways to verify a .iso file.  In linux, issue the command md5sum [path-to-iso-file] and press ENTER.  For Mac OS-X, follow these instructions.  Lastly, in MS Windows, follow these instructions.

After verifying the download, burn the .iso to a CD/DVD.  Just make sure that you’re burning a “bootable iso image” (which is different than creating a data CD that includes the .iso file).  Most of the good burning software will have the option to “burn an image to disk”.

Categories
Obtaining Linux

Linux: you can try it

You can try Linux before changing anything on your Hard Drive. This is one of the reasons why Linux is so awesome.  This allowed me to try out Linux and I still use it today.  I still try out Linux with LIVE CDs.

Many people purchase computers from online or “in store” retailers.  At Best Buy you can get a Windows-based or Mac OS-X based PC.  Can you get a Linux-based PC?  Well, I didn’t see any in my local Best Buy.   I’m not trying to generalize about all Best Buy & I hope they don’t mind me using their name.  But I’m inclined to believe that Linux-based PCs make less profit than Mac or Windows-based machines.