New Posts  All Forums:Forum Nav:

GRUB strangeness.

post #1 of 2
Thread Starter 
Setup
5690:
proc 3.06
Mem 512M
Disk: 1x 100G 1X40G 1x cd/dvd
output from fdisk -l
PHP Code:
Disk /dev/hda: 100.0 GB, 100030242816 bytes 255 heads, 63 sectors/track, 12161 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 8336 66958888+ 7 HPFS/NTFS /dev/hda2 8337 12161 30724312+ f W95 Ext'd (LBA) /dev/hda5 8337 10886 20482843+ b W95 FAT32 /dev/hda6 10887 12161 10241406 b W95 FAT32 Disk /dev/hdd: 40.0 GB, 40007761920 bytes 16 heads, 63 sectors/track, 77520 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hdd1 * 1 50 25168+ 83 Linux /dev/hdd2 51 1043 500472 83 Linux /dev/hdd3 1044 77520 38544408 83 Linux
currently working setup:
my grub.conf
PHP Code:
default 1 timeout 10 splashimage=(hd1,0)/grub/splash.xpm.gz title=Gentoo 2.6.11-r6 root (hd1,0) kernel (hd1,0)/kernel-2.6.11-gentoo-r6 root=/dev/hdd3 title=WinXP rootnoverify (hd0,0) makeactive chainloader +1
Grub is currently installed to (hd0)
my boot.ini
PHP Code:
[boot loader] timeout=0 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
Here's the previous nonworking one.

PHP Code:
[boot loader] timeout=5 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn c:\gentoo.bin="Gentoo"
There's no real issue with this as it works as expected.
With GRUB installed to (hd1) using NTloader I get a black screen with GRUB followed by a space and a blinking cursor. It won't accept input from the key board alteast it doesn't act like it does. It will eventualy start beeping if i repeatedly hit e to try and get a GRUB prompt. I have done the dd trick and copied it over to root of hda1 leaving the NT loader in command that in turn calls GRUB that's when I get the oddness.
Just to make things more interresting is if I pull hda and put hdd in it's place it boots flawlessly. I've tried to install GRUB to (hd1) and (hd1,0). Same issue. If I left anything out which I'm sure I did just ask and I'll post it up. OH yeah I have tried three boot sector images, the original formerly working one, a new one with GRUB installed to (hd1) and one with GRUB installed to (hd1,0) all added to my boot.ini
Bill
post #2 of 2
Thread Starter 
More wierdness to report. I decided to work on this this weekend. So at work today booted to my XP cd and went to recovery console and fixboot then fixmbr. Edited my boot.ini again, as I had left my gentoo.bin boot sector image in the root of C and rebooted. Guess what, it now works flawlessly using NT's boot loader. So I rebooted several times and it's worked as I want it to do. So I edited my grub.conf to remove the windows option and all is well.
I have in the interim upgraded GRUB once or twice just doing emerge sync, emerge world -u -d. Oh well I'm not going to fight it.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's