Pages

7.27.2008

Fedora Core 8 & Logical Volume Management

This weekend I decided that after two years with Fedora Core 5 on my workstation that it was time to update because I was missing out on the Linux versions of some great software like Scribus 2.3.4 and Gimp 2.4.

The big computers have had a way of partitioning hard drives that makes it easy to add or remove storage as required without having to shutdown and reboot.

As a fan of that kind of technology it's nice to be able to "test it out" so to speak.

So now the current version of Fedora Core 8 makes it easier to set up partitions using LVM (Logical Volume Management).

But because I haven't really paid much attention to this before because it hasn't really been documented very well how to set it up.

Basically you need 4 partitions:

/boot
/ (root)
/home
/swap

The /boot partition must be located outside of the LVM container though.
The Volume Group shows the big picture and contains all disk volumes. A physical volume is a single hard drive and a logical volume can be spread over one or more physical volumes.

So my hard drive is a small 40 gigabyte model, which is just fine for the stuff I want to do like surf the net, participate in blog and web forum discussions, create documents like the TRUWinnipeg pamphlet, and watch videos on YouTube.

I really don't need a whole lot more than that. I wish I could do desktop video editing, but that is probably best done with a full fledged PC workstation.

So onto the partitioning.

I wanted to set up a separate /home and on the Fedora Core 5 system I had previously I also had a CD-R sized partition on /share that I could use to archive documents to.

This time I also decided not to install Windows XP because I don't really use it, except to scan in the odd image, but that happens very rarely.

The /boot partition cannot sit inside an LVM because Linux won't be able to see it.
The /boot partition must be about 100 megabytes, but not much more than that. It is where the Linux kernels are kept, and you can keep more than one on your system and switch between them if needed.

The /home partition should maybe be about 10 gigabytes. This is where program configuration files are stored, as well as your documents and e-mail messages, so it's important to keep this large enough. When I backed up my e-mail messages I found that 1,000 messages going back about 2 years could be stored in about 250 megabytes of storage... And Firefox browser settings and bookmarks both could fit on one CD-R.

And you really should have a separate /swap partition that is set to double the size of your current amount of RAM.

But because I'm new to this LVM thing I couldn't get it to work as I understood the concept at the time. So instead of a separate /home directory I let Anaconda choose the default setup, which is two partitions -- /boot and / (root).

The restore operation of Firefox and Thunderbird data went very well. Before repartitioning I had copied the following directories onto a CD-R disc:

/home/jim/.mozilla/firefox
/home/jim/.thunderbird

Both those directories store Firefox bookmarks, passwords, and plug-ins, e-mail and login information to all e-mail accounts. This marks the first ever time I have been able to successfully restore my e-mail from a previous installation, and it sure felt good to still have those e-mails to refer to when I need to.

Next time I put a new version of Linux on my workstation I'll know enough to do it the recommended way, which has the benefit of not having to reformat the whole hard drive. I could then leave the /home directory intact and just have Anaconda reformat / and /boot and install onto those two.

7.03.2008

Dressing The Man

A book titled Dressing the Man has been out since. The book illustrates through old and new photographs how to make a man look great for work or for formal occasions. I found reference to it at the Fedora Lounge, a website devote to men dressing well.

It says that "business casual" has come to mean sloppy dress code for work, and that we need to reverse that awful trend and get back to looking proper again.

Last month was my birthday. I already had a medium blue dress shirt with a yellow grid pattern I bought last year. I know that blue and purple are complimentary colours, so I searched out a purple tie.

Wow!

I haven't felt this good about choosing colours that go with one another to make an outfit since, uh, the mid-1980s, when Madonna's True Blue album was on the charts.

Earlier in June I bought myself a felt fedora hat. Never had a nicer hat before in my life, but way back in the 1980s I decided that by the time I turn 40 that I want something nicer than a baseball cap. This past Spring was very cold compared to previous ones, so it was not any different than wearing it in April.

But by the time the temperatures warmed up to the mid-20s Celcius I found it too hot if I was walking around in it for over 30 minutes outside. Someone told me that I should get a straw fedora. I'm totally new at this hat thing, but I thought a straw hat was like a "garden hat" for working outdoors. Not really. The Bay also had one of these for $25.