Fixed the dual-booting (PostgreSQL setup on Windows still unfinished...)


Something I should have backed up from the previous windows install: how the silly PostgreSQL services were installed. It's been so long since I've installed it that I'm going to have to track down the secret incantation all over again.

Luckily it turns out that there's a very simple GRUB incantation for booting Win2K off a second drive (hdb1) rather than the first:
title=Windows 2000
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
makeactive

Which swaps the first and second drives at the BIOS level so Windows thinks its booting off the first drive. Also switched root to rootnoverify, not sure if that had any effect, but it was what was recommended, and it makes sense that you don't want to force grub into loading the NTFS drive.

Tomorrow I'll figure out the PostgreSQL thing, it's already been a very long day (~14 hours of straight work (I ate as I was waiting for installations to finish)) and I'm not thinking particularly sharply at the moment.

Comments

  1. Chris Smith

    Chris Smith on 04/13/2005 7:52 a.m. #


    I run a dual-boot XP/Gentoo laptop.<br />
    Do you know of any dual-booting wikis? For example, I have an NTFS, FAT32, /, /boot, and swap partitions.<br />
    The FAT32 is d:\dmz or /mnt/dmz, depending on what's booted.<br />
    A folder in the dmz gets re-mounted as ~/smitty , my working account, and has all of my mail and such, for Gnus.<br />
    It's interesting, and I'd like to compare notes, but I don't feel technically deep enough to just publish some misinformation on osnews or freshmeat.

  2. Mike Fletcher

    Mike Fletcher on 04/14/2005 12:03 a.m. #


    Don't really know of any wikis/forums for discussing the issue, I got my information directly out of the GRUB documentation (a FAQ IIRC). I was doing a similar dual boot back before switching to Linux, keeping the Thunderbird and Firefox profiles on the Fat32 drive to let me switch back and forth. It worked, but it was a pain to set up...<br />
    <br />
    Maybe the Gentoo forums? Don't really know where would be a good place to hash it out in such a way that it would be convenient for users to find it once you're done.

Comments are closed.

Pingbacks

Pingbacks are closed.