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



Thanks for a quick reply.

Peter T. Breuer wrote:
> g.devries@xxxxxxxxxx wrote:
> > Now when I restart the computer, I get a screen where I can choose
> > between XP (default) and Linux. Booting XP gives no problem, but when I
> > choose Linux, the screen goes black for a second, and then returns to
> > the same "choose OS" screen. No matter how many times I try, even if I
>
> Fix the boot loader config - that menu entry is pointing to the mbr
> instead of to the linux kernel.

I tried to fix that, but I'm not sure I did it right.

My /boot partition is on /dev/hdc1, the / partition is on /dev/hdc2.
When I run the installer, it automatically sees Linux on /dev/hdc2, and
sets it as a default. That's fine. In the "advanced options" dialog, I
set the boot loader to be installed on the first sector of the boot
partition, rather than on the MBR. But this way, I can't boot.

I added a pointer to /dev/hdc1 to the boot loader config, and set that
as default -- still no luck.

> > I also tried booting from the Fedora CD in rescue mode, and using dd to
> > create a boot image (dd if=/dev/hdc1 of=linux.bin bs=512 count=1), but
>
> What for? Why are you copying the boot record of hdc1? Did you put one
> there? If so, why? How are you chaining to that boot record from the
> mbr on hda?

I'm afraid you lost me there.

Since I'm not at all knowledgeable on these issues, I have to go with
what info I find on the web. I followed the steps outlined at
http://enterprise.linux.com/article.pl?sid=05/02/16/1919205&tid=129&tid=49
(http://tinyurl.com/5hw5g):

"The next step in the process is to save a copy of the Linux boot
partition. This can be done either with dd in Linux or with the free
Bootpart utility under Windows. Either program simply takes the first
512 bytes on the disk and puts them into a file. The dd command to do
this is dd if=/dev/hdb1 of=bootsect.lnx size=512 count=1. Once you have
this file, copy it to a diskette or some other removable media so you
can then copy it to the Windows drive for NTLDR."

As to why I copy from hdc1, that's where the /boot partition is, as far
as I can tell from using the df command.

> You can make a small fat partition somewhere and put the file there and
> then copy it from windows.

I'll try that, sounds useful.

> And you really want to load a floppy or
> network driver!

I hope I'll be able to do that once I get the thing running...

> Tell us about your boot loader and its config.

I use GRUB (the default loader on the installation CD). As I said, it's
installed on the first sector of the boot partition, hdc1, and the
entry for "Fedora Core 2" points to hdc2, where my / is.

I guess I must be doing something completely wrong, but I can't figure
out what it is.

--
Garmt de Vries.

.



Relevant Pages

  • Re: Windows multiboot (aaargh!)
    ... >> The Linux boot floppy is a bit more tricky. ... So I tried adding cfdisk to a spare Debian Woody boot ... > I reduced all the partition sizes by a third. ...
    (Debian-User)
  • Re: Multiple questions...
    ... >in Windows Xp Home Edition. ... >boot into Linux and DOS. ... >installing 3 OS's on a single partition, or is there a simpler way... ...
    (microsoft.public.windowsxp.hardware)
  • Re: lilo not in MBR
    ... NS> I have the following disk configuration: ... On NTFS partition I have working Win XP system. ... NS> Linux Ext2. ... NS> active parititon from Win XP with PartitionMagic to Linux Ext2 partition, boot ...
    (comp.os.linux.misc)
  • Re: FW: FW: [SLE] Urgent! Need help!
    ... >> Device Boot Start End Blocks Id System ... >>As you told earlier, you should have only one Linux partition, so it ... >>You have found the partition you was looking for!. ... > title windows ...
    (SuSE)
  • Re: [SLE] grub refuses to grub
    ... > for Windows and 60 gig HD for Linux, a regular CDROM and a CDRW. ... > which distro I try to install and have install Grub, ... > where the actual boot sector is, and I gather, where the actual Grub ... whole HD as a single partition. ...
    (SuSE)