»

Journal Entry 2010-02-05

Uncategorized — Nathan on February 5, 2010 at 11:06 pm

My wife Laura is out with the girls tonight. I was extremely lucky that my youngest went to sleep in his own bed. He usually ends up sleeping in our playroom. I am hoping this is the beginning of a trend and he will soon sleep in the kids’ room every night.

I have been playing on my Libretto tonight, as one would expect. I am currently reading Introduction to Linux – A Hands on Guide while creating .wav files of my Untitled Piano pieces. That takes some time on the Libretto’s 166MHz processor. If I knew how to play midi files directly using Timidity on the command line, I would be much happier. Perhaps one day I’ll figure it out.

Holy crap – Julian, my 3 year old, just fell out of bed. Somehow he managed to fall back asleep up in the kids’ room and not demand to go down to the play room. There is hope for us yet!

I am taking a break tonight from my recent pop-centered listening phase, and I have put on Morton Feldman’s “Piano and String Quartet”. This is the piece I listened to with Jason Schoch when I first moved to Brooklyn in 1999 that made me decide to learn to write music. Beautiful, still, enchanting…slow and quiet, tense and reserved. At once relaxed and nervous.

I am sad that I have not yet had a six hour block to listen to Feldman’s String Quartet 2 in its entirety. I am lucky to have at least seen some performances of Feldman’s music, even if my wife was not entirely drawn in to the music. Hopefully I will be able to see more performances in the coming years.

In case you were wondering about my pop-centered listening phase, I am currently attempting to listen to my entire music library (or at least one song per artist) to create a playlist that will fit on my 160GB iPod. With a library of 500+GB, this is something of a challenge. I am listening in alphabetical order, and I am half way through the Cs – I just passed Charlemagne Palestine, and was stuck there for a while. But the pop artists I have listened to are drawing my attention, I guess because I usually pay so little attention to them. The ones that have made it to my highly selective frequent listening playlist are Amiee Mann, Charlotte Gainsbourg, The Butthole Surfers, Bells Of, and Servotron (listed in my collection strangely as ‘Avenue’, hence why I have already hit it on my listening project).

Well, my last wav file has been generated, so I am going to go listen to the pieces so far. Hopefully I will pick up the pace and write more than 30 minutes of music this year.

Debian Linux on the Toshiba Libretto 100ct – Part 1 Installing the Operating System

Uncategorized — Nathan on at 6:52 pm

I got this little Toshiba Libretto for myself for Christmas as a tinkering project, as I’ve mentioned previously. I like to tinker with computers, and I wanted a machine that I could use to experiment with a full installation of Linux. I also wanted to restrict myself to a command line interface only to internalize the use on the console.

With all this in mind, I bought my Libretto 100ct on ebay and proceeded to install Linux. I tried a number of different things, and referred to a bunch of different websites before I got things working. I am not going to go into all of the things I tried that failed. But once I got things working, I started over again to fix a few mistakes and documented the process.

The one applications that I was not able to accurately document was ‘wppost’. wppost is a perl application for posting to WordPress blogs from the command line. Technically, I have gotten this to work (I am posting this from wppost now), but I have not accurately captured the steps to get it working. It is, in my experience, a total pain to install.

I am planning to go into some of my other software installations at a later time, but for now I wanted to at least outline the process I went through to get Debian GNU/Linux on my Libretto. There are a lot of other ways to do this, but I used what I had available. The Libretto has a lot of limitations – no bootable floppy, no CD-ROM, no USB. I ended up having to take the hard drive out and putting it into another computer to get the initial files on the machine. Currently, my only way to get files on or off is through the internet. I bought a Netgear MA401 PCMCIA wireless card to go with it, and this worked without issue luckily.

Here is the quick list of what I did to install Debian GNU/Linux on the Libretto:

  1. Pre-reqs: This machine had 64MB ram, I’m not sure if you can install Debian with the standard 32 that came with the system. I know you can install Damn Small Linux with 32 MB of RAM, so that might be an option if you have a 32MB Libretto. I also used a larger HD than what came with the Libretto. I went with a 20GB because it was the smallest new HD I could find. But I think anything over 2GB should be OK as long as you don’t have a ton of documents.
  2. Hard Drive Switch: I used another old machine to install the initial Linux OS. I removed the hard drive from the Libretto and installed it in the other machine. It was actually one of the easiest hard drive installs I have done – the Libretto HD comes with a little handle you can use to pull it out of it’s holding bay. I used a Compaq Presario 1640 with 32MB ram because that’s what I have available. Installing the HD was pretty easy, but YMMV.
  3. Install Damn Small LinuxThe next step is to startup the other machine with a light Linux distro live CD. I used DSL-N because DSL is the first distro I got to work on this Compaq. I am using DSL-N rather than DSL mainly because the boot loader (GRUB) is a later version, and I had issues with Debian 3.1 (Sarge) and the older boot loader. I have not verified if the same issues would occur with the latest stable Debian (Lenny), but I did not want to risk it.
  4. Partition the HD: Once the live CD starts up, I partitioned the HD using cfdisk in a terminal window. Here is the partition scheme I used on my 20GB drive:
    		Partition	Start		End		Size		Size		FS
    Device		Type		Cylinder	Cylinder	(MB apx)	(MB actual)	ID
    ====================================================================================================
    /dev/hda1	Primary		    1		 254		2088		2089.23		83
    /dev/hda2	Primary		  255		 508		2088		2089.23		83
    /dev/hda5	Logical		  509		1014		4160		4162.00		83
    /dev/hda6	Logical		 1015		1030		 132		 131.61		a0
    /dev/hda7	Logical		 1031		1536		4160		4162.00		83
    /dev/hda8	Logical		 1537		2416		7235		7238.25		83
    /dev/hda4	Primary		 2417		2432		 132		 131.61		82
    

    I marked the hda1 partition as the bootable partition. The “MB apx” column is what I entered in cfdisk as the partition sizes – the actual size is listed next to it. ID is what I used as the filesystem type in cfdisk for each of the partitions. The hda6 partition is my best guess at getting the Libretto Hibernate stuff to work. Philip Nienhuis has a nice analysis of the partitioning requirements for Libretto Hibernation that helped out quite a bit. Apparently the Libretto writes the contents of RAM to this portion of HD when it hibernates. I have been using the hibernation recently and haven’t seen any data loss issues, but I can’t be certain it’s right. However, I do know that hibernation is working. I will detail libretto hibernation in a later post.

  5. Restart: After partitioning, I always restart the machine. I had issues one time trying to install to HD without restarting after partitioning.
  6. Install OS to HD: Do a HD install of the initial operating system (DSL-N in my case) on the bootable partition (/dev/hda1). Once this is done, you need to get a copy of the latest Debian CD image onto the largest partition. As of this writing, the latest iso is available here. Download CD 1. I did this after putting the HD back in the Libretto and using a 1GB PCMCIA data card to store the data, but you could download it from the internet on the other machine and store it on the large drive. I put it on the large drive because I this is the only partition that I did not use as a mount point for the Debian system, so every other partition is going to get erased.
  7. Prepare HD for Debian installation: See the Debian Install Guide for details on prepping the HD. Points of interest are Chapter 4 and Chapter 5. First, Copy vmlinuz and initrd.gz to /boot directory of installed OS:
    1. The first thing I had to do was get Internet access on the other laptop. In DSL-N, click DSLPanel and then Iwconfig.
    2. For my WEP wireless, I filled in ’sid’ with my wireless network name, and ‘wep’ with my wep key
    3. Then I downloaded the vmlinuz and initrd.gz files with wget:
    4. Then I copied these to /boot/newinstall.

    Then I added the following lines to /boot/grub/menu.lst:

    		title  New Install
    		root   (hd0,0)
    		kernel /boot/newinstall/vmlinuz vga=808
    		initrd /boot/newinstall/initrd.gz
    		

    This will allow you to boot the Debian installer from an iso image on the Libretto.

  8. Install HD into Libretto: At this point I shut down the other machine, removed the hard drive and installed the hard drive in the Libretto. When you start up, you should see the grub bootloader menu. Choose “New Install”, and the Debian installer should start up and guide you through the installation.
  9. Perform Debian HD install: At this point you should be in the Debian installer. If you just follow the installation steps, it should be pretty self explanatory. Here are the high level steps:
    1. Choose your language. I chose English.
    2. Choose your Country.
    3. Choose Keyboard Layout
    4. Choose a hostname for your network. I chose Libretto
    5. Partition Disks: This is the fun part. You have to use Manual partitioning to keep the Libretto hibernation partition, but most of the partitioning should be done already. You need to format the partitions, though – except for the partition that contains the Debian iso image. If you format the drive that contains the iso (I used hda8), the installation will fail and you’ll have to start all over again. You should leave that partition set as “do not use”. For the other partitions, I set them all to ext2 file system format, since that’s recommended on older computers. The exceptions are the two small partitions (hda6 and hda4), which I left as-is (hibernation and swap respectively). I also set up the following mount points:
      				/dev/hda1       /
      				/dev/hda2       /var
      				/dev/hda4       none
      				/dev/hda5       /usr
      				/dev/hda7       /home
      				

      Once the partitions are set, the installer will begin installing the base system

    6. Set up Users and Passwords. I only used one non-root user.
    7. Choose Packages: At this point the Debian Installer will give you some options to choose software to install. When I first installed Debian on the Libretto, I installed the file server, web server, mail server, etc. but this really slowed down the machine (especially at startup) so I uninstalled all server tasks. Also, it should be noted that ‘Desktop environment’ will install Gnome, which will not usably run on the Libretto. However DSL-N set up their windowing environment worked great, though – I will have to try to figure out how they configured that. Anyway, I only installed the software packages ‘Laptop’ and ‘Standard system’.
    8. Install Grub: I chose yes here and installed grub.

At this point, you should be prompted to restart the machine. Once you restart, Debian GNU/Linux should be completely installed on the Libretto. I will follow up with another post on how I configured Debian to make the most from my command line only environment. I would also like to put together a third post on the weird Libretto hibernation feature – I have not seen any article that really details how to get this working. I have it working now and it really is a great feature, so I’ll share my own experiences with it.

Journal Entry 2010-02-04

Uncategorized — Nathan on February 4, 2010 at 7:07 pm

written 1:00pm February 4, 2010

Writing on the Libretto again at lunch time. I have just about finished my first post on installing Linux on the Libretto. I should have it posted here in the next day or so. It’s looking like a 3 part series at this point:

  • Part 1: Installing Debian on the Libretto
  • Part 2: Configuration and Software Installation for the command line environment
  • Part 3: Details on the Libretto Hibernation feature

I can’t believe that I haven’t found any detailed documentation on the Libretto’s hibernation feature and the BIOS settings. I am trying to figure it out as I go, but I still have some unanswered questions. Maybe I should find a Libretto mailing list or something.

Enough about my computer…

On Monday I took the family out to dinner at a hibachi restaurant. Everything was going great until the cook lit the grill on fire. Julian, my 3 year old son, completely freaked out. “I wanna get outta here!” was all he said. I had to sit with him in the car and eat my hibachi at home from a takeout container. Could have been worse, I guess. At least no one got hurt.

I am pretty sure my wife doesn’t read this, so I’ll say right now I have a little surprise for Valentines day. We’re having friends over that weekend, but I have a little plan for the days leading up to it. Just in case she does read this, I won’t tell what it is. Hopefully she’ll like it.

It has been almost a year since I have started on my Untitled Piano pieces. Have I mentioned that? I am about half as far along as I had hoped I would be. Maybe that means I will finish in 2011. Or maybe it will go on forever, I don’t know. I think I need to work on something else for a while, though. I need to do some improvisational recording to break things up a bit. I have been writing but not playing for too long now I think. It will probably take me a while to get my guitar chops back up to speed – my callouses are all but gone now.

Back to work now…

Journal Entry 2010-02-01

Uncategorized — Nathan on February 1, 2010 at 10:24 pm

As you can see, I am changing the format of the dates on my journal entries. I am going to try to write here more often – now that I am able to post to WordPress from the command line, it frees me up to write my journal entries in text files and upload later. However, since my journal entries are all stored as text files on my Libretto (and checked into Subversion), I need them to conform to the way I like to keep dates in filenames.

I want to keep this short. The main reason I am writing here today is to wish my wife Laura a happy birthday. Happy Birthday, sweetie! I know I already wrote this on Facebook, but who can have too many birthday wishes? Nobody, that’s who!

I am writing this on my Toshiba Libretto in Vim (the One True Text Editor). I am working on my detailed installation notes, and will post them in the next week or so. I might post some pictures, too, but I’ll have to move over to the Mac for that. No USB means no camera downloads to the Libretto.

I have also been working on the fifth piece in my series of untitled piano works. I have been writing it in Lilypond (like all the other untitled pieces) on the Libretto, and works pretty well. I haven’t figured out a way to play midi files directly on the Debian Linux command line, though, so I have been going through the lengthy process of converting them to WAV files using Timidity. Not too bad, though.

Now I am going to experiment with the Libretto’s hibernation feature. Hopefully it won’t erase any data – wish me luck!!

Installation Frustration

Uncategorized — Nathan on January 29, 2010 at 5:33 pm

Short note – I reinstalled the Debian OS on my Libretto to 1. Partition the hard drive so I can use the Libretto Hibernation Mode, and 2. to document the process to post here. The documentation went prett well, but the hibernation still does not work. The command “apm -s” gives me a scary “insert a disk” image – not sure what really happened there. It took me FOREVER to figure out how to get this command line blog posting program to work. I documented what I did, but I have a feeling I could get it to work much more easily next time. Problem is, I would have to reinstall again to test it out, unless I can figure out how to undo all the perl scripts I installed.

Journal Entry – January 20, 2010

Uncategorized — Nathan on January 20, 2010 at 11:25 pm

This is my second post from my Toshiba Libretto 100ct. I am feeling pretty empowered by this little thing, if only because I got it to work with a decent Linux distro (Debian). I have gotten it to be a functional little machine despite its 64MB of RAM. I am now able to do the following:

  • Browse the web on my wireless network with a Netgear MA401 PCMCIA card using lynx, the text browser
  • Post to my blog using the Linux command line program ‘wppost’
  • Write music using lilypond and listen to the midi files produced using timidity
  • Check my Gmail and nathanbibb.com email with mutt
  • Maintain my project, work, personal, and lilypond files using my Subversion version control repositories
  • Track my ‘todo’ list with Gina Trapani’s excellent todo.txt program
  • Learn cool Linux command line tricks I would never have learned if I were using a graphical user interface, like the ’screen’ command
  • Annoy my wife to the point that she calls the Libretto my ‘Tiny Baby Precious’
  • Post to Facebook using the ‘fbcmd’ program

I’m a little concerned that I didn’t fully document the process I used to get this machine up and running with Debian GNU/Linux while I was in the process, so it might be a little hard to get all the details right from memory. One day I might redo the whole thing just to get the steps correct. Plus, I love installing operating systems. It’s like a new beginning.

When I re-install, I might right down the steps I took to get the latest stable Debian GNU/Linux system working on the Toshiba. It definitely involves removing the hard drive and using another machine, which was a lot of fun for me. I love taking machines apart.

In other news…

There have been other things going on, of course. I have continued to work on my Untitled Piano pieces, but at a slower pace than I expected. I am planning to be my son’s cub scout den leader next year – that should be a lot of fun. I am still trying to figure out how to build a home theater PC – the combo boxee/dvr system does not seem to be ready for me yet. My wife has been making a lot of really cool hats lately – you might be able to see them soon at Andromeda’s Attic, but we’ll see. She might just keep them.

That’s all for now. I might post again in another six months. Or maybe more often, now that I can do it from the Libretto…

My Christmas Computer Part 1

Uncategorized — Nathan on January 5, 2010 at 10:40 pm

So for Christmas, I got a little computer from 1998 – a Toshiba Libretto 100ct. My son called it my future computer from the past. It’s about the size of a VHS cassette, and from the same era. I was able to load Debian GNU/Linux on it, which was a fun tinkering exercise. Later I’ll write up my experience getting it to work – it was pretty interesting.

More command line madness: I did not load a graphical user interface on the computer, so I have to do everything on the command line. I am posting this using a command called ‘wppost’ that was a bit involved to compile, but seems to work now.

Now it’s time to test some html formatting:

  • Here’s an unordered list
  • and a second item in the list
  • and a third

Bold Text, and then italicized text and underlined text.

More to come on this stuff…

It’s less than 48 hours until “24 Hour Plays”

Uncategorized — Nathan on July 30, 2009 at 9:09 pm

I will be leaving in about 7 hours to drive down to South Carolina. I have been asked to participate in Deuce Theater’s production of “24 Hour Plays – very exciting! Six writers, 6 directors, and 24 actors will write, direct, and stage 6 short plays in the space of 24 hours, and I am going to be doing the music and sound design. If you will be in the Charleston area, here are some details:

The South of Broadway
1080 East Montague Ave. , North Charleston, SC 29405
SHOWTIME AND TICKETS
HOUSE OPENS: 7:00 PM
SHOW BEGINS: 7:30PM
TICKETS: $5 suggested donation at the door- CASH only. Seats are limited, so get there early!

Here is a write-up of the production
http://www.charlestoncitypaper.com/charleston/the-24-hour-plays-will-wait-for-no-one/Content?oid=1259817

Journal Entry: June 17, 2009

Journal — Tags: — Nathan on June 17, 2009 at 8:55 pm

It’s still ridiculously cold here in New Jersey. I don’t get it. I took all three kids to the Beers St. School’s Father Day Social – it was outside with Italian Ice. I don’t think they planned for this weather when they scheduled it.

Cory Doctorow reviewed a book recently that I am really interested in – Mind Over Ship. My favorite quote – “…it trembles on the verge of breakdown, acrobatically walking on a tightrope over the pit of too-weird.” I haven’t read anything really weird in a while. I wonder if Cory would consider books like Story of the Eye or My Cousin, My Gastroenterologist as falling into the pit of too-weird or not.

On another note, Laura and I recently (6/15) celebrated our 10 year “dating anniversary”. By celebrate, I mean I changed my Facebook status. Our seventh wedding anniversary is coming up next week, and we will quietly celebrate that by opening the first bottle of wine that I made last month.

Speaking of making beer and wine, I have two beers in the hopper right now – a summer “ginger” ale and Abbey Experiment #2 – a lighter Trappist that I hope will be close to a Trippel.

Journal Entry: June 11, 2009

Journal — Tags: — Nathan on June 12, 2009 at 8:30 am

I call this my journal, so I guess it’s about time In treat it like one. You know, all the mundane stuff that I do during the day, what I eat, etc. I suppose if I could shut up at 140 characters, it would be good for a twitter, but I still haven’t bought in to the twitter thing yet.

Yesterday was unbelievably cold, foggy, and dreary for June in New Jersey. After work I took Dylan to soccer practice – it seemed like he was playing on the Scottish moors or something. Miserable.

Jason mentions he is interested in getting back into field recording. We have been discussing equipment – there are a lot of interesting new option this year for recording equipment. We’ve come a long way from the mini disc days of the late 90s.

This makes me think of my own musical endeavors. I am trying to get some momentum back after a few years of musical hiatus. I need to push through the untitled piano pieces, and eventually clean them up for performance. I recently started playing parts of them on guitar – I would like to write a guitar arrangement for them as well at some point. Then there are all the sound files I have, and the cleanup work on all my previous works I’d like to do. Plus learn Pro Tools.

Speaking of Pro Tools, although I love the program and the hardware, I have started to become a little uneasy with it the more I get interested in open source software. I have recently been reading a little bit of Eric S. Raymond, and getting involved in the open source Lilypond project (just by subscribing to the mailing list, but it’s a start. I am tossing around some ideas on how to incorporate the open source ideas into my music. I am still on the fence as to whether I will release my music on a creative commons license, but “releasing” music is something I still have to put a lot of thought into.

Next Page »

(c) 2010 Journal of Nathan Bibb | powered by WordPress with Barecity