LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-18-2003, 11:28 PM   #1
bewildered
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Question dualboot win2k w/ntfs & fedora w/grub?


Before I upgraded to Fedora, my Win2k/RH9 2 hard drive system dual booted using the NTLOADER's boot.ini on the NTFS ( hda1) drive. RH9 used LILO on hdc1 so I was able to do

# /bin/dd if=/boot of=/bootsec.lnx bs=512 count=1

then copied bootsec.lnx over to my NTFS directory that contained boot.ini and put in the linux line

C:\bootsect.lnx="Linux"

and the dual boot worked just as it was supposed to.

During the upgrade to Fedora core 1, when asked if I wanted to change my existing bootloader, I accepted. But instead of changing LILO, the upgrade put in Grub which is all very nice, but now my dual boot doesn't work. I suppose I could install LILO, but is there a way using the NTLOADER to start up Grub in the same way that LILO was being started?

Thanks,
 
Old 12-19-2003, 09:57 AM   #2
usernamenumber
Member
 
Registered: Sep 2003
Location: Somerville, MA
Distribution: Fedora/RHEL currently. Red Hat, Slackware, Debian, SuSe and Mandrake at other times
Posts: 104

Rep: Reputation: 15
In what way, exactly is your dual-boot broken? Does it load GRUB first, which fails to load Windows or does ntldr load first but then pass off to a broken GRUB config?

Your solution will be different depending on what the symptoms are. One thing occurs to me, though: It's been a while since I used ntldr to boot Linux, but are you sure you're supposed to use /boot as your if and not /dev/hdX (whichever drive has grub in its MBR)?

See, the idea is for ntldr to be able to hand off to a third-party bootloader and basically make the second bootloader behave as though it's just been loaded from the bios. The bios loads the stage-1 bootloader from your disk's master boot record (MBR). So if you create a copy of your Linux disk's MBR, ntldr can propperly load the Linux bootloader. The /boot partition just contains the stage-2 bootloader files and the kernel stuff. It doesn't even enter the picture until the first part of GRUB has been loaded, though.

...that's the way I think I remember it working, at least. And a quick google appears to agree.

Last edited by usernamenumber; 12-19-2003 at 09:58 AM.
 
Old 12-19-2003, 10:33 AM   #3
bewildered
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Tnx for the reply,

"how is dual-boot broken"

Win2k is the original OS; ntloader is the default loader and continues to give me the two options of Win2k and Linux. What no longer works to the Linux choice which fires up c:\bootsec.lnx, the file that I created using the dd command.

When I select "Linux", the characters LINX- appear at the top left corner of an otherwise black screen and then nothing happens. But I was surprized to find that my keyboard is not frozen; I am able to do a Ctl-Alt-Del and re-boot.



"/boot as your if and not /dev/hdX"

I've tried both in the dd statement, but neither have worked.


"stage-1 bootloader from your disk's master boot record (MBR)"

I'm sure this is the problem. I was able to grab it for LILO using the dd, but I'm obviously not for grub. As near as I can remember, I've treated both exactly the same - during installation and then, with the dd - but I'm missing something.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[again...] GRUB problem on a Fedora Core 2/Win2k system Ghost Line Linux - Newbie 3 09-12-2004 11:25 AM
Fedora + Win2k Dual Boot ( using GRUB) peregrin Fedora - Installation 1 02-11-2004 07:54 AM
How can i play media files off of my Win2k NTFS Hard drrive from Fedora calmlikeabomb Fedora 8 01-27-2004 04:18 AM
How do I DualBoot with Fedora C1 & RH9 ckmehta Fedora - Installation 3 01-25-2004 10:25 AM
lost access to win2k thru lilo &/or grub dwaynehoover Linux - Newbie 5 01-09-2004 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration