Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work



>> But your *original* setup of grub got hosed because the devices.map
>> file was wrong. Once the devices.map is right, just run the command
>>
>> grub-install /dev/hdc1
>
> Thanks. To recap:
>
> * The HD with Windows on it is definitely hde, since I can access the
> FAT partition on that disk at /dev/hde6.
> * The HD with Linux on it is definitely hdc, as I can see with mount or
> df.
> * The BIOS boots from the Win HD.
> * As grub numbers HDs in boot order, the Win HD is (hd0) and the Linux
> HD is (hd1).
> * Hence, (hd0) should be hde, and (hd1) should be hdc.
> * The original installation of grub, as performed by anaconda, the
> Fedora Core installer, gets it wrong. In the device.map file created by
> anaconda, (hd0) is mapped to hdc, and (hd1) is mapped to hde.
> * As per the grub documentation, as well as your post, I changed
> device.map:
> (fd0) /dev/fd0
> (hd0) /dev/hde
> (hd1) /dev/hdc
> * grub is installed on the /root partition, which is the first
> partition on hdc: hdc1, or (hd1,0) in grub notation.

I suppose you mean /boot instead of /root here.
But this might be where it goes wrong

> * I make sure that in grub.conf, I use the correct references. Also, I
> get rid of the LABEL:
> title Fedora Core
> root (hd1,0)
> kernel /vmlinuz-2.6.5-1.358 ro root=/dev/hdc2
> initrd /initrd-2.6.5-1.358.img
> title Windows XP
> rootnoverify (hd0,0)
> chainloader +1
> * I run "grub-install /dev/hdc1".

AFAICT from the grub-install documentation this should put the proper files
on your /boot partition. Could you check that the grub loaders are updated
properly ( probably /boot/grub/* )

> * I copy the boot record to a file: "dd if=/dev/hdc1 of=linuxboot.bin
> bs=512 count=1".
> * I boot to XP, put this linuxboot.bin on C: and add the line
> "C:\linuxboot.bin="Linux" to boot.ini.
>
> Now when I boot the machine, and choose "Linux", I get a black screen
> with the word "GRUB" in the upper left corner, followed by a blinking
> cursor. Nothing else happens...

Great. And this is exactly why I still prefer lilo.
It either complains during install or it just works :-)

Eric
.



Relevant Pages

  • fixing grub : mbr fix when windows install after linux
    ... "There is not a boot manager screen at all, ... windows but GRUB boot window does not appear. ... "I forgot to install GRUB, I didn't install GRUB in the MBR, I chose ... Fedora but that was not an active primary partition". ...
    (comp.os.linux.misc)
  • Re: XP reinstallation woes on Multiboot system
    ... original installation a breeze.Was I ever wrong! ... I mean the moment the yellow progress bar in Setup is Copying Files ... You need to be *very* quick to catch it, if you want to Boot into any ... & what Partition are you choosing to do the Install onto? ...
    (uk.people.silversurfers)
  • Re: microsoft xp unable to log on
    ... separate partition and try copying your data from your current setup to the ... Assuming your system is set to boot from the CD-ROM drive, ... To Repair a Windows XP Installation using Recovery Console press R. ... can delete, create and format partitions. ...
    (microsoft.public.windowsxp.accessibility)
  • Re: Partition Issue
    ... question is how to combine hdb into a single partition. ... I use 16 GB for 10.0 installation, and 5 GB is still free, and there is a ... Than you have boot loader grub that has it's own pointers listed ...
    (alt.os.linux.suse)
  • Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesnt work
    ... grub is installed on the /root partition, which is the first partition on hdc: hdc1, or in grub notation. ... Stage1 is the unpatched 512-byte file, that is patched and copied to the boot record during setup. ... This byte is initialized to 0xff in the stage1 file, but patched to 0x81 in your setup, to say "we are booting from disk." ...
    (comp.os.linux.setup)