Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: Eric Moors <scare.crow@xxxxxxx>
- Date: Thu, 15 Dec 2005 11:46:39 +0100
>> 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
.
- Follow-Ups:
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: Garmt de Vries
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- References:
- Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: g . devries
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: Peter T. Breuer
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: g . devries
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: Peter T. Breuer
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: g . devries
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: Eric Moors
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: g . devries
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: Peter T. Breuer
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: g . devries
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: Peter T. Breuer
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: g . devries
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: Enrique Perez-Terron
- Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- From: g . devries
- Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- Prev by Date: Re: setting up a file server
- Next by Date: RAID0 setup on FC3 (effect of IDE controllers and how to maximize throughput)
- Previous by thread: Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- Next by thread: Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- Index(es):
Relevant Pages
|