Geeze, this is like a massive cleaning day :

  • Went shopping
  • Walked the dogs (as promised)
  • Washed the dogs — if their looks could kill!
  • Cleaned the newts tank
  • Field stripped Dixie and cleaned a few lbs of dog hair out of the keyboard
  • Straighted that leaning tower of junk in the corner
  • Took a cool shower
  • Shaved, for once before hitting a proper beard…
  • Covered the car
  • And finally got to sit down, around 1930Q hehe

I’ve gotten almost no coding done, but it’s still been quite the productive day!

I need to finish one program, build two more, build a mockup for a site, and I also want to work on another little app of my own… I call it ‘nag’, a note taking application to furfil the obvious purposes lool.

HOWTO boot FreeBSD, Linux, and Windows XP with GAG, GRUB, LILO, and BootEasy

Abstract

This posting endeavours to allow users to successfully boot the following Operating systems: Windows XP, most GNU/Linux distro, and FreeBSD/PC-BSD; using the following boot loaders: GAG, GRUB, LILO, PC-BSD (aka BootEasy). The target audience are PC-BSD users coming from Linux.

There will be several references provided at the end of the posting.

Using the Graphical Boot Manager, GAG

Simply boot off the install media and follow the on screen instructions.

Note well that must install a boot loader such as LILO or GRUB in a Linux / partition in order to boot Linux from GAG, like most other abstract boot loaders.

Using GNU GRUB

In order to boot PC-BSD from GRUB, you must tell GRUB which drive, slice, and
partition to load from; usign GRUBs own notation
syntax
.

The systems kernel is stored on disk as /boot/kernel/kernel and it’s Loadable Kernel Module (LKM) drivers are stored in the same directory; with a .ko suffix. Although it is possible to load the kernel directly, it is better to load stage three instead, which gives you an easier interface to loading the desired kernel.

You will have to edit the GRUBs configuration file. The name and location of GRUBs configuration varies based on your Operating System. Under Debian (and thus Ubuntu), OpenSUSE, and FreeBSD based systems, you will find it as /boot/grub/menu.lst. On Fedora/Red Hat Linux and Gentoo based systems you will find it in /boot/grub/grub.conf. Many distros may provide a symbolic link to /etc/grub.conf, please refer to your operating systems documentation if you can not find the file.

Open it as root and edit it accordingly with the settings for your system. This example is is meant for triple booting Windows XP, GNU/Linux, and PC-BSD, where they are installed in that order, into primary partitions.

title WindowsXP
root (hd0,0)
makeactive
chainloader --force +1
boot

title Foo Linux
root (hd0,1)
kernel /boot/vmlinuz

title PC-BSD
root (hd0,2,a)
kernel /boot/loader

By default, if the slice number is omitted, GRUB searches the first slice which has a partition. I have however specified the slice number in this example.

If your distro has already configured Windows and Linux in menu.lst/grub.conf,
you should probably leave it as is; appending the PC-BSD entry to the
configuration. The location and file name of the linux kernel can vary a bit,
/boot/vmlinuz, /vmlinuz, and /boot/vmlinuz-x.y.z should be common, but my grasp
of Linux kernels dates to Linux 2.2, not modern 2.6 — as always check your
operating systems documentation when necessary! initrd users please see the grub
manuls notes on
linux
.

Using LILO

For those whom still prefer the LInux LOader, you can still use it for booting PC-BSD: edit /etc/lilo.conf accordingly:

# cp /etc/lilo.conf /root/lilo.conf.old
# vi /etc/lilo.conf
# /sbin/lilo

I will leave the top matter in lilo.conf as an exercise to the reader (if you use LILO, you should know this); so working off the GRUB example, the /etc/lilo.conf file should look like:

other=/dev/hda1
label=WinXP
table=/dev/hda

image=/boot/vmlinuz
label=FooLinux
root=/dev/hda2
table=/dev/hda

other=/dev/hda2
label=PCBSD
root=/dev/hda3
table=/dev/hda

NB that initrd users will want to add a initrd=/path/to/your/initrd/img rule to
the FooLinux image specs.

Users with multiple hard drives, please refer to the FreeBSD
FAQ
for details.

Using the PC-BSD Boot Loader

The header is actually miss leading, as this is really just the boot loader used by FreeBSD, a.k.a. Boot Easy or /boot/boot0. Hence forth called BootEasy.

To boot your operating systems with BootEasy, once is installed – just reboot the PC. Following the previous examples, you would see a prompt like this:

F1: DOS
F2: Linux
F3: FreeBSD

Press F1 on the keyboard to load Windows XP, F2 to chainload FooLinux, or F3 to load PC-BSD.

Note well that you must have a suitable boot loader installed into the linux / partition in order to boot linux from BootEasy.

The FreeBSD FAQ specifically recommends to install
LILO into the Linux /
, although GRUB should work fine when installed into Linuxes /

References

Post script:

If you have a problem with my spelling, grammar, or punctuation: you can pay my family to go on a shopping spree and leave me free to type slower then I can physically move my fingers across the keys.

Disclaimer

The information provided here is done for your convenience at the authors expanse, it however is without any form of warranty or guarantee of fittness — use at yur own risk, I’m not responsible.

Well, never made it to the PS2, but made it t dinner and a good nap xD

Tomorrow I need to clean the newts tank, work n deploying the next site mock up for Rouge, and finish more of todays work. It shouldn’t take to long to have this site mock up ready, so I’ll probably be working on my own stuff son, which reminds me; I wanted to make a quick back-scratcher for taking notes.

The personal project I’m working on, calls for a domain specific language; so I need to start writing the specification for it. Luckily the output is in a language I know well. All in all, it should be about as complex, as implementing a bc that compiles to dc, which is a lot simpler then implementing bc in C, lol.

Hmm, in a quick look to see what the current version of Pidgin was; I found this psting in the news page: Why I Hate “Modern” IM

This reminds me of why I stopped using the official AIM client from AOL, they turned it into a massive pile of horse-shit lol. MSN Messenger which was my first IM-technology, I gave up on Microsofts clients around 7.something. XFire is a balance between “acceptable” and “Good”, but still lacks a lot of the more, ehh… “I use this thing all day” kind of bonuses.

In my experience, all instant messengering clients are piles of garbage, taped together with a pretty face. Pidgin is just a bit more bearable then most; I use pidgin daily on Windows XP and FreeBSD, ranging from AIM to XMPP support. It sucks plenty, but it sucks less then Kopete, and it’s more portable then any other such app I’ve met :. And it’s still better then any IM client I’ve used. The only decent clients I’ve used, the very minimalist GoogleTalk client, the version of AIM that was out when I was a Potentional Recruit for [SAS], Pidgin, and Kopete, but all leave much to be desired… But they still beat the ever loving, flying, freaking heck, out of the last version of AIM I downloaded from AOL looool.

Now if only there was that perfect IM client….

If such a thing were even possible

Damn the torpedos, full speed ahead!

Time for a rest, I can’t go no more with out hitting the mental afterburners.

I’ve kicked out most of the code base for this program, and filed todos for things that are just to rough to implement immediately. And I have the necessary springboards to finish up what remains. All in all, the past 2 runs of coding, has been more productive for this project, then since the last project meeting; and that only consisted of an overview on the flow-charts! lol.

I think I’m going to hit daemonforums.org, then power down and hit the PS2 before dinner. Find a game to play, that reminds me of this.

Hole in Adobe software allows free movie downloads

This reminds me, the Flash v7 plugin for Linux, stores it’s files in a common format until the plugin exits; that can be easily played in with mplayer /tmp/plugintmp-

That reminds me, I’ve still need to write a cronjob to nuke the temp files, since one of the music streams I use, is flash based, and /tmp is nly ~512mb lol.

Run sleepy, run forever

Sigh… Thanks to interruptions, I ain’t got as much done as I desired… Still, it is about 3 or 4 * the amount of work I’ve gotten done in the past few months lol.

almost 0530Q, I could keep on coding until around 0700, but my stomach is to damn hungry… and I keep typing hhhhh every time I need to move my cursor to fix a typo. I need to find a quick snack, and hit the hay. And resume coding tomorrow, when I can still pay attention without /having/ to look up things in the flowcharts.

Sleep… food…. sleep… sleep

h = vi movement key for moving the cursor to the left one space

After a massive interruption, I managed to catch the end of the War of the Roses. Now that, is what I would call, the divorce from hell lol. The movie is funny, but it’s not pretty.

The whole thing goes to pot, when the husband thinks he’s having a heartattack and is rushed to the hospital. The wife is feels ‘happy’ at the thought of being free of him; never mind the sweet deathbed note he wrote, thinking he was dying lol. Which in turn leads to the divorce, both want the house and won’t give it up… To the point, that they’ve worked on a system for dividing the house between them, in the words of the lawyer, “Does this seem rational to you both?”, “I have more square footage >_>”.

She denies him pills, he runs over her cat trying to drive to the store. She locks him in the sauna, he ‘snots’ the soup at her dinner party and pisses on the fish course (lmao!). She runs him over, monster-trucking over his Morgan with her big-ass SUV. Attempts to patch it up fail, ending with a waging war across the house (and a couple $100,000 in damage)… Including her trying to drop the chandelier on him, him trying to rape her turning into a more ‘natural’ moment, until she tries to bite his dick off loool (stupid bastard, should’ve seen it coming!). And more destruction of property, until finally they both end up sitting in the chandelier, as friends come to the rescue……

The cables holding the chandelier up, give way, since she loosed the cable, and they both fall to their death before help arrives.

If I ever get married, remind me to never get divorced!

Coding like a drunken spider-monkey

Finally home from work, with (hopefully) a three day weekend free — TGIF !!!

The plan of attack is to take these days off regualr ps, and go ape on my task list. Because if I don’t, I’m never going to get to work on homework lol.

  1. Operation BlackWidow: An overdue project that a few of us at forums.pcbsd.org have planned
  2. Operation Rooster: Finish the site mock ups for Rouge
  3. .

  4. Operation CleanSweep: Tidy ${HOME}, add more stuff to CVS as needed, revise my SOE scripts, and deploy necessary code in the right places
  5. .

I’ve always found it easier to name a project, then have to stop and think, The “uh X,Y, to the Z, and whatever” thing; both in mind and notation!

I’ll be posting my absence message on SAS shortly, along with my cntact data. My primary goal, is to work on my own projects and standing SAS-projects. I really need to keep my head out of the servers, and on what I’m doing… So it’s best if I essentially, lock myself in front of the laptop for the weekend lol. I figure, get the work done, get the stuff that’s building up done, maybe watch a bit of TV for a change (when my head needs a rest).

This is as close to a vacation as I’m going to get, and it’s a coding vacation lol.