Just a place to put together some thoughts on Java, Technology and Other Stuff (tm) that interests me.

Wednesday, January 14, 2009

Two Telling Quotes..

"People tend to pay their mortgages. I don't think we are in any remote danger here. This focus on receivership, I think, is intended to create fears that aren't there." - Barney Frank (D), In a speech to the Mortgage Bankers Association

"While I favor improving oversight by our federal housing regulators to ensure safety and soundness, we cannot pass legislation that could limit Americans from owning homes and potentially harm our economy in the process." - Protesting against greater controls against lax mortgage lending, Sen. Harry Reid (D)

Tuesday, January 6, 2009

And we're running again, well maybe strolling or limping..

Here's an update to the situation.

I did have to rename some things in both grub.conf and /etc/fstab. Since I couldn't figure out how to get the MythDora 5 boot DVD to stop at the grub menu, I booted from a Ubunutu 6.06 LTS livecd and picked the option to boot from the 1st hard disk (I think that's what the menu item said) and it began to load MythDora from the new disk. It ran into some problems due to what I had excluded when I did the rsync copies though and somewhere there was a reference to the old LVM Volume Group name. So I rebooted to the Ubuntu livecd command prompt and used vgrename to change the name to the same one as the dead drive used. I again rebooted with the livecd and chose the option to boot from the hard disk. This time it got further into the boot process but there were still problems with missing directories (/var/run and /var/lock among others). I corrected as much of that as I could and restarted using the Ubuntu livecd. The system is now up and running with the new disk and should have recorded a show last night on the schedule. It's a good thing this was a down week for scheduled recordings.

So now I have a system that still won't boot on it's own. I'm guessing that the MBR is not what it should be since the drive will boot if I use a boot cd's grub to load it. The question is, how do I correct the MBR? On the chance that the copy of grub on the new hard disk was somehow damaged, I used yum to remove grub and reinstall it. I'm going to run another grub-install /dev/sda and see what that yields.

Well that didn't take long..

I awoke to a buzzing sound the other morning and discovered it was coming from inside the case of my newish master frontend/backed mythbox. Mythdora 5 is installed on it. It turned out to the bearing on my main 320G drive. I bought a replacement and got just about everything copied to the new 500G drive. I had both drives mounted and used the Mythdora 5 rescue mode with rsync to copy stuff across. I attempted to duplicate things as much as possible with respect to LVM2 setup, but of course I had to change the names a bit. (I used rootvg2 for the base volume group on the new drive and just made the storage partition an ext3 partition and mounted it directly.)

The problem is that Grub doesn't want to play along.

After the rsyncing was complete, I booted with into rescue mode and ran the chroot /mnt/sysimage command so that I could run grub-install. I had some trouble that seems to be related to the version of grub and it's reliance on /etc/mtab. I found an possible solution for that and finally got grub-install /dev/sda to run without error. The problem is that when I boot, the computer goes through the normal post sequence and just displays:

GRUB

And never goes into the boot sequence for Fedora.

Now I need to figure out how to get this machine back in operation without losing everying and re-installing. Although maybe it comes down to that?